SEC Info  
    Home      Search      My Interests      Help      Sign In      Please Sign In

Rli Corp – ‘10-K’ for 12/31/18 – ‘EX-101.LAB’

On:  Friday, 2/22/19, at 1:59pm ET   ·   For:  12/31/18   ·   Accession #:  84246-19-13   ·   File #:  1-09463

Previous ‘10-K’:  ‘10-K’ on 2/23/18 for 12/31/17   ·   Next:  ‘10-K’ on 2/21/20 for 12/31/19   ·   Latest:  ‘10-K’ on 2/23/24 for 12/31/23

Find Words in Filings emoji
 
  in    Show  and   Hints

  As Of               Filer                 Filing    For·On·As Docs:Size

 2/22/19  Rli Corp                          10-K       12/31/18   98:37M

Annual Report   —   Form 10-K   —   Sect. 13 / 15(d) – SEA’34
Filing Table of Contents

Document/Exhibit                   Description                      Pages   Size 

 1: 10-K        Annual Report                                       HTML   3.26M 
 2: EX-21.1     Subsidiaries List                                   HTML     39K 
 3: EX-23.1     Consent of Experts or Counsel                       HTML     29K 
 4: EX-31.1     Certification -- §302 - SOA'02                      HTML     34K 
 5: EX-31.2     Certification -- §302 - SOA'02                      HTML     34K 
 6: EX-32.1     Certification -- §906 - SOA'02                      HTML     30K 
 7: EX-32.2     Certification -- §906 - SOA'02                      HTML     30K 
14: R1          Document and Entity Information                     HTML     62K 
15: R2          Consolidated Balance Sheets                         HTML    127K 
16: R3          Consolidated Balance Sheets (Parenthetical)         HTML     52K 
17: R4          Consolidated Statements of Earnings and             HTML    119K 
                Comprehensive Earnings                                           
18: R5          Consolidated Statements of Shareholders' Equity     HTML     74K 
19: R6          Consolidated Statements of Shareholders' Equity     HTML     33K 
                (Parenthetical)                                                  
20: R7          Consolidated Statements of Cash Flows               HTML    154K 
21: R8          Summary of Significant Accounting Policies          HTML    355K 
22: R9          Investments                                         HTML    816K 
23: R10         Policy Acquisition Costs                            HTML     91K 
24: R11         Debt                                                HTML     34K 
25: R12         Reinsurance                                         HTML    201K 
26: R13         Historical Loss and Lae Development                 HTML   2.01M 
27: R14         Income Taxes                                        HTML    175K 
28: R15         Employee Benefits                                   HTML    218K 
29: R16         Statutory Information and Dividend Restrictions     HTML     52K 
30: R17         Commitments and Contingent Liabilities              HTML     51K 
31: R18         Operating Segment Information                       HTML    303K 
32: R19         Unaudited Interim Financial Information             HTML    143K 
33: R20         Schedule I-Summary of Investments-Other Than        HTML    125K 
                Investments in Related Parties                                   
34: R21         Schedule Ii-Condensed Financial Information of      HTML    340K 
                Registrant (Parent Company)                                      
35: R22         Schedule Iii-Supplementary Insurance Information    HTML    311K 
36: R23         Schedule Iv-Reinsurance                             HTML    175K 
37: R24         Schedule V-Valuation and Qualifying Accounts        HTML     72K 
38: R25         Schedule Vi-Supplementary Information Concerning    HTML    115K 
                Property-Casualty Insurance Operations                           
39: R26         Summary of Significant Accounting Policies          HTML    412K 
                (Policies)                                                       
40: R27         Summary of Significant Accounting Policies          HTML    254K 
                (Tables)                                                         
41: R28         Investments (Tables)                                HTML    807K 
42: R29         Policy Acquisition Costs (Tables)                   HTML     91K 
43: R30         Reinsurance (Tables)                                HTML    195K 
44: R31         Historical Loss and Lae Development (Tables)        HTML   2.00M 
45: R32         Income Taxes (Tables)                               HTML    168K 
46: R33         Employee Benefits (Tables)                          HTML    199K 
47: R34         Statutory Information and Dividend Restrictions     HTML     43K 
                (Tables)                                                         
48: R35         Commitments and Contingent Liabilities (Tables)     HTML     44K 
49: R36         Operating Segment Information (Tables)              HTML    300K 
50: R37         Unaudited Interim Financial Information (Tables)    HTML    142K 
51: R38         SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES -        HTML     46K 
                Description of Business (Details)                                
52: R39         SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES -        HTML     81K 
                Accounting Standards (Details)                                   
53: R40         SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES -        HTML     36K 
                Property and Equipment (Details)                                 
54: R41         SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES -        HTML     98K 
                Investment in Unconsolidated Investees (Details)                 
55: R42         SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES -        HTML     77K 
                Intangible Assets (Details)                                      
56: R43         SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES -        HTML     69K 
                Earnings Per Share (Details)                                     
57: R44         SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES -        HTML     95K 
                Changes in Accumulated Other Comprehensive                       
                Earnings (Details)                                               
58: R45         SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES -        HTML     31K 
                Insurance Risk (Details)                                         
59: R46         SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES -        HTML     38K 
                Catastrophe Exposures (Details)                                  
60: R47         INVESTMENTS - Net Investment Income (Details)       HTML     48K 
61: R48         INVESTMENTS - Realized and Unrealized Gains         HTML     64K 
                (Details)                                                        
62: R49         INVESTMENTS - Disposition of Fixed Securities and   HTML     51K 
                Equities (Details)                                               
63: R50         INVESTMENTS - Assets Measured At Fair Value         HTML     84K 
                (Details)                                                        
64: R51         INVESTMENTS - Fixed Income Securities By            HTML     63K 
                Contractual Maturity (Details)                                   
65: R52         INVESTMENTS - Investments In Fixed Income           HTML     82K 
                Securities (Details)                                             
66: R53         INVESTMENTS - Types of Debt and Equity Securities   HTML     96K 
                (Details)                                                        
67: R54         INVESTMENTS - Portfolio Analysis (Details)          HTML     40K 
68: R55         INVESTMENTS - Other Invested Assets (Details)       HTML     50K 
69: R56         Policy Acquisition Costs (Details)                  HTML     55K 
70: R57         Debt (Details)                                      HTML     62K 
71: R58         REINSURANCE - Summary of Premiums and Losses        HTML     75K 
                (Details)                                                        
72: R59         REINSURANCE - Summary of Reinsurers (Details)       HTML    113K 
73: R60         HISTORICAL LOSS AND LAE DEVELOPMENT - Unpaid        HTML     72K 
                Losses and Settlement Expenses (Details)                         
74: R61         HISTORICAL LOSS AND LAE DEVELOPMENT - Incurred      HTML    336K 
                Losses and Loss Adjustment Expenses, Net of                      
                Reinsurance (Details)                                            
75: R62         HISTORICAL LOSS AND LAE DEVELOPMENT - Cumulative    HTML     83K 
                Paid Loss and Loss Adjustment Expenses, Net of                   
                Reinsurance (Details)                                            
76: R63         HISTORICAL LOSS AND LAE DEVELOPMENT -               HTML     72K 
                Reconciliation of Incurred and Paid Loss                         
                Development to the Liability for Unpaid Losses and               
                Settlement Expenses (Details)                                    
77: R64         HISTORICAL LOSS AND LAE DEVELOPMENT - Reserve       HTML     83K 
                Development (Details)                                            
78: R65         HISTORICAL LOSS AND LAE DEVELOPMENT -               HTML     51K 
                Environmental, Asbestos and Mass Tort Exposures                  
                (Details)                                                        
79: R66         Income Taxes (Details)                              HTML    152K 
80: R67         EMPLOYEE BENEFITS - Stock Ownership and Incentive   HTML     57K 
                Plans (Details)                                                  
81: R68         EMPLOYEE BENEFITS - Stock Options and Stock Plans   HTML    159K 
                (Details)                                                        
82: R69         Statutory Information and Dividend Restrictions     HTML     62K 
                (Details)                                                        
83: R70         Commitments and Contingent Liabilities (Details)    HTML     67K 
84: R71         OPERATING SEGMENT INFORMATION - Summary of          HTML    115K 
                Segments (Details)                                               
85: R72         OPERATING SEGMENT INFORMATION - Revenue by Product  HTML     92K 
                (Details)                                                        
86: R73         Unaudited Interim Financial Information (Details)   HTML     63K 
87: R74         Schedule I-Summary of Investments-Other Than        HTML     74K 
                Investments in Related Parties (Details)                         
88: R75         Schedule Ii-Condensed Financial Information of      HTML    124K 
                Registrant (PARENT COMPANY) - Balance Sheets                     
                (Details)                                                        
89: R76         Schedule Ii-Condensed Financial Information of      HTML     50K 
                Registrant (PARENT COMPANY) - Balance Sheets                     
                Information (Details)                                            
90: R77         Schedule Ii-Condensed Financial Information of      HTML     99K 
                Registrant (PARENT COMPANY) - Statements of                      
                Earnings and Comprehensive Earnings (Details)                    
91: R78         Schedule Ii-Condensed Financial Information of      HTML    146K 
                Registrant (PARENT COMPANY) - Statements of Cash                 
                Flows (Details)                                                  
92: R79         Schedule Iii-Supplementary Insurance Information    HTML     70K 
                (Details)                                                        
93: R80         Schedule Iv-Reinsurance (Details)                   HTML     65K 
94: R81         Schedule V-Valuation and Qualifying Accounts        HTML     36K 
                (Details)                                                        
95: R82         Schedule Vi-Supplementary Information Concerning    HTML     58K 
                Property-Casualty Insurance Operations (Details)                 
97: XML         IDEA XML File -- Filing Summary                      XML    181K 
96: EXCEL       IDEA Workbook of Financial Reports                  XLSX    173K 
 8: EX-101.INS  XBRL Instance -- rli-20181231                        XML  13.18M 
10: EX-101.CAL  XBRL Calculations -- rli-20181231_cal                XML    378K 
11: EX-101.DEF  XBRL Definitions -- rli-20181231_def                 XML   1.06M 
12: EX-101.LAB  XBRL Labels -- rli-20181231_lab                      XML   2.22M 
13: EX-101.PRE  XBRL Presentations -- rli-20181231_pre               XML   1.65M 
 9: EX-101.SCH  XBRL Schema -- rli-20181231                          XSD    260K 
98: ZIP         XBRL Zipped Folder -- 0000084246-19-000013-xbrl      Zip    483K 


‘EX-101.LAB’   —   XBRL Labels — rli-20181231_lab


This Exhibit is an XBRL XML File.


                                                                                                                                                                                
<?xml version="1.0" encoding="windows-1252"?>
<!-- XBRL document created with Merrill Bridge 9.0.0.120 -->
<!-- Based on XBRL 2.1 -->
<!-- Created on: 2/22/2019 12:41:42 PM -->
<!-- Modified on: 2/22/2019 12:41:42 PM -->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedPeriodEndLabel" roleURI="http://www.xbrl.org/2009/role/negatedPeriodEndLabel" xmlns="http://www.xbrl.org/2003/linkbase"/>
<roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedPeriodStartLabel" roleURI="http://www.xbrl.org/2009/role/negatedPeriodStartLabel" xmlns="http://www.xbrl.org/2003/linkbase"/>
<roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedLabel" roleURI="http://www.xbrl.org/2009/role/negatedLabel" xmlns="http://www.xbrl.org/2003/linkbase"/>
<roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTerseLabel" roleURI="http://www.xbrl.org/2009/role/negatedTerseLabel" xmlns="http://www.xbrl.org/2003/linkbase"/>
<roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTotalLabel" roleURI="http://www.xbrl.org/2009/role/negatedTotalLabel" xmlns="http://www.xbrl.org/2003/linkbase"/>
<link:labelLink xlink:type="extended" xlink:role="http://www.xbrl.org/2003/role/link">
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DocumentAndEntityInformationAbstract" xlink:label="rli_DocumentAndEntityInformationAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DocumentAndEntityInformationAbstract" xlink:to="rli_DocumentAndEntityInformationAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DocumentAndEntityInformationAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Document and Entity Information </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Statement [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Statement [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StatementLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Earnings Per Share </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityRegistrantName" xlink:label="dei_EntityRegistrantName" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityRegistrantName" xlink:to="dei_EntityRegistrantName_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityRegistrantName_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Entity Registrant Name </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityCentralIndexKey" xlink:label="dei_EntityCentralIndexKey" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCentralIndexKey" xlink:to="dei_EntityCentralIndexKey_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityCentralIndexKey_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Entity Central Index Key </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_DocumentType" xlink:label="dei_DocumentType" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentType" xlink:to="dei_DocumentType_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentType_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Document Type </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_DocumentPeriodEndDate" xlink:label="dei_DocumentPeriodEndDate" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentPeriodEndDate" xlink:to="dei_DocumentPeriodEndDate_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentPeriodEndDate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Document Period End Date </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_AmendmentFlag" xlink:label="dei_AmendmentFlag" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_AmendmentFlag" xlink:to="dei_AmendmentFlag_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_AmendmentFlag_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amendment Flag </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_CurrentFiscalYearEndDate" xlink:label="dei_CurrentFiscalYearEndDate" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_CurrentFiscalYearEndDate" xlink:to="dei_CurrentFiscalYearEndDate_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_CurrentFiscalYearEndDate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Current Fiscal Year End Date </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityWellKnownSeasonedIssuer" xlink:label="dei_EntityWellKnownSeasonedIssuer" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityWellKnownSeasonedIssuer" xlink:to="dei_EntityWellKnownSeasonedIssuer_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityWellKnownSeasonedIssuer_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Entity Well-known Seasoned Issuer </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityVoluntaryFilers" xlink:label="dei_EntityVoluntaryFilers" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityVoluntaryFilers" xlink:to="dei_EntityVoluntaryFilers_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityVoluntaryFilers_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Entity Voluntary Filers </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityCurrentReportingStatus" xlink:label="dei_EntityCurrentReportingStatus" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCurrentReportingStatus" xlink:to="dei_EntityCurrentReportingStatus_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityCurrentReportingStatus_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Entity Current Reporting Status </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityFilerCategory" xlink:label="dei_EntityFilerCategory" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityFilerCategory" xlink:to="dei_EntityFilerCategory_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityFilerCategory_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Entity Filer Category </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntitySmallBusiness" xlink:label="dei_EntitySmallBusiness" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntitySmallBusiness" xlink:to="dei_EntitySmallBusiness_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntitySmallBusiness_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Entity Small Business </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityEmergingGrowthCompany" xlink:label="dei_EntityEmergingGrowthCompany" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityEmergingGrowthCompany" xlink:to="dei_EntityEmergingGrowthCompany_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityEmergingGrowthCompany_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Entity Emerging Growth Company </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityShellCompany" xlink:label="dei_EntityShellCompany" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityShellCompany" xlink:to="dei_EntityShellCompany_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityShellCompany_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Entity Shell Company </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityPublicFloat" xlink:label="dei_EntityPublicFloat" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityPublicFloat" xlink:to="dei_EntityPublicFloat_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityPublicFloat_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Entity Public Float </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="dei_EntityCommonStockSharesOutstanding" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCommonStockSharesOutstanding" xlink:to="dei_EntityCommonStockSharesOutstanding_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityCommonStockSharesOutstanding_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Entity Common Stock, Shares Outstanding </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_DocumentFiscalYearFocus" xlink:label="dei_DocumentFiscalYearFocus" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalYearFocus" xlink:to="dei_DocumentFiscalYearFocus_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentFiscalYearFocus_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Document Fiscal Year Focus </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="dei_DocumentFiscalPeriodFocus" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalPeriodFocus" xlink:to="dei_DocumentFiscalPeriodFocus_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentFiscalPeriodFocus_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Document Fiscal Period Focus </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="us-gaap_StatementOfFinancialPositionAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_StatementOfFinancialPositionAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementOfFinancialPositionAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Condensed Consolidated Balance Sheets </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="us-gaap_AssetsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsAbstract" xlink:to="us-gaap_AssetsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssetsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Assets [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AssetsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> ASSETS </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_AssetsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> ASSETS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentsAbstract" xlink:label="us-gaap_InvestmentsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentsAbstract" xlink:to="us-gaap_InvestmentsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investments [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InvestmentsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investments: </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_InvestmentsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total fixed income and equity securities </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_FixedIncomeInvestmentsAbstract" xlink:label="rli_FixedIncomeInvestmentsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_FixedIncomeInvestmentsAbstract" xlink:to="rli_FixedIncomeInvestmentsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_FixedIncomeInvestmentsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fixed Income Investments [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_FixedIncomeInvestmentsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fixed income: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtSecurities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtSecurities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtSecurities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale Securities, Debt Securities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtSecurities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale fixed income </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtSecurities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total fair value </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtSecurities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale, at fair value (amortized cost - $1,776,465 in 2018 and $1,646,411 in 2017) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquitySecuritiesFvNi" xlink:label="us-gaap_EquitySecuritiesFvNi" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquitySecuritiesFvNi" xlink:to="us-gaap_EquitySecuritiesFvNi_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquitySecuritiesFvNi_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Marketable Securities, Equity Securities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_EquitySecuritiesFvNi_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity securities, at fair value (cost - $220,373 in 2018 and $182,002 in 2017) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortTermInvestments" xlink:label="us-gaap_ShortTermInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortTermInvestments" xlink:to="us-gaap_ShortTermInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortTermInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-term Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortTermInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-term investments, at cost which approximates fair value </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherInvestments" xlink:label="us-gaap_OtherInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherInvestments" xlink:to="us-gaap_OtherInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other invested assets </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash and Cash Equivalents, at Carrying Value </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Investments" xlink:label="us-gaap_Investments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Investments" xlink:to="us-gaap_Investments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_Investments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investments. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_Investments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total investments and cash </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedInvestmentIncomeReceivable" xlink:label="us-gaap_AccruedInvestmentIncomeReceivable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedInvestmentIncomeReceivable" xlink:to="us-gaap_AccruedInvestmentIncomeReceivable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccruedInvestmentIncomeReceivable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accrued Investment Income Receivable </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccruedInvestmentIncomeReceivable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accrued investment income </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PremiumsAndReinsuranceBalancesReceivable" xlink:label="rli_PremiumsAndReinsuranceBalancesReceivable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PremiumsAndReinsuranceBalancesReceivable" xlink:to="rli_PremiumsAndReinsuranceBalancesReceivable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PremiumsAndReinsuranceBalancesReceivable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> The carrying amount as of the balance sheet date due to the entity from (a) agents and insureds, (b) uncollected premiums and (c) others, net of the allowance for doubtful accounts. Also includes receivables currently due from reinsurers for ceded claims paid. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PremiumsAndReinsuranceBalancesReceivable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Premiums and Reinsurance Balances Receivable </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="rli_PremiumsAndReinsuranceBalancesReceivable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Premiums and reinsurance balances receivable, net of allowances for uncollectible amounts of $16,967 in 2018 and $16,935 in 2017 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PrepaidReinsurancePremiums" xlink:label="us-gaap_PrepaidReinsurancePremiums" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PrepaidReinsurancePremiums" xlink:to="us-gaap_PrepaidReinsurancePremiums_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PrepaidReinsurancePremiums_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Prepaid Reinsurance Premiums </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PrepaidReinsurancePremiums_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded unearned premium </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReinsuranceRecoverableForUnpaidClaimsAndClaimsAdjustments" xlink:label="us-gaap_ReinsuranceRecoverableForUnpaidClaimsAndClaimsAdjustments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReinsuranceRecoverableForUnpaidClaimsAndClaimsAdjustments" xlink:to="us-gaap_ReinsuranceRecoverableForUnpaidClaimsAndClaimsAdjustments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReinsuranceRecoverableForUnpaidClaimsAndClaimsAdjustments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Recoverable for Unpaid Claims and Claims Adjustments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedPeriodEndLabel" xlink:label="us-gaap_ReinsuranceRecoverableForUnpaidClaimsAndClaimsAdjustments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedPeriodStartLabel" xlink:label="us-gaap_ReinsuranceRecoverableForUnpaidClaimsAndClaimsAdjustments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ReinsuranceRecoverableForUnpaidClaimsAndClaimsAdjustments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance recoverable on unpaid claims </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_ReinsuranceRecoverableForUnpaidClaimsAndClaimsAdjustments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance balances recoverable on unpaid losses and settlement expenses, net of allowances for uncollectible amounts of $9,793 in 2018 and $10,014 in 2017 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredPolicyAcquisitionCosts" xlink:label="us-gaap_DeferredPolicyAcquisitionCosts" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredPolicyAcquisitionCosts" xlink:to="us-gaap_DeferredPolicyAcquisitionCosts_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredPolicyAcquisitionCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Policy Acquisition Costs </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_DeferredPolicyAcquisitionCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> DAC/VOBA*, end of year </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_DeferredPolicyAcquisitionCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred policy acquisition costs (DAC), beginning of year </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredPolicyAcquisitionCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred policy acquisition costs </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentNet" xlink:to="us-gaap_PropertyPlantAndEquipmentNet_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property, Plant and Equipment, Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property and equipment, at cost, net of accumulated depreciation of $1,426 in 2017 and $1,523 in 2016 </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property and equipment, at cost, net of accumulated depreciation of $54,275 in 2018 and $47,676 in 2017 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestments" xlink:label="us-gaap_EquityMethodInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestments" xlink:to="us-gaap_EquityMethodInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Method Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/positiveTerseLabel" xlink:label="us-gaap_EquityMethodInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment amount </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment in unconsolidated investees </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_EquityMethodInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investments in unconsolidated investee, at equity value </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill" xlink:label="us-gaap_IntangibleAssetsNetIncludingGoodwill" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IntangibleAssetsNetIncludingGoodwill" xlink:to="us-gaap_IntangibleAssetsNetIncludingGoodwill_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IntangibleAssetsNetIncludingGoodwill_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Intangible Assets, Net (Including Goodwill) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IntangibleAssetsNetIncludingGoodwill_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Goodwill and intangibles </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_IntangibleAssetsNetIncludingGoodwill_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Goodwill and intangibles </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssets" xlink:label="us-gaap_OtherAssets" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAssets" xlink:to="us-gaap_OtherAssets_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAssets_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Assets </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherAssets_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other assets </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets" xlink:label="us-gaap_Assets" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Assets" xlink:to="us-gaap_Assets_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_Assets_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Assets </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_Assets_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> TOTAL ASSETS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="us-gaap_LiabilitiesAndStockholdersEquityAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:to="us-gaap_LiabilitiesAndStockholdersEquityAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesAndStockholdersEquityAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liabilities and Equity [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LiabilitiesAndStockholdersEquityAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liabilities and Shareholders' Equity </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_LiabilitiesAndStockholdersEquityAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> LIABILITIES AND SHAREHOLDERS' EQUITY </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:label="us-gaap_LiabilitiesAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAbstract" xlink:to="us-gaap_LiabilitiesAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liabilities [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LiabilitiesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liabilities: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability" xlink:label="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability" xlink:to="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Claims and Claims Adjustment Expense, Property Casualty Liability </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Gross </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Gross </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/positiveTerseLabel" xlink:label="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net outstanding liabilities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unpaid losses and settlement expenses </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpensePropertyCasualtyLiability_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Gross </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnearnedPremiums" xlink:label="us-gaap_UnearnedPremiums" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnearnedPremiums" xlink:to="us-gaap_UnearnedPremiums_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_UnearnedPremiums_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unearned Premiums </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_UnearnedPremiums_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unearned premiums </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReinsurancePayable" xlink:label="us-gaap_ReinsurancePayable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReinsurancePayable" xlink:to="us-gaap_ReinsurancePayable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReinsurancePayable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Payable </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ReinsurancePayable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance balances payable </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_FundsHeld" xlink:label="rli_FundsHeld" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_FundsHeld" xlink:to="rli_FundsHeld_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_FundsHeld_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> The carrying amount, as of the balance sheet date, of funds held, including cash deposits that were received in lieu of a letter of credit. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_FundsHeld_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Funds Held </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_FundsHeld_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Funds held </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:label="us-gaap_DeferredIncomeTaxLiabilitiesNet" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:to="us-gaap_DeferredIncomeTaxLiabilitiesNet_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredIncomeTaxLiabilitiesNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Income Tax Liabilities, Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredIncomeTaxLiabilitiesNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income taxes - deferred </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermNotesPayable" xlink:label="us-gaap_LongTermNotesPayable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LongTermNotesPayable" xlink:to="us-gaap_LongTermNotesPayable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LongTermNotesPayable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Notes Payable, Noncurrent </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LongTermNotesPayable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Bonds payable, long-term debt </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_LongTermNotesPayable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Outstanding long-term senior notes </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedLiabilitiesCurrentAndNoncurrent" xlink:label="us-gaap_AccruedLiabilitiesCurrentAndNoncurrent" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedLiabilitiesCurrentAndNoncurrent" xlink:to="us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accrued Liabilities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accrued expenses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilities" xlink:label="us-gaap_OtherLiabilities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherLiabilities" xlink:to="us-gaap_OtherLiabilities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Liabilities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other liabilities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities" xlink:label="us-gaap_Liabilities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Liabilities" xlink:to="us-gaap_Liabilities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_Liabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liabilities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_Liabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> TOTAL LIABILITIES </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="us-gaap_StockholdersEquityAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityAbstract" xlink:to="us-gaap_StockholdersEquityAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockholdersEquityAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stockholders' Equity Attributable to Parent [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StockholdersEquityAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Shareholders' Equity </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockValue" xlink:label="us-gaap_CommonStockValue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockValue" xlink:to="us-gaap_CommonStockValue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Common Stock, Value, Issued </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommonStockValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Common stock ($1 par value, authorized 100,000,000 shares, issued 67,078,569 shares in 2017 and 66,874,911 shares in 2016, and outstanding 44,148,355 shares in 2017 and 43,944,697 shares in 2016) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_CommonStockValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Common stock ($0.01 par value in 2018 and $1.00 par value in 2017, authorized 100,000,000 shares, issued 67,434,257 shares in 2018 and 67,078,569 shares in 2017, and outstanding 44,504,043 shares in 2018 and 44,148,355 shares in 2017) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Additional Paid in Capital, Common Stock </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Paid-in capital </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:to="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accumulated Other Comprehensive Income (Loss), Net of Tax </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ending balance </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Beginning balance </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accumulated other comprehensive earnings </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Retained Earnings (Accumulated Deficit) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Retained earnings </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CommonStockIssuedEmployeeStockTrustValue" xlink:label="rli_CommonStockIssuedEmployeeStockTrustValue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CommonStockIssuedEmployeeStockTrustValue" xlink:to="rli_CommonStockIssuedEmployeeStockTrustValue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CommonStockIssuedEmployeeStockTrustValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Value of common stock issued to a trust (for example, a 'rabbi trust') set up specifically to accumulate stock for the sole purpose of distribution to participating employees. This trust does not allow employees to immediately or after a holding period diversify into nonemployer securities. The deferred compensation plan for which this trust is set up must be settled by the delivery of a fixed number of shares of employer stock. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CommonStockIssuedEmployeeStockTrustValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Common stock issued, employee stock trust, value </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CommonStockIssuedEmployeeStockTrustValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred compensation </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="us-gaap_TreasuryStockValue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockValue" xlink:to="us-gaap_TreasuryStockValue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TreasuryStockValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Treasury Stock, Value </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_TreasuryStockValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Less: Treasury shares at cost (22,930,214 shares in 2018 and 2017) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:label="us-gaap_TreasuryStockValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Treasury shares at cost (22,930,214 shares in 2017 and 2016) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="us-gaap_StockholdersEquity" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_StockholdersEquity_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockholdersEquity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stockholders' Equity Attributable to Parent </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_StockholdersEquity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stockholders' Equity Attributable to Parent, Ending Balance </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_StockholdersEquity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stockholders' Equity Attributable to Parent, Beginning Balance </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StockholdersEquity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_StockholdersEquity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> TOTAL SHAREHOLDERS’ EQUITY </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_LiabilitiesAndStockholdersEquity_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liabilities and Equity </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> TOTAL LIABILITIES AND SHAREHOLDERS’ EQUITY </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:to="us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale Securities, Debt Maturities, Amortized Cost Basis </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale, amortized cost </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total amortized cost </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquitySecuritiesFvNiCost" xlink:label="us-gaap_EquitySecuritiesFvNiCost" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquitySecuritiesFvNiCost" xlink:to="us-gaap_EquitySecuritiesFvNiCost_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquitySecuritiesFvNiCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Securities, at fair value (cost - $207,214 at 6/30/18 and $182,002 at 12/31/17) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_EquitySecuritiesFvNiCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity securities, cost </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PremiumsAndReinsuranceBalancesReceivableAllowances" xlink:label="rli_PremiumsAndReinsuranceBalancesReceivableAllowances" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PremiumsAndReinsuranceBalancesReceivableAllowances" xlink:to="rli_PremiumsAndReinsuranceBalancesReceivableAllowances_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PremiumsAndReinsuranceBalancesReceivableAllowances_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> A valuation allowance for the amount deemed uncollectible of an insurance receivable related to a policy by which an insurer indemnifies itself of some or all of the risk associated with another insurance policy. Includes the carrying value as of the balance sheet date of the estimated valuation allowance to reduce gross premiums receivable to net realizable value. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PremiumsAndReinsuranceBalancesReceivableAllowances_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Premiums and Reinsurance Balances Receivable, Allowances </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_PremiumsAndReinsuranceBalancesReceivableAllowances_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Premiums and reinsurance balances receivable, allowances for uncollectible amounts </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ReinsuranceRecoverablesUnpaidLossesAllowances" xlink:label="rli_ReinsuranceRecoverablesUnpaidLossesAllowances" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ReinsuranceRecoverablesUnpaidLossesAllowances" xlink:to="rli_ReinsuranceRecoverablesUnpaidLossesAllowances_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ReinsuranceRecoverablesUnpaidLossesAllowances_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> A valuation allowance for the amount deemed uncollectible of the known and estimated amount recoverable as of the balance sheet date from reinsurers for unpaid claims incurred by the ceding insurer and associated claims settlement expenses, including estimated amounts for claims incurred but not reported, and policy benefits. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ReinsuranceRecoverablesUnpaidLossesAllowances_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Recoverables Unpaid Losses Allowances </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ReinsuranceRecoverablesUnpaidLossesAllowances_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance balances recoverable on unpaid losses and settlement expenses, allowances for uncollectible amounts </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:to="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property and equipment, accumulated depreciation </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="us-gaap_CommonStockParOrStatedValuePerShare" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockParOrStatedValuePerShare" xlink:to="us-gaap_CommonStockParOrStatedValuePerShare_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockParOrStatedValuePerShare_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Common Stock, Par or Stated Value Per Share </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommonStockParOrStatedValuePerShare_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Common stock, par value (in dollars per share) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="us-gaap_CommonStockSharesAuthorized" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockSharesAuthorized" xlink:to="us-gaap_CommonStockSharesAuthorized_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockSharesAuthorized_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Common Stock, Shares Authorized </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommonStockSharesAuthorized_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Common stock, shares authorized (in shares) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="us-gaap_CommonStockSharesIssued" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockSharesIssued" xlink:to="us-gaap_CommonStockSharesIssued_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockSharesIssued_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Common Stock, Shares, Issued </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommonStockSharesIssued_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Common stock, shares issued (in shares) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="us-gaap_CommonStockSharesOutstanding" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockSharesOutstanding" xlink:to="us-gaap_CommonStockSharesOutstanding_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockSharesOutstanding_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Common Stock, Shares, Outstanding </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommonStockSharesOutstanding_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Common stock, shares outstanding (in shares) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TreasuryStockShares" xlink:label="us-gaap_TreasuryStockShares" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockShares" xlink:to="us-gaap_TreasuryStockShares_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TreasuryStockShares_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Treasury Stock, Shares </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_TreasuryStockShares_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Treasury stock, shares (in shares) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementAbstract" xlink:label="us-gaap_IncomeStatementAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeStatementAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeStatementAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Condensed Consolidated Statements of Earnings and Comprehensive Earnings </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PremiumsEarnedNet" xlink:label="us-gaap_PremiumsEarnedNet" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PremiumsEarnedNet" xlink:to="us-gaap_PremiumsEarnedNet_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PremiumsEarnedNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Premiums Earned, Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PremiumsEarnedNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net premiums earned </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_PremiumsEarnedNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net amount </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_PremiumsEarnedNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net premiums earned </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetInvestmentIncome" xlink:label="us-gaap_NetInvestmentIncome" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetInvestmentIncome" xlink:to="us-gaap_NetInvestmentIncome_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetInvestmentIncome_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Investment Income </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetInvestmentIncome_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net investment income </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetInvestmentIncome_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Investment Income </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposalsExcludingOtherThanTemporaryImpairment" xlink:label="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposalsExcludingOtherThanTemporaryImpairment" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposalsExcludingOtherThanTemporaryImpairment" xlink:to="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposalsExcludingOtherThanTemporaryImpairment_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposalsExcludingOtherThanTemporaryImpairment_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount of net total realized gain (loss) included in earnings for the period as a result of the sale of marketable securities and the sale or disposal of other assets. Excludes other-than-temporary impairment (OTTI). </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposalsExcludingOtherThanTemporaryImpairment_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Realized Gain (Loss) on Marketable Securities and Other Asset Sales and Disposals, Excluding Other-than-temporary Impairment </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposalsExcludingOtherThanTemporaryImpairment_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net realized gains </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposalsExcludingOtherThanTemporaryImpairment_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net realized gains (losses), excluding OTTI </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairmentOfInvestments" xlink:label="us-gaap_ImpairmentOfInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ImpairmentOfInvestments" xlink:to="us-gaap_ImpairmentOfInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ImpairmentOfInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other than Temporary Impairment Losses, Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_ImpairmentOfInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other-than-temporary-impairment (OTTI) losses on investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:label="us-gaap_ImpairmentOfInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> OTTI </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ImpairmentOfInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other-than-temporary impairment (OTTI) losses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss" xlink:label="us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss" xlink:to="us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Securities, FV-NI, Unrealized Gain (Loss) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net unrealized losses on equity securities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net unrealized losses on equity securities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Revenues" xlink:label="us-gaap_Revenues" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Revenues" xlink:to="us-gaap_Revenues_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_Revenues_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Revenues </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_Revenues_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Consolidated revenue </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncurredClaimsPropertyCasualtyAndLiability" xlink:label="us-gaap_IncurredClaimsPropertyCasualtyAndLiability" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncurredClaimsPropertyCasualtyAndLiability" xlink:to="us-gaap_IncurredClaimsPropertyCasualtyAndLiability_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncurredClaimsPropertyCasualtyAndLiability_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Policyholder Benefits and Claims Incurred, Net, Property, Casualty and Liability </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncurredClaimsPropertyCasualtyAndLiability_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Losses and settlement expenses </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_IncurredClaimsPropertyCasualtyAndLiability_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Loss and settlement expenses </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PolicyAcquisitionCostAmortizationExpenseAndDirectPeriodCosts" xlink:label="rli_PolicyAcquisitionCostAmortizationExpenseAndDirectPeriodCosts" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PolicyAcquisitionCostAmortizationExpenseAndDirectPeriodCosts" xlink:to="rli_PolicyAcquisitionCostAmortizationExpenseAndDirectPeriodCosts_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PolicyAcquisitionCostAmortizationExpenseAndDirectPeriodCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount of deferred policy acquisition costs charged to expense in the period, generally in proportion to related revenue earned, estimated gross profits, or over the customer relationship or some other period, as well as direct period costs related to acquisition of insurance policies. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PolicyAcquisitionCostAmortizationExpenseAndDirectPeriodCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Policy Acquisition Cost Amortization Expense and Direct Period Costs </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/positiveLabel" xlink:label="rli_PolicyAcquisitionCostAmortizationExpenseAndDirectPeriodCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amortization of deferred acquisition costs </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_PolicyAcquisitionCostAmortizationExpenseAndDirectPeriodCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Policy acquisition costs </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="rli_PolicyAcquisitionCostAmortizationExpenseAndDirectPeriodCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total policy acquisition costs </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="us-gaap_OperatingExpenses" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingExpenses" xlink:to="us-gaap_OperatingExpenses_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingExpenses_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Operating Expenses </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingExpenses_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Insurance operating expenses </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_OperatingExpenses_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other insurance expenses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpenseDebt" xlink:label="us-gaap_InterestExpenseDebt" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InterestExpenseDebt" xlink:to="us-gaap_InterestExpenseDebt_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InterestExpenseDebt_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Interest Expense, Debt </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_InterestExpenseDebt_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Interest expense on debt </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InterestExpenseDebt_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Interest expense on debt </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherGeneralExpense" xlink:label="us-gaap_OtherGeneralExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherGeneralExpense" xlink:to="us-gaap_OtherGeneralExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherGeneralExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other General Expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherGeneralExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> General corporate expenses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BenefitsLossesAndExpenses" xlink:label="us-gaap_BenefitsLossesAndExpenses" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BenefitsLossesAndExpenses" xlink:to="us-gaap_BenefitsLossesAndExpenses_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BenefitsLossesAndExpenses_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Benefits, Losses and Expenses </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_BenefitsLossesAndExpenses_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total expenses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income (Loss) from Equity Method Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Undistributed earnings </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity in earnings of unconsolidated investees </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investee earnings recorded in income </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income (Loss) from Continuing Operations before Income Taxes, Extraordinary Items, Noncontrolling Interest </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Earnings before income taxes </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Earnings before income taxes </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComponentsOfIncomeTaxExpenseBenefitContinuingOperationsAbstract" xlink:label="us-gaap_ComponentsOfIncomeTaxExpenseBenefitContinuingOperationsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ComponentsOfIncomeTaxExpenseBenefitContinuingOperationsAbstract" xlink:to="us-gaap_ComponentsOfIncomeTaxExpenseBenefitContinuingOperationsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ComponentsOfIncomeTaxExpenseBenefitContinuingOperationsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Components of Income Tax Expense (Benefit), Continuing Operations [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ComponentsOfIncomeTaxExpenseBenefitContinuingOperationsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income tax expense: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:label="us-gaap_CurrentIncomeTaxExpenseBenefit" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:to="us-gaap_CurrentIncomeTaxExpenseBenefit_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CurrentIncomeTaxExpenseBenefit_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Current Income Tax Expense (Benefit) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CurrentIncomeTaxExpenseBenefit_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Current </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:to="us-gaap_DeferredIncomeTaxExpenseBenefit_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Income Tax Expense (Benefit) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExpenseBenefit" xlink:to="us-gaap_IncomeTaxExpenseBenefit_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income Tax Expense (Benefit) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income tax expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income tax expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income tax expense (benefit) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income tax benefit </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="us-gaap_NetIncomeLoss" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_NetIncomeLoss_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetIncomeLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Income (Loss) Attributable to Parent </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetIncomeLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net earnings </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetIncomeLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net earnings </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:to="us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/positiveLabel" xlink:label="us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other comprehensive earnings (loss), net of tax </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other comprehensive earnings (loss), net of tax </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net current-period other comprehensive earnings (loss) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other comprehensive earnings (loss), net of tax </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="us-gaap_ComprehensiveIncomeNetOfTax" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ComprehensiveIncomeNetOfTax" xlink:to="us-gaap_ComprehensiveIncomeNetOfTax_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ComprehensiveIncomeNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Comprehensive Income (Loss), Net of Tax, Attributable to Parent </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_ComprehensiveIncomeNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Comprehensive earnings </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasicAbstract" xlink:label="us-gaap_EarningsPerShareBasicAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareBasicAbstract" xlink:to="us-gaap_EarningsPerShareBasicAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EarningsPerShareBasicAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Earnings Per Share, Basic [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EarningsPerShareBasicAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Basic: </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_EarningsPerShareBasicAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Basic EPS, Per Share Amount </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="us-gaap_EarningsPerShareBasic" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareBasic" xlink:to="us-gaap_EarningsPerShareBasic_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Earnings Per Share, Basic </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/positiveLabel" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Basic earnings per share (in dollars per share) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net earnings per share (in dollars per share) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_EarningsPerShareBasic_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Basic net earnings per share (in dollars per share) </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ComprehensiveEarningsPerShareBasic" xlink:label="rli_ComprehensiveEarningsPerShareBasic" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ComprehensiveEarningsPerShareBasic" xlink:to="rli_ComprehensiveEarningsPerShareBasic_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ComprehensiveEarningsPerShareBasic_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> The amount of net comprehensive income or loss for the period per each share of common stock outstanding during the reporting period. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ComprehensiveEarningsPerShareBasic_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Comprehensive Earnings Per Share, Basic </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ComprehensiveEarningsPerShareBasic_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Comprehensive earnings per share (in dollars per share) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareDilutedAbstract" xlink:label="us-gaap_EarningsPerShareDilutedAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareDilutedAbstract" xlink:to="us-gaap_EarningsPerShareDilutedAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EarningsPerShareDilutedAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Earnings Per Share, Diluted [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EarningsPerShareDilutedAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Diluted: </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_EarningsPerShareDilutedAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Diluted EPS, Per Share Amount </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="us-gaap_EarningsPerShareDiluted" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareDiluted" xlink:to="us-gaap_EarningsPerShareDiluted_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EarningsPerShareDiluted_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Earnings Per Share, Diluted </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EarningsPerShareDiluted_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net earnings per share (in dollars per share) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_EarningsPerShareDiluted_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Diluted earnings per share (in dollars per share) </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ComprehensiveEarningsPerShareDiluted" xlink:label="rli_ComprehensiveEarningsPerShareDiluted" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ComprehensiveEarningsPerShareDiluted" xlink:to="rli_ComprehensiveEarningsPerShareDiluted_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ComprehensiveEarningsPerShareDiluted_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> The amount of comprehensive income or loss, for the period per each share of the common stock and dilutive common stock equivalents that is outstanding, during the reporting period. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ComprehensiveEarningsPerShareDiluted_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Comprehensive Earnings Per Share, Diluted </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ComprehensiveEarningsPerShareDiluted_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Comprehensive earnings per share (in dollars per share) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Weighted Average Number of Shares Outstanding, Diluted [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Weighted average number of common shares outstanding </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Diluted EPS, Weighted Average Shares (Denominator) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Weighted Average Number of Shares Outstanding, Basic </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Basic (in shares) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Number of shares outstanding </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Weighted Average Number of Shares Outstanding, Diluted </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Diluted (in shares) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Number of shares outstanding </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockDividendsPerShareCashPaid" xlink:label="us-gaap_CommonStockDividendsPerShareCashPaid" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockDividendsPerShareCashPaid" xlink:to="us-gaap_CommonStockDividendsPerShareCashPaid_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockDividendsPerShareCashPaid_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Common Stock, Dividends, Per Share, Cash Paid </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_CommonStockDividendsPerShareCashPaid_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash dividends paid per common share </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementOfStockholdersEquityAbstract" xlink:label="us-gaap_StatementOfStockholdersEquityAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfStockholdersEquityAbstract" xlink:to="us-gaap_StatementOfStockholdersEquityAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementOfStockholdersEquityAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Consolidated Statements of Shareholders' Equity </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="us-gaap_StatementEquityComponentsAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_StatementEquityComponentsAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementEquityComponentsAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Components [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="us-gaap_EquityComponentDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_EquityComponentDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityComponentDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Component [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityComponentDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Component [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockMember" xlink:label="us-gaap_CommonStockMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockMember" xlink:to="us-gaap_CommonStockMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Common Stock [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommonStockMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Common stock </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="us-gaap_AdditionalPaidInCapitalMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdditionalPaidInCapitalMember" xlink:to="us-gaap_AdditionalPaidInCapitalMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AdditionalPaidInCapitalMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Additional Paid In Capital [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AdditionalPaidInCapitalMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Paid-in Capital </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:to="us-gaap_AccumulatedOtherComprehensiveIncomeMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accumulated Other Comprehensive Income [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accumulated Other Comprehensive Earnings (Loss) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="us-gaap_RetainedEarningsMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsMember" xlink:to="us-gaap_RetainedEarningsMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RetainedEarningsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Retained Earnings [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RetainedEarningsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Retained Earnings </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredCompensationShareBasedPaymentsMember" xlink:label="us-gaap_DeferredCompensationShareBasedPaymentsMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredCompensationShareBasedPaymentsMember" xlink:to="us-gaap_DeferredCompensationShareBasedPaymentsMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredCompensationShareBasedPaymentsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Compensation Share Based Payments [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredCompensationShareBasedPaymentsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Compensation </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="us-gaap_TreasuryStockMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockMember" xlink:to="us-gaap_TreasuryStockMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TreasuryStockMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Treasury Stock [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_TreasuryStockMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Treasury Stock at Cost </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:to="us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) in Stockholders' Equity [Roll Forward] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) in Shareholders' Equity </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharesIssued" xlink:label="us-gaap_SharesIssued" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharesIssued" xlink:to="us-gaap_SharesIssued_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharesIssued_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Shares, Issued </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_SharesIssued_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Balance (in shares) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_SharesIssued_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Balance (in shares) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:to="us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cumulative Effect of New Accounting Principle in Period of Adoption </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cumulative-effect adjustment from ASU 2016-01 and 2018-02 </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AdjustmentsToAdditionalPaidInCapitalParValueConversion" xlink:label="rli_AdjustmentsToAdditionalPaidInCapitalParValueConversion" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AdjustmentsToAdditionalPaidInCapitalParValueConversion" xlink:to="rli_AdjustmentsToAdditionalPaidInCapitalParValueConversion_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AdjustmentsToAdditionalPaidInCapitalParValueConversion_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount transferred from common stock to paid-in-capital as a result of a decrease in par value. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AdjustmentsToAdditionalPaidInCapitalParValueConversion_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Adjustments to Additional Paid in Capital, Par Value Conversion </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AdjustmentsToAdditionalPaidInCapitalParValueConversion_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Par value conversion from $1.00 per share to $0.01 per share </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="rli_AdjustmentsToAdditionalPaidInCapitalParValueConversion_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reclassification due to change in par value </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DeferredCompensationUnderRabbiTrustPlans" xlink:label="rli_DeferredCompensationUnderRabbiTrustPlans" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DeferredCompensationUnderRabbiTrustPlans" xlink:to="rli_DeferredCompensationUnderRabbiTrustPlans_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_DeferredCompensationUnderRabbiTrustPlans_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> This element represents the deferred compensation that is received under rabbi trust plans, which forms a part of stockholders' equity. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DeferredCompensationUnderRabbiTrustPlans_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Compensation under Rabbi Trust Plans </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_DeferredCompensationUnderRabbiTrustPlans_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred compensation under Rabbi trust plans </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xlink:label="us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xlink:to="us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Adjustments to Additional Paid in Capital, Income Tax Benefit from Share-based Compensation </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stock option excess tax benefit </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:to="us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stock Issued During Period, Value, Stock Options Exercised </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based compensation </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_StockIssuedDuringPeriodValueStockOptionsExercisedNet" xlink:label="rli_StockIssuedDuringPeriodValueStockOptionsExercisedNet" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_StockIssuedDuringPeriodValueStockOptionsExercisedNet" xlink:to="rli_StockIssuedDuringPeriodValueStockOptionsExercisedNet_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_StockIssuedDuringPeriodValueStockOptionsExercisedNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity impact of share options (or share units) exercised during the current period, net of exercises via stock swaps and shares withheld for taxes. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_StockIssuedDuringPeriodValueStockOptionsExercisedNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stock issued during period value stock options exercised net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_StockIssuedDuringPeriodValueStockOptionsExercisedNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Exercise of stock options </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_StockIssuedDuringPeriodSharesStockOptionsExercisedNet" xlink:label="rli_StockIssuedDuringPeriodSharesStockOptionsExercisedNet" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_StockIssuedDuringPeriodSharesStockOptionsExercisedNet" xlink:to="rli_StockIssuedDuringPeriodSharesStockOptionsExercisedNet_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_StockIssuedDuringPeriodSharesStockOptionsExercisedNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Number of share options (or share units) exercised during the current period, net of exercises via stock swaps and shares withheld for taxes. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_StockIssuedDuringPeriodSharesStockOptionsExercisedNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stock Issued During Period, Shares, Stock Options Exercised, Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_StockIssuedDuringPeriodSharesStockOptionsExercisedNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based compensation (in shares) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsCommonStock" xlink:label="us-gaap_DividendsCommonStock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DividendsCommonStock" xlink:to="us-gaap_DividendsCommonStock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DividendsCommonStock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Dividends, Common Stock </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_DividendsCommonStock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Dividends and dividend equivalents ($1.87, $2.58 and $2.79 per share during 2018, 2017 and 2016, respectively) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementOfCashFlowsAbstract" xlink:label="us-gaap_StatementOfCashFlowsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_StatementOfCashFlowsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementOfCashFlowsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Condensed Consolidated Statements of Cash Flows </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Cash Provided by (Used in) Operating Activities, Continuing Operations [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash flows from operating activities: </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash flows from operating activities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProfitLoss" xlink:label="us-gaap_ProfitLoss" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_ProfitLoss_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProfitLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Income (Loss), Including Portion Attributable to Noncontrolling Interest </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProfitLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net earnings </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Adjustments to reconcile net earnings to net cash provided by operating activities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Adjustments to reconcile net losses to net cash provided by (used in) operating activities: </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposals" xlink:label="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposals" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposals" xlink:to="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposals_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposals_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount of net total realized gain (loss) included in earnings for the period as a result of the sale of marketable securities and the sale, write-down or disposal of other assets. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposals_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Realized Gain (Loss) on Marketable Securities and Other Asset Sales and Disposals </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposals_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net realized gains (losses) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:label="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposals_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net realized gains </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposals_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net realized gains </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposals_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total net realized gains (losses) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="rli_RealizedGainLossOnMarketableSecuritiesAndOtherAssetSalesAndDisposals_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net realized gains (losses) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Depreciation" xlink:label="us-gaap_Depreciation" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Depreciation" xlink:to="us-gaap_Depreciation_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_Depreciation_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Depreciation </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_Depreciation_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Depreciation </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNoncashIncomeExpense" xlink:label="us-gaap_OtherNoncashIncomeExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherNoncashIncomeExpense" xlink:to="us-gaap_OtherNoncashIncomeExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherNoncashIncomeExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Noncash Income (Expense) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_OtherNoncashIncomeExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other items, net </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:label="us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:to="us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) in Operating Capital [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Change in: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable" xlink:label="us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable" xlink:to="us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) in Accrued Investment Income Receivable </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accrued investment income </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_IncreaseDecreaseInPremiumsAndReinsuranceReceivable" xlink:label="rli_IncreaseDecreaseInPremiumsAndReinsuranceReceivable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_IncreaseDecreaseInPremiumsAndReinsuranceReceivable" xlink:to="rli_IncreaseDecreaseInPremiumsAndReinsuranceReceivable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_IncreaseDecreaseInPremiumsAndReinsuranceReceivable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> This element represents the change in the premium receivable balance on the balance sheet and the net change during the reporting period, in the amount of benefits the ceding insurer expects to recover on insurance policies that are ceded to the other insurance entities, as of the balance sheet date, for all guaranteed benefit types. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_IncreaseDecreaseInPremiumsAndReinsuranceReceivable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) in Premiums and Reinsurance Receivable </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="rli_IncreaseDecreaseInPremiumsAndReinsuranceReceivable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Premiums and reinsurance balances receivable (net of direct write-offs and commutations) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInReinsurancePayables" xlink:label="us-gaap_IncreaseDecreaseInReinsurancePayables" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInReinsurancePayables" xlink:to="us-gaap_IncreaseDecreaseInReinsurancePayables_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInReinsurancePayables_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) in Reinsurance Payables </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInReinsurancePayables_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance balances payable </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_IncreaseDecreaseInFundsHeld" xlink:label="rli_IncreaseDecreaseInFundsHeld" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_IncreaseDecreaseInFundsHeld" xlink:to="rli_IncreaseDecreaseInFundsHeld_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_IncreaseDecreaseInFundsHeld_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the increase (decrease) during the period in funds held. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_IncreaseDecreaseInFundsHeld_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) in Funds Held </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="rli_IncreaseDecreaseInFundsHeld_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Funds held </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidReinsurancePremiums" xlink:label="us-gaap_IncreaseDecreaseInPrepaidReinsurancePremiums" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInPrepaidReinsurancePremiums" xlink:to="us-gaap_IncreaseDecreaseInPrepaidReinsurancePremiums_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInPrepaidReinsurancePremiums_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) in Prepaid Reinsurance Premiums </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseInPrepaidReinsurancePremiums_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded unearned premium </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInReinsuranceRecoverable" xlink:label="us-gaap_IncreaseDecreaseInReinsuranceRecoverable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInReinsuranceRecoverable" xlink:to="us-gaap_IncreaseDecreaseInReinsuranceRecoverable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInReinsuranceRecoverable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) in Reinsurance Recoverable </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseInReinsuranceRecoverable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance balances recoverable on unpaid losses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInDeferredPolicyAcquisitionCosts" xlink:label="us-gaap_IncreaseDecreaseInDeferredPolicyAcquisitionCosts" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInDeferredPolicyAcquisitionCosts" xlink:to="us-gaap_IncreaseDecreaseInDeferredPolicyAcquisitionCosts_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInDeferredPolicyAcquisitionCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) in Deferred Policy Acquisition Costs </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseInDeferredPolicyAcquisitionCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred policy acquisition costs </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:label="us-gaap_IncreaseDecreaseInAccruedLiabilities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:to="us-gaap_IncreaseDecreaseInAccruedLiabilities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInAccruedLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) in Accrued Liabilities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInAccruedLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accrued expenses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPropertyAndCasualtyInsuranceLiabilities" xlink:label="us-gaap_IncreaseDecreaseInPropertyAndCasualtyInsuranceLiabilities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInPropertyAndCasualtyInsuranceLiabilities" xlink:to="us-gaap_IncreaseDecreaseInPropertyAndCasualtyInsuranceLiabilities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInPropertyAndCasualtyInsuranceLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) in Property and Casualty Insurance Liabilities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInPropertyAndCasualtyInsuranceLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unpaid losses and settlement expenses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInUnearnedPremiums" xlink:label="us-gaap_IncreaseDecreaseInUnearnedPremiums" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInUnearnedPremiums" xlink:to="us-gaap_IncreaseDecreaseInUnearnedPremiums_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInUnearnedPremiums_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) in Unearned Premiums </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInUnearnedPremiums_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unearned premiums </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_IncomeTaxAbstract" xlink:label="rli_IncomeTaxAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_IncomeTaxAbstract" xlink:to="rli_IncomeTaxAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_IncomeTaxAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income Tax [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_IncomeTaxAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income taxes </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" xlink:label="us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" xlink:to="us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) in Income Taxes Payable </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Current </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities" xlink:label="us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities" xlink:to="us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Excess Tax Benefit from Share-based Compensation, Operating Activities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stock option excess tax benefit </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributionsAbstract" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributionsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributionsAbstract" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributionsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributionsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income (Loss) from Equity Method Investments, Net of Dividends or Distributions [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestmentsNetOfDividendsOrDistributionsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Changes in investment in unconsolidated investees: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:to="us-gaap_EquityMethodInvestmentDividendsOrDistributions_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from Equity Method Investment, Dividends or Distributions </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Dividends received </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Dividend received </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Cash Provided by Operating Activities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Cash Provided by (Used in) Operating Activities, Total </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Cash Provided by (Used in) Investing Activities, Continuing Operations [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash Flows from Investing Activities </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PaymentsToAcquireInvestmentsAndProductiveAssetsAbstract" xlink:label="rli_PaymentsToAcquireInvestmentsAndProductiveAssetsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PaymentsToAcquireInvestmentsAndProductiveAssetsAbstract" xlink:to="rli_PaymentsToAcquireInvestmentsAndProductiveAssetsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PaymentsToAcquireInvestmentsAndProductiveAssetsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Payments to Acquire Investments and Productive Assets [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_PaymentsToAcquireInvestmentsAndProductiveAssetsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Purchase of: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt" xlink:label="us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt" xlink:to="us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Payments to Acquire Available-for-sale Securities, Debt </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fixed income, available-for-sale </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireMarketableSecurities" xlink:label="us-gaap_PaymentsToAcquireMarketableSecurities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquireMarketableSecurities" xlink:to="us-gaap_PaymentsToAcquireMarketableSecurities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsToAcquireMarketableSecurities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Payments to Acquire Marketable Securities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:label="us-gaap_PaymentsToAcquireMarketableSecurities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity securities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireShortTermInvestments" xlink:label="us-gaap_PaymentsToAcquireShortTermInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquireShortTermInvestments" xlink:to="us-gaap_PaymentsToAcquireShortTermInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsToAcquireShortTermInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Payments to Acquire Short-term Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsToAcquireShortTermInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-term investments, net </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Payments to Acquire Property, Plant, and Equipment </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property and equipment </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="us-gaap_PaymentsToAcquireBusinessesGross" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquireBusinessesGross" xlink:to="us-gaap_PaymentsToAcquireBusinessesGross_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsToAcquireBusinessesGross_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Payments to Acquire Businesses, Gross </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsToAcquireBusinessesGross_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Acquisition of agency </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PaymentsForOtherInvestingActivities" xlink:label="rli_PaymentsForOtherInvestingActivities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PaymentsForOtherInvestingActivities" xlink:to="rli_PaymentsForOtherInvestingActivities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PaymentsForOtherInvestingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the amount of net cash outflow from other investing activities. This element is used when there is not a more specific and appropriate element in the taxonomy. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PaymentsForOtherInvestingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Payments for Other Investing Activities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="rli_PaymentsForOtherInvestingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ProceedsFromSaleOfInvestmentsAndProductiveAssetsAbstract" xlink:label="rli_ProceedsFromSaleOfInvestmentsAndProductiveAssetsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ProceedsFromSaleOfInvestmentsAndProductiveAssetsAbstract" xlink:to="rli_ProceedsFromSaleOfInvestmentsAndProductiveAssetsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ProceedsFromSaleOfInvestmentsAndProductiveAssetsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from Sale of Investments and Productive Assets [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ProceedsFromSaleOfInvestmentsAndProductiveAssetsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from sale of: </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="rli_ProceedsFromSaleOfInvestmentsAndProductiveAssetsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Sale of: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt" xlink:label="us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt" xlink:to="us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from Sale of Available-for-sale Securities, Debt </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fixed income, available-for-sale </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" xlink:label="us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" xlink:to="us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from sale of equity securities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfShortTermInvestments" xlink:label="us-gaap_ProceedsFromSaleOfShortTermInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleOfShortTermInvestments" xlink:to="us-gaap_ProceedsFromSaleOfShortTermInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromSaleOfShortTermInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from Sale of Short-term Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromSaleOfShortTermInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-term investments, net </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:to="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from Sale of Property, Plant, and Equipment </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property and equipment </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromDivestitureOfInterestInConsolidatedSubsidiaries" xlink:label="us-gaap_ProceedsFromDivestitureOfInterestInConsolidatedSubsidiaries" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromDivestitureOfInterestInConsolidatedSubsidiaries" xlink:to="us-gaap_ProceedsFromDivestitureOfInterestInConsolidatedSubsidiaries_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromDivestitureOfInterestInConsolidatedSubsidiaries_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from Divestiture of Interest in Consolidated Subsidiaries </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromDivestitureOfInterestInConsolidatedSubsidiaries_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Subsidiary or agency </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ProceedsFromOtherInvestingActivities" xlink:label="rli_ProceedsFromOtherInvestingActivities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ProceedsFromOtherInvestingActivities" xlink:to="rli_ProceedsFromOtherInvestingActivities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ProceedsFromOtherInvestingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the amount of net cash inflow (outflow) from other investing activities. This element is used when there is not a more specific and appropriate element in the taxonomy. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ProceedsFromOtherInvestingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from (used in) other investing activities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ProceedsFromOtherInvestingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestmentsAbstract" xlink:label="us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestmentsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestmentsAbstract" xlink:to="us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestmentsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestmentsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from Sale, Maturity and Collection of Investments [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestmentsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from call or maturity of: </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestmentsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Call or maturity of: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:to="us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from Maturities, Prepayments and Calls of Available-for-sale Securities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fixed income, available-for-sale </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Cash Used in Investing Activities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Cash Used in Investing Activities, Total </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Cash Provided by (Used in) Financing Activities, Continuing Operations [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash Flows from Financing Activities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash flows from financing activities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:to="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Excess Tax Benefit from Share-based Compensation, Financing Activities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Excess tax benefit from exercise of stock options </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stock option excess tax benefit </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CashFlowFromStockOptionExercises" xlink:label="rli_CashFlowFromStockOptionExercises" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CashFlowFromStockOptionExercises" xlink:to="rli_CashFlowFromStockOptionExercises_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CashFlowFromStockOptionExercises_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash inflow (outflow) from stock option exercises. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CashFlowFromStockOptionExercises_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from stock option exercises </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="rli_CashFlowFromStockOptionExercises_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stock plan share issuance </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CashFlowFromStockOptionExercises_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from stock option exercises </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock" xlink:label="us-gaap_PaymentsOfDividendsCommonStock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsOfDividendsCommonStock" xlink:to="us-gaap_PaymentsOfDividendsCommonStock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsOfDividendsCommonStock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Payments of Ordinary Dividends, Common Stock </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsOfDividendsCommonStock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash dividends paid </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Cash Used in Financing Activities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Cash Used in Financing Activities, Total </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net increase (decrease) in cash </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net increase in cash </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash at the end of the period </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash at the beginning of the period </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="us-gaap_AccountingPoliciesAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_AccountingPoliciesAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountingPoliciesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock" xlink:label="us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock" xlink:to="us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Organization, Consolidation, Basis of Presentation, Business Description and Accounting Policies [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OrganizationConsolidationBasisOfPresentationBusinessDescriptionAndAccountingPoliciesTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:label="us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:to="us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> INVESTMENTS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" xlink:label="us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" xlink:to="us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> INVESTMENTS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredPolicyAcquisitionCostsDisclosuresAbstract" xlink:label="us-gaap_DeferredPolicyAcquisitionCostsDisclosuresAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredPolicyAcquisitionCostsDisclosuresAbstract" xlink:to="us-gaap_DeferredPolicyAcquisitionCostsDisclosuresAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredPolicyAcquisitionCostsDisclosuresAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> POLICY ACQUISITION COSTS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredPolicyAcquisitionCostsTextBlock1" xlink:label="us-gaap_DeferredPolicyAcquisitionCostsTextBlock1" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredPolicyAcquisitionCostsTextBlock1" xlink:to="us-gaap_DeferredPolicyAcquisitionCostsTextBlock1_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredPolicyAcquisitionCostsTextBlock1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Policy Acquisition Costs [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredPolicyAcquisitionCostsTextBlock1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> POLICY ACQUISITION COSTS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="us-gaap_DebtDisclosureAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_DebtDisclosureAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtDisclosureAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> DEBT </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtDisclosureTextBlock" xlink:label="us-gaap_DebtDisclosureTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtDisclosureTextBlock" xlink:to="us-gaap_DebtDisclosureTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Disclosure [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> DEBT </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReinsuranceDisclosuresAbstract" xlink:label="us-gaap_ReinsuranceDisclosuresAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReinsuranceDisclosuresAbstract" xlink:to="us-gaap_ReinsuranceDisclosuresAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReinsuranceDisclosuresAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> REINSURANCE </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReinsuranceTextBlock" xlink:label="us-gaap_ReinsuranceTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReinsuranceTextBlock" xlink:to="us-gaap_ReinsuranceTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReinsuranceTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ReinsuranceTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> REINSURANCE </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_HistoricalLossAndLaeDevelopmentDisclosureAbstract" xlink:label="rli_HistoricalLossAndLaeDevelopmentDisclosureAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_HistoricalLossAndLaeDevelopmentDisclosureAbstract" xlink:to="rli_HistoricalLossAndLaeDevelopmentDisclosureAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_HistoricalLossAndLaeDevelopmentDisclosureAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> HISTORICAL LOSS AND LAE DEVELOPMENT </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock" xlink:label="us-gaap_LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock" xlink:to="us-gaap_LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Future Policy Benefits and Unpaid Claims Disclosure [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LiabilityForFuturePolicyBenefitsAndUnpaidClaimsDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> HISTORICAL LOSS AND LAE DEVELOPMENT </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_IncomeTaxDisclosureAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxDisclosureAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> INCOME TAXES </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxDisclosureTextBlock" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxDisclosureTextBlock" xlink:to="us-gaap_IncomeTaxDisclosureTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income Tax Disclosure [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> INCOME TAXES </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CompensationAndRetirementDisclosureAbstract" xlink:label="us-gaap_CompensationAndRetirementDisclosureAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CompensationAndRetirementDisclosureAbstract" xlink:to="us-gaap_CompensationAndRetirementDisclosureAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CompensationAndRetirementDisclosureAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> EMPLOYEE BENEFITS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:to="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Compensation and Employee Benefit Plans [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> EMPLOYEE BENEFITS </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_StatutoryInformationAndDividendRestrictionsDisclosureAbstract" xlink:label="rli_StatutoryInformationAndDividendRestrictionsDisclosureAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_StatutoryInformationAndDividendRestrictionsDisclosureAbstract" xlink:to="rli_StatutoryInformationAndDividendRestrictionsDisclosureAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_StatutoryInformationAndDividendRestrictionsDisclosureAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> STATUTORY INFORMATION AND DIVIDEND RESTRICTIONS </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_StatutoryAccountingPracticesAndDividendPaymentRestrictionsDisclosureTextBlock" xlink:label="rli_StatutoryAccountingPracticesAndDividendPaymentRestrictionsDisclosureTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_StatutoryAccountingPracticesAndDividendPaymentRestrictionsDisclosureTextBlock" xlink:to="rli_StatutoryAccountingPracticesAndDividendPaymentRestrictionsDisclosureTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_StatutoryAccountingPracticesAndDividendPaymentRestrictionsDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Disclosure of how the entity's reporting under GAAP as of the balance sheet date differs from the results based on prescribed and permitted accounting practices of the state or country of domicile in which a relevant statutory filing is made, or differences in results based on the National Association of Insurance Commissioners (NAIC) prescribed practices, or a combination thereof. Describes the accounting practices used and the related monetary effect on statutory surplus, net income, and risk-based capital. If an insurance enterprise's risk-based capital would have triggered a regulatory event had it not used a permitted practice, that fact is disclosed in the financial statements. Permitted statutory accounting practices include practices not prescribed but allowed by the domiciliary state insurance department regulatory authority. Also includes disclosure of statutory restrictions on the payment of dividends as prescribed by the National Association of Insurance Commissioners or state regulatory authorities. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_StatutoryAccountingPracticesAndDividendPaymentRestrictionsDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Statutory Accounting Practices and Dividend Payment Restrictions Disclosure [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_StatutoryAccountingPracticesAndDividendPaymentRestrictionsDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> STATUTORY INFORMATION AND DIVIDEND RESTRICTIONS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> COMMITMENTS AND CONTINGENT LIABILITIES </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Commitments and Contingencies Disclosure [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> COMMITMENTS AND CONTINGENT LIABILITIES </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingAbstract" xlink:label="us-gaap_SegmentReportingAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingAbstract" xlink:to="us-gaap_SegmentReportingAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SegmentReportingAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> OPERATING SEGMENT INFORMATION </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingDisclosureTextBlock" xlink:label="us-gaap_SegmentReportingDisclosureTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingDisclosureTextBlock" xlink:to="us-gaap_SegmentReportingDisclosureTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SegmentReportingDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Segment Reporting Disclosure [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SegmentReportingDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> OPERATING SEGMENT INFORMATION </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_QuarterlyFinancialInformationDisclosureAbstract" xlink:label="us-gaap_QuarterlyFinancialInformationDisclosureAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_QuarterlyFinancialInformationDisclosureAbstract" xlink:to="us-gaap_QuarterlyFinancialInformationDisclosureAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_QuarterlyFinancialInformationDisclosureAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> UNAUDITED INTERIM FINANCIAL INFORMATION </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_QuarterlyFinancialInformationTextBlock" xlink:label="us-gaap_QuarterlyFinancialInformationTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_QuarterlyFinancialInformationTextBlock" xlink:to="us-gaap_QuarterlyFinancialInformationTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_QuarterlyFinancialInformationTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Quarterly Financial Information [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_QuarterlyFinancialInformationTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> UNAUDITED INTERIM FINANCIAL INFORMATION </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesAbstract" xlink:label="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesAbstract" xlink:to="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SCHEDULE I-SUMMARY OF INVESTMENTS-OTHER THAN INVESTMENTS IN RELATED PARTIES </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTextBlock" xlink:label="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTextBlock" xlink:to="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Summary of Investments, Other than Investments in Related Parties [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SCHEDULE I-SUMMARY OF INVESTMENTS-OTHER THAN INVESTMENTS IN RELATED PARTIES </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:label="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:to="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SCHEDULE II-CONDENSED FINANCIAL INFORMATION OF REGISTRANT (PARENT COMPANY) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" xlink:label="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" xlink:to="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Condensed Financial Information of Parent Company Only Disclosure [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SCHEDULE II-CONDENSED FINANCIAL INFORMATION OF REGISTRANT (PARENT COMPANY) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SupplementaryInsuranceInformationAbstract" xlink:label="srt_SupplementaryInsuranceInformationAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SupplementaryInsuranceInformationAbstract" xlink:to="srt_SupplementaryInsuranceInformationAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_SupplementaryInsuranceInformationAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SCHEDULE III-SUPPLEMENTARY INSURANCE INFORMATION </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SupplementaryInsuranceInformationForInsuranceCompaniesDisclosureTextBlock" xlink:label="srt_SupplementaryInsuranceInformationForInsuranceCompaniesDisclosureTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SupplementaryInsuranceInformationForInsuranceCompaniesDisclosureTextBlock" xlink:to="srt_SupplementaryInsuranceInformationForInsuranceCompaniesDisclosureTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_SupplementaryInsuranceInformationForInsuranceCompaniesDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplementary Insurance Information, for Insurance Companies Disclosure [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_SupplementaryInsuranceInformationForInsuranceCompaniesDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SCHEDULE III-SUPPLEMENTARY INSURANCE INFORMATION </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesAbstract" xlink:label="srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesAbstract" xlink:to="srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SCHEDULE IV-REINSURANCE </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesTextBlock" xlink:label="srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesTextBlock" xlink:to="srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplemental Schedule of Reinsurance Premiums for Insurance Companies [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_SupplementalScheduleOfReinsurancePremiumsForInsuranceCompaniesTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SCHEDULE IV-REINSURANCE </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ValuationAndQualifyingAccountsAbstract" xlink:label="srt_ValuationAndQualifyingAccountsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ValuationAndQualifyingAccountsAbstract" xlink:to="srt_ValuationAndQualifyingAccountsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ValuationAndQualifyingAccountsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SCHEDULE V-VALUATION AND QUALIFYING ACCOUNTS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ScheduleOfValuationAndQualifyingAccountsDisclosureTextBlock" xlink:label="srt_ScheduleOfValuationAndQualifyingAccountsDisclosureTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ScheduleOfValuationAndQualifyingAccountsDisclosureTextBlock" xlink:to="srt_ScheduleOfValuationAndQualifyingAccountsDisclosureTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ScheduleOfValuationAndQualifyingAccountsDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Valuation and Qualifying Accounts Disclosure [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_ScheduleOfValuationAndQualifyingAccountsDisclosureTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SCHEDULE V-VALUATION AND QUALIFYING ACCOUNTS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersAbstract" xlink:label="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersAbstract" xlink:to="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SCHEDULE VI-SUPPLEMENTARY INFORMATION CONCERNING PROPERTY-CASUALTY INSURANCE OPERATIONS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ScheduleOfSupplementalInformationForPropertyCasualtyInsuranceUnderwritersTextBlock" xlink:label="srt_ScheduleOfSupplementalInformationForPropertyCasualtyInsuranceUnderwritersTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ScheduleOfSupplementalInformationForPropertyCasualtyInsuranceUnderwritersTextBlock" xlink:to="srt_ScheduleOfSupplementalInformationForPropertyCasualtyInsuranceUnderwritersTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ScheduleOfSupplementalInformationForPropertyCasualtyInsuranceUnderwritersTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Supplemental Information for Property, Casualty Insurance Underwriters [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_ScheduleOfSupplementalInformationForPropertyCasualtyInsuranceUnderwritersTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SCHEDULE VI-SUPPLEMENTARY INFORMATION CONCERNING PROPERTY-CASUALTY INSURANCE OPERATIONS </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DescriptionOfBusinessPolicyPolicyTextBlock" xlink:label="rli_DescriptionOfBusinessPolicyPolicyTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DescriptionOfBusinessPolicyPolicyTextBlock" xlink:to="rli_DescriptionOfBusinessPolicyPolicyTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_DescriptionOfBusinessPolicyPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Disclosure of accounting basis for description of business and operations. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DescriptionOfBusinessPolicyPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Description Of Business Policy Policy Text Block </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_DescriptionOfBusinessPolicyPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> DESCRIPTION OF BUSINESS </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PrinciplesOfConsolidationAndBasisOfPresentationPolicyPolicyTextBlock" xlink:label="rli_PrinciplesOfConsolidationAndBasisOfPresentationPolicyPolicyTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PrinciplesOfConsolidationAndBasisOfPresentationPolicyPolicyTextBlock" xlink:to="rli_PrinciplesOfConsolidationAndBasisOfPresentationPolicyPolicyTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PrinciplesOfConsolidationAndBasisOfPresentationPolicyPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting. The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary. The accounting policy also discloses the basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS). </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PrinciplesOfConsolidationAndBasisOfPresentationPolicyPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Principles Of Consolidation And Basis Of Presentation Policy Policy Text Block </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_PrinciplesOfConsolidationAndBasisOfPresentationPolicyPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> PRINCIPLES OF CONSOLIDATION AND BASIS OF PRESENTATION </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:to="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> New Accounting Pronouncements, Policy [Policy Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> ADOPTED ACCOUNTING STANDARDS </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ProspectiveAccountingStandardsPolicyPolicyTextBlock" xlink:label="rli_ProspectiveAccountingStandardsPolicyPolicyTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ProspectiveAccountingStandardsPolicyPolicyTextBlock" xlink:to="rli_ProspectiveAccountingStandardsPolicyPolicyTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ProspectiveAccountingStandardsPolicyPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Disclosure of accounting policy pertaining to prospective accounting standards that have not been early-adopted and may or may not have a material effect on the Company's financial statements. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ProspectiveAccountingStandardsPolicyPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Prospective Accounting Standards Policy Policy Text Block </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ProspectiveAccountingStandardsPolicyPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> PROSPECTIVE ACCOUNTING STANDARDS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentPolicyTextBlock" xlink:label="us-gaap_InvestmentPolicyTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentPolicyTextBlock" xlink:to="us-gaap_InvestmentPolicyTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment, Policy [Policy Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InvestmentPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> INVESTMENTS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashCashEquivalentsAndShortTermInvestmentsTextBlock" xlink:label="us-gaap_CashCashEquivalentsAndShortTermInvestmentsTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashCashEquivalentsAndShortTermInvestmentsTextBlock" xlink:to="us-gaap_CashCashEquivalentsAndShortTermInvestmentsTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashCashEquivalentsAndShortTermInvestmentsTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash, Cash Equivalents, and Short-term Investments [Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CashCashEquivalentsAndShortTermInvestmentsTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> CASH AND SHORT-TERM INVESTMENTS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReinsuranceAccountingPolicy" xlink:label="us-gaap_ReinsuranceAccountingPolicy" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReinsuranceAccountingPolicy" xlink:to="us-gaap_ReinsuranceAccountingPolicy_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReinsuranceAccountingPolicy_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Accounting Policy [Policy Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ReinsuranceAccountingPolicy_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> REINSURANCE </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CapitalizationOfDeferredPolicyAcquisitionCostsPolicy" xlink:label="us-gaap_CapitalizationOfDeferredPolicyAcquisitionCostsPolicy" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CapitalizationOfDeferredPolicyAcquisitionCostsPolicy" xlink:to="us-gaap_CapitalizationOfDeferredPolicyAcquisitionCostsPolicy_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CapitalizationOfDeferredPolicyAcquisitionCostsPolicy_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Policy Acquisition Costs, Policy [Policy Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CapitalizationOfDeferredPolicyAcquisitionCostsPolicy_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> POLICY ACQUISITION COSTS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:label="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:to="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property, Plant and Equipment, Policy [Policy Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> PROPERTY AND EQUIPMENT </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentsPolicy" xlink:label="us-gaap_EquityMethodInvestmentsPolicy" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentsPolicy" xlink:to="us-gaap_EquityMethodInvestmentsPolicy_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentsPolicy_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Method Investments, Policy [Policy Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestmentsPolicy_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> INVESTMENT IN UNCONSOLIDATED INVESTEES </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock" xlink:label="us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock" xlink:to="us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Goodwill and Intangible Assets, Policy [Policy Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_GoodwillAndIntangibleAssetsPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> INTANGIBLE ASSETS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnpaidPolicyClaimsAndClaimsAdjustmentExpensePolicy" xlink:label="us-gaap_UnpaidPolicyClaimsAndClaimsAdjustmentExpensePolicy" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnpaidPolicyClaimsAndClaimsAdjustmentExpensePolicy" xlink:to="us-gaap_UnpaidPolicyClaimsAndClaimsAdjustmentExpensePolicy_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_UnpaidPolicyClaimsAndClaimsAdjustmentExpensePolicy_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unpaid Policy Claims and Claims Adjustment Expense, Policy [Policy Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_UnpaidPolicyClaimsAndClaimsAdjustmentExpensePolicy_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> UNPAID LOSSES AND SETTLEMENT EXPENSES </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InsurancePremiumsRevenueRecognitionPolicy" xlink:label="us-gaap_InsurancePremiumsRevenueRecognitionPolicy" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InsurancePremiumsRevenueRecognitionPolicy" xlink:to="us-gaap_InsurancePremiumsRevenueRecognitionPolicy_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InsurancePremiumsRevenueRecognitionPolicy_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Insurance Premiums Revenue Recognition, Policy [Policy Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InsurancePremiumsRevenueRecognitionPolicy_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> INSURANCE REVENUE RECOGNITION </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxPolicyTextBlock" xlink:label="us-gaap_IncomeTaxPolicyTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxPolicyTextBlock" xlink:to="us-gaap_IncomeTaxPolicyTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income Tax, Policy [Policy Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> INCOME TAXES </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerSharePolicyTextBlock" xlink:label="us-gaap_EarningsPerSharePolicyTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerSharePolicyTextBlock" xlink:to="us-gaap_EarningsPerSharePolicyTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EarningsPerSharePolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Earnings Per Share, Policy [Policy Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EarningsPerSharePolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> EARNINGS PER SHARE </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityPolicyTextBlock" xlink:label="us-gaap_StockholdersEquityPolicyTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityPolicyTextBlock" xlink:to="us-gaap_StockholdersEquityPolicyTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockholdersEquityPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stockholders' Equity, Policy [Policy Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StockholdersEquityPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> COMPREHENSIVE EARNINGS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:to="us-gaap_FairValueOfFinancialInstrumentsPolicy_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value of Financial Instruments, Policy [Policy Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> FAIR VALUE DISCLOSURES </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy" xlink:label="us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy" xlink:to="us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation, Option and Incentive Plans Policy [Policy Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> STOCK-BASED COMPENSATION </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_RiskAndUncertaintiesPolicyTextBlock" xlink:label="rli_RiskAndUncertaintiesPolicyTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_RiskAndUncertaintiesPolicyTextBlock" xlink:to="rli_RiskAndUncertaintiesPolicyTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_RiskAndUncertaintiesPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Disclosure of accounting policy related to significant risks and uncertainties, including description of strategies to mitigate, quantify and minimize such risks. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_RiskAndUncertaintiesPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Risk and Uncertainties [Policy Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_RiskAndUncertaintiesPolicyTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> RISKS AND UNCERTAINTIES </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_EquityMethodInvestmentsSummarizedFinancialInformationBalanceSheetTableTextBlock" xlink:label="rli_EquityMethodInvestmentsSummarizedFinancialInformationBalanceSheetTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_EquityMethodInvestmentsSummarizedFinancialInformationBalanceSheetTableTextBlock" xlink:to="rli_EquityMethodInvestmentsSummarizedFinancialInformationBalanceSheetTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_EquityMethodInvestmentsSummarizedFinancialInformationBalanceSheetTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Disclosure of summarized balance sheet financial information for investments accounted for using the equity method of accounting. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_EquityMethodInvestmentsSummarizedFinancialInformationBalanceSheetTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Method Investments Summarized Financial Information Balance Sheet [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_EquityMethodInvestmentsSummarizedFinancialInformationBalanceSheetTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of summarized financial information of Maui Jim </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" xlink:label="us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock" xlink:to="us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Intangible Assets and Goodwill [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of goodwill and intangible assets </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:to="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Earnings Per Share, Basic and Diluted [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of reconciliation of numerator and denominator of the basic and diluted earnings per share computations </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock" xlink:label="us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock" xlink:to="us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of changes in the balance of each component of accumulated other comprehensive earnings </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock" xlink:label="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock" xlink:to="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reclassification out of Accumulated Other Comprehensive Income [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of effects of reclassifications out of accumulated other comprehensive earnings </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentIncomeTextBlock" xlink:label="us-gaap_InvestmentIncomeTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentIncomeTextBlock" xlink:to="us-gaap_InvestmentIncomeTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentIncomeTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment Income [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InvestmentIncomeTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of net investment income </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnInvestmentsTextBlock" xlink:label="us-gaap_GainLossOnInvestmentsTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainLossOnInvestmentsTextBlock" xlink:to="us-gaap_GainLossOnInvestmentsTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GainLossOnInvestmentsTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Gain (Loss) on Investments [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_GainLossOnInvestmentsTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of pretax net realized investment gains (losses) and net changes in unrealized gains (losses) on investments </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfRealizedGainLossTableTextBlock" xlink:label="us-gaap_ScheduleOfRealizedGainLossTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfRealizedGainLossTableTextBlock" xlink:to="us-gaap_ScheduleOfRealizedGainLossTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfRealizedGainLossTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Realized Gain (Loss) [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfRealizedGainLossTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of disposition of fixed maturities and equities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock" xlink:label="us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock" xlink:to="us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value, Assets Measured on Recurring Basis [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of assets measured at fair value on recurring basis </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock" xlink:label="us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock" xlink:to="us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investments Classified by Contractual Maturity Date [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of contractual maturity of securities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock" xlink:label="us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock" xlink:to="us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Available-for-sale Securities Reconciliation [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfAvailableForSaleSecuritiesReconciliationTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of amortized cost and fair value of available-for-sale securities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock" xlink:label="us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock" xlink:to="us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Unrealized Loss on Investments [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of securities in an unrealized loss position segregated by type and length of time in an unrealized loss position </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredPolicyAcquisitionCostsTableTextBlock" xlink:label="us-gaap_DeferredPolicyAcquisitionCostsTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredPolicyAcquisitionCostsTableTextBlock" xlink:to="us-gaap_DeferredPolicyAcquisitionCostsTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredPolicyAcquisitionCostsTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Policy Acquisition Costs [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredPolicyAcquisitionCostsTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of policy acquisition costs deferred and amortized to income </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectsOfReinsuranceTableTextBlock" xlink:label="us-gaap_EffectsOfReinsuranceTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectsOfReinsuranceTableTextBlock" xlink:to="us-gaap_EffectsOfReinsuranceTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectsOfReinsuranceTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effects of Reinsurance [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EffectsOfReinsuranceTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of premiums written and earned along with losses and settlement expenses incurred </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfCededCreditRiskByReinsurerTextBlock" xlink:label="us-gaap_ScheduleOfCededCreditRiskByReinsurerTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfCededCreditRiskByReinsurerTextBlock" xlink:to="us-gaap_ScheduleOfCededCreditRiskByReinsurerTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfCededCreditRiskByReinsurerTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded Credit Risk [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfCededCreditRiskByReinsurerTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of net reinsurance balances recoverable, after consideration of collateral, from top 10 reinsurers </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense" xlink:label="us-gaap_ScheduleOfLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense" xlink:to="us-gaap_ScheduleOfLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Liability for Unpaid Claims and Claims Adjustment Expense [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfLiabilityForUnpaidClaimsAndClaimsAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of reconciliation of unpaid losses and settlement expenses (LAE) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTableTextBlock" xlink:label="us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTableTextBlock" xlink:to="us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Claims Development [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of incurred and paid claims development </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTableTextBlock" xlink:label="us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTableTextBlock" xlink:to="us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Reconciliation of Claims Development to Liability [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of reconciliation of the net incurred and paid loss development tables to the liability for unpaid losses and settlement expenses in the consolidated balance sheet </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ScheduleOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseBySegmentTableTextBlock" xlink:label="rli_ScheduleOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseBySegmentTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ScheduleOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseBySegmentTableTextBlock" xlink:to="rli_ScheduleOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseBySegmentTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ScheduleOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseBySegmentTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Tabular disclosure of the increase or decrease in the liability for unpaid claims and claims adjustment expenses by segment. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ScheduleOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseBySegmentTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Increase (Decrease) in Liability for Unpaid Claims and Claims Adjustment Expense by Segment [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ScheduleOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseBySegmentTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of prior accident years' loss reserve development by segment </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_LiabilityForEnvironmentalAsbestosAndMassTortClaimsTableTextBlock" xlink:label="rli_LiabilityForEnvironmentalAsbestosAndMassTortClaimsTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_LiabilityForEnvironmentalAsbestosAndMassTortClaimsTableTextBlock" xlink:to="rli_LiabilityForEnvironmentalAsbestosAndMassTortClaimsTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_LiabilityForEnvironmentalAsbestosAndMassTortClaimsTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Tabular disclosure of paid and unpaid environmental, asbestos and mass tort claims data, including incurred but not reported losses. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_LiabilityForEnvironmentalAsbestosAndMassTortClaimsTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Environmental Asbestos and Mass Tort Claims [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_LiabilityForEnvironmentalAsbestosAndMassTortClaimsTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of paid and unpaid environmental, asbestos and mass tort claims data (including incurred but not reported losses) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock" xlink:label="us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock" xlink:to="us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Deferred Tax Assets and Liabilities [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of deferred tax assets and deferred tax liabilities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock" xlink:label="us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock" xlink:to="us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Effective Income Tax Rate Reconciliation [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of reconciliation of income tax expense attributable to income from operations with amounts computed by applying the U.S. federal tax rate to pretax income from continuing operations </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" xlink:label="us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" xlink:to="us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Share-based Compensation, Stock Options, Activity [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of stock option activity </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock" xlink:label="us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock" xlink:to="us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Share-based Payment Award, Stock Options, Valuation Assumptions [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of stock option assumptions for fair value estimate </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ScheduleOfStatutorySurplusAndNetIncomeTableTextBlock" xlink:label="rli_ScheduleOfStatutorySurplusAndNetIncomeTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ScheduleOfStatutorySurplusAndNetIncomeTableTextBlock" xlink:to="rli_ScheduleOfStatutorySurplusAndNetIncomeTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ScheduleOfStatutorySurplusAndNetIncomeTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Tabular disclosure of the reported amounts of statutory surplus and net income or loss. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ScheduleOfStatutorySurplusAndNetIncomeTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Statutory Surplus and Net Income [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ScheduleOfStatutorySurplusAndNetIncomeTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of selected information for insurance subsidiaries </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ScheduleOfFutureMinimumLeasePaymentsForCapitalAndOperatingLeasesTableTextBlock" xlink:label="rli_ScheduleOfFutureMinimumLeasePaymentsForCapitalAndOperatingLeasesTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ScheduleOfFutureMinimumLeasePaymentsForCapitalAndOperatingLeasesTableTextBlock" xlink:to="rli_ScheduleOfFutureMinimumLeasePaymentsForCapitalAndOperatingLeasesTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ScheduleOfFutureMinimumLeasePaymentsForCapitalAndOperatingLeasesTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Tabular disclosure of future minimum payments required in the aggregate and for each of the five succeeding fiscal years for capital and operating leases having initial or remaining non-cancelable lease terms in excess of one year. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ScheduleOfFutureMinimumLeasePaymentsForCapitalAndOperatingLeasesTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Future Minimum Lease Payments for Capital and Operating Leases [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ScheduleOfFutureMinimumLeasePaymentsForCapitalAndOperatingLeasesTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of minimum future rental payments under noncancellable leases </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Segment Reporting Information, by Segment [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of revenues and net earnings by segment </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock" xlink:to="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Revenue from External Customers by Products and Services [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of net premiums earned by major product type </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfQuarterlyFinancialInformationTableTextBlock" xlink:label="us-gaap_ScheduleOfQuarterlyFinancialInformationTableTextBlock" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfQuarterlyFinancialInformationTableTextBlock" xlink:to="us-gaap_ScheduleOfQuarterlyFinancialInformationTableTextBlock_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfQuarterlyFinancialInformationTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Quarterly Financial Information [Table Text Block] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfQuarterlyFinancialInformationTableTextBlock_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of selected quarterly information </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfProductInformationTable" xlink:label="us-gaap_ScheduleOfProductInformationTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfProductInformationTable" xlink:to="us-gaap_ScheduleOfProductInformationTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfProductInformationTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Product Information [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProductInformationLineItems" xlink:label="us-gaap_ProductInformationLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProductInformationLineItems" xlink:to="us-gaap_ProductInformationLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProductInformationLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Product Information [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProductInformationLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> DESCRIPTION OF BUSINESS </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_NumberOfInsuranceCompaniesThroughWhichOperationsConducted" xlink:label="rli_NumberOfInsuranceCompaniesThroughWhichOperationsConducted" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_NumberOfInsuranceCompaniesThroughWhichOperationsConducted" xlink:to="rli_NumberOfInsuranceCompaniesThroughWhichOperationsConducted_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_NumberOfInsuranceCompaniesThroughWhichOperationsConducted_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the number of insurance companies through which the entity conducts operations. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_NumberOfInsuranceCompaniesThroughWhichOperationsConducted_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Number of Insurance Companies Through which Operations Conducted </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_NumberOfInsuranceCompaniesThroughWhichOperationsConducted_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Number of insurance companies through which the entity conducts operations </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="rli_NumberOfInsuranceCompaniesThroughWhichOperationsConducted_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Number of insurance companies </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NumberOfStatesInWhichEntityOperates" xlink:label="us-gaap_NumberOfStatesInWhichEntityOperates" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NumberOfStatesInWhichEntityOperates" xlink:to="us-gaap_NumberOfStatesInWhichEntityOperates_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NumberOfStatesInWhichEntityOperates_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Number of States in which Entity Operates </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NumberOfStatesInWhichEntityOperates_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Number of states in which entity operates </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable" xlink:to="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> New Accounting Pronouncements or Change in Accounting Principle [Table] </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PercentOfRevenueOutOfScopeOfAsu201409" xlink:label="rli_PercentOfRevenueOutOfScopeOfAsu201409" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PercentOfRevenueOutOfScopeOfAsu201409" xlink:to="rli_PercentOfRevenueOutOfScopeOfAsu201409_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PercentOfRevenueOutOfScopeOfAsu201409_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Percentage of consolidated revenue that is not within the scope of ASU 2014-09. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PercentOfRevenueOutOfScopeOfAsu201409_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Percent of Revenue Out of Scope of ASU 2014-09 </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_UnrealizedGainLossNetOfTaxOnEquitySecuritiesRecognizedInOtherComprehensiveIncome" xlink:label="rli_UnrealizedGainLossNetOfTaxOnEquitySecuritiesRecognizedInOtherComprehensiveIncome" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_UnrealizedGainLossNetOfTaxOnEquitySecuritiesRecognizedInOtherComprehensiveIncome" xlink:to="rli_UnrealizedGainLossNetOfTaxOnEquitySecuritiesRecognizedInOtherComprehensiveIncome_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_UnrealizedGainLossNetOfTaxOnEquitySecuritiesRecognizedInOtherComprehensiveIncome_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount of unrealized gain (loss), net of tax, on investment in equity security measured at fair value with change in fair value recognized in other comprehensive income. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_UnrealizedGainLossNetOfTaxOnEquitySecuritiesRecognizedInOtherComprehensiveIncome_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unrealized Gain (Loss) Net Of Tax On Equity Securities Recognized in Other Comprehensive Income </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseAndRentalExpense" xlink:label="us-gaap_LeaseAndRentalExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LeaseAndRentalExpense" xlink:to="us-gaap_LeaseAndRentalExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LeaseAndRentalExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Operating Leases, Rent Expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LeaseAndRentalExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Expense associated with operating leases </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_Percentageoffixedincomeportfolioratedaorbetter" xlink:label="rli_Percentageoffixedincomeportfolioratedaorbetter" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_Percentageoffixedincomeportfolioratedaorbetter" xlink:to="rli_Percentageoffixedincomeportfolioratedaorbetter_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_Percentageoffixedincomeportfolioratedaorbetter_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the percentage of the fixed income portfolio that is rated A or better. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_Percentageoffixedincomeportfolioratedaorbetter_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Percentage Of Fixed Income Portfolio Rated A Or Better </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> U.S. federal tax rate (as a percent) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Tax rate used (as a percent) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AllocatedShareBasedCompensationExpense" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Allocated Share-based Compensation Expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stock-based compensation expenses (in dollars) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:to="us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property, Plant and Equipment [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_PropertyPlantAndEquipmentByTypeAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property, Plant and Equipment, Type [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="us-gaap_PropertyPlantAndEquipmentTypeDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property Plant And Equipment Type [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property, Plant and Equipment, Type [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquipmentMember" xlink:label="us-gaap_EquipmentMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquipmentMember" xlink:to="us-gaap_EquipmentMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquipmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equipment [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquipmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equipment </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BuildingAndBuildingImprovementsMember" xlink:to="us-gaap_BuildingAndBuildingImprovementsMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Building And Building Improvements [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Buildings and improvements </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="srt_RangeAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_RangeAxis" xlink:to="srt_RangeAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_RangeAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Range [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="srt_RangeMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_RangeMember" xlink:to="srt_RangeMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_RangeMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Range [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_RangeMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Range [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="srt_MinimumMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_MinimumMember" xlink:to="srt_MinimumMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_MinimumMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Minimum [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_MinimumMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Minimum </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="srt_MaximumMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_MaximumMember" xlink:to="srt_MaximumMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_MaximumMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Maximum [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_MaximumMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Maximum </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="us-gaap_PropertyPlantAndEquipmentLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property, Plant and Equipment [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> PROPERTY AND EQUIPMENT </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="us-gaap_PropertyPlantAndEquipmentUsefulLife" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:to="us-gaap_PropertyPlantAndEquipmentUsefulLife_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentUsefulLife_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property, Plant and Equipment, Useful Life </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentUsefulLife_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Useful life </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentsTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Equity Method Investments [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Equity Method Investments [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> INVESTMENT IN UNCONSOLIDATED INVESTEES: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Method Investment, Summarized Financial Information, Net Income (Loss) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total investee net income </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_NumberOfInsuranceCarriersCompanyWritesBusinessThrough" xlink:label="rli_NumberOfInsuranceCarriersCompanyWritesBusinessThrough" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_NumberOfInsuranceCarriersCompanyWritesBusinessThrough" xlink:to="rli_NumberOfInsuranceCarriersCompanyWritesBusinessThrough_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_NumberOfInsuranceCarriersCompanyWritesBusinessThrough_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Number of insurance carriers the Company writes business through. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_NumberOfInsuranceCarriersCompanyWritesBusinessThrough_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Number Of Insurance Carriers Company Writes Business Through </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_NumberOfInsuranceCarriersCompanyWritesBusinessThrough_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Number of insurance carriers Company writes through </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:to="us-gaap_EquityMethodInvestmentOwnershipPercentage_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Method Investment, Ownership Percentage </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/positiveLabel" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity ownership interest (as a percent) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ownership percentage </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ReinsuranceTreatyQuotaShareAsPercent" xlink:label="rli_ReinsuranceTreatyQuotaShareAsPercent" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ReinsuranceTreatyQuotaShareAsPercent" xlink:to="rli_ReinsuranceTreatyQuotaShareAsPercent_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ReinsuranceTreatyQuotaShareAsPercent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents information about the percentage of quota share reinsurance treaty entered during the period. A quota share reinsurance treaty is defined as an agreement for the insurer to transfer a percentage of risk to the reinsurer (the Company) within a defined category of business written by the insurer. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ReinsuranceTreatyQuotaShareAsPercent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Treaty Quota Share (as a percent) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ReinsuranceTreatyQuotaShareAsPercent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Percentage of quota share reinsurance treaty, effective January 1, 2014 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssumedPremiumsWritten" xlink:label="us-gaap_AssumedPremiumsWritten" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssumedPremiumsWritten" xlink:to="us-gaap_AssumedPremiumsWritten_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssumedPremiumsWritten_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Assumed Premiums Written </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AssumedPremiumsWritten_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance assumed </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationAbstract" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationAbstract" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Method Investment, Summarized Financial Information [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Additional summarized financial information for investee </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationAssets" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationAssets" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationAssets" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationAssets_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationAssets_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Method Investment, Summarized Financial Information, Assets </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationAssets_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total assets </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationLiabilities" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationLiabilities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationLiabilities" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationLiabilities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Method Investment, Summarized Financial Information, Liabilities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total liabilities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationEquity" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationEquity" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationEquity" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationEquity_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationEquity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Method Investment Summarized Financial Information, Equity </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationEquity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total equity </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" xlink:label="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" xlink:to="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Retained Earnings, Undistributed Earnings from Equity Method Investees </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Undistributed earnings included in retained earnings </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:to="us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Business Acquisitions, by Acquisition [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_StatementBusinessSegmentsAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementBusinessSegmentsAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Segments [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentDomain" xlink:label="us-gaap_SegmentDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentDomain" xlink:to="us-gaap_SegmentDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SegmentDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Segment [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SegmentDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Segments [Domain] </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CasualtySegmentMember" xlink:label="rli_CasualtySegmentMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CasualtySegmentMember" xlink:to="rli_CasualtySegmentMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CasualtySegmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Segment in which the financial information pertaining to insurance coverage damages attributable to liability (such as injuries or illness) is reflected. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CasualtySegmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Casualty Segment [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CasualtySegmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Casualty segment </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="srt_ProductOrServiceAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ProductOrServiceAxis" xlink:to="srt_ProductOrServiceAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ProductOrServiceAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Products and Services [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="srt_ProductsAndServicesDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ProductsAndServicesDomain" xlink:to="srt_ProductsAndServicesDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ProductsAndServicesDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Products And Services [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_ProductsAndServicesDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Products and Services [Domain] </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_EnergySuretyMember" xlink:label="rli_EnergySuretyMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_EnergySuretyMember" xlink:to="rli_EnergySuretyMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_EnergySuretyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the coverage provided to bond holders on energy surety bonds. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_EnergySuretyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Energy Surety [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_EnergySuretyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Energy Surety </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_MiscellaneousAndContractSuretyMember" xlink:label="rli_MiscellaneousAndContractSuretyMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_MiscellaneousAndContractSuretyMember" xlink:to="rli_MiscellaneousAndContractSuretyMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_MiscellaneousAndContractSuretyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the coverage provided to bond holders on miscellaneous and contract surety bonds. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_MiscellaneousAndContractSuretyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Miscellaneous And Contract Surety [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_MiscellaneousAndContractSuretyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Miscellaneous and Contract Surety </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PAndCPackageBusinessMember" xlink:label="rli_PAndCPackageBusinessMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PAndCPackageBusinessMember" xlink:to="rli_PAndCPackageBusinessMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PAndCPackageBusinessMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the small commercial insurance coverage product of the entity. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PAndCPackageBusinessMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> P And C Package Business [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_PAndCPackageBusinessMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Small commercial </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProfessionalMalpracticeLiabilityMember" xlink:label="us-gaap_ProfessionalMalpracticeLiabilityMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProfessionalMalpracticeLiabilityMember" xlink:to="us-gaap_ProfessionalMalpracticeLiabilityMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProfessionalMalpracticeLiabilityMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Professional Malpractice Liability [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProfessionalMalpracticeLiabilityMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Medical professional liability </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="us-gaap_BusinessAcquisitionLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionLineItems" xlink:to="us-gaap_BusinessAcquisitionLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BusinessAcquisitionLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Business Acquisition [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_BusinessAcquisitionLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Business Acquisition [Line Items] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:label="us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract" xlink:to="us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Goodwill and Intangible Assets Disclosure [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Goodwill and Intangible Assets </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Goodwill" xlink:label="us-gaap_Goodwill" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Goodwill" xlink:to="us-gaap_Goodwill_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_Goodwill_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Goodwill </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_Goodwill_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Goodwill </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xlink:label="us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xlink:to="us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> State insurance licenses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="us-gaap_FiniteLivedIntangibleAssetsNet" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FiniteLivedIntangibleAssetsNet" xlink:to="us-gaap_FiniteLivedIntangibleAssetsNet_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FiniteLivedIntangibleAssetsNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Finite-Lived Intangible Assets, Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FiniteLivedIntangibleAssetsNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Definite-lived intangibles, net of accumulated amortization of $3,062 at 12/31/18 and $5,678 at 12/31/17 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:to="us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Finite-Lived Intangible Assets, Accumulated Amortization </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accumulated amortization of definite-lived intangibles </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="us-gaap_IntangibleAssetsNetExcludingGoodwill" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:to="us-gaap_IntangibleAssetsNetExcludingGoodwill_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IntangibleAssetsNetExcludingGoodwill_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Intangible Assets, Net (Excluding Goodwill) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_IntangibleAssetsNetExcludingGoodwill_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total intangibles </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GoodwillImpairedAccumulatedImpairmentLoss" xlink:label="us-gaap_GoodwillImpairedAccumulatedImpairmentLoss" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GoodwillImpairedAccumulatedImpairmentLoss" xlink:to="us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Goodwill, Impaired, Accumulated Impairment Loss </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment" xlink:label="us-gaap_GoodwillAndIntangibleAssetImpairment" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GoodwillAndIntangibleAssetImpairment" xlink:to="us-gaap_GoodwillAndIntangibleAssetImpairment_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GoodwillAndIntangibleAssetImpairment_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Goodwill and Intangible Asset Impairment </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GoodwillImpairmentLoss" xlink:label="us-gaap_GoodwillImpairmentLoss" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GoodwillImpairmentLoss" xlink:to="us-gaap_GoodwillImpairmentLoss_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GoodwillImpairmentLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Goodwill, Impairment Loss </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived" xlink:label="us-gaap_ImpairmentOfIntangibleAssetsFinitelived" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ImpairmentOfIntangibleAssetsFinitelived" xlink:to="us-gaap_ImpairmentOfIntangibleAssetsFinitelived_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ImpairmentOfIntangibleAssetsFinitelived_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Impairment of Intangible Assets, Finite-lived </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="us-gaap_AmortizationOfIntangibleAssets" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AmortizationOfIntangibleAssets" xlink:to="us-gaap_AmortizationOfIntangibleAssets_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AmortizationOfIntangibleAssets_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amortization of Intangible Assets </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AmortizationOfIntangibleAssets_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amortization of intangible assets </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:label="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:to="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Finite-Lived Intangible Assets, Amortization Expense, Next Twelve Months </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:to="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Finite-Lived Intangible Assets, Amortization Expense, Year Two </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:to="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Finite-Lived Intangible Assets, Amortization Expense, Year Three </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="us-gaap_EarningsPerShareAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareAbstract" xlink:to="us-gaap_EarningsPerShareAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EarningsPerShareAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Earnings Per Share [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EarningsPerShareAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Earnings per share: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract" xlink:to="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Income (Loss) Available to Common Stockholders, Basic [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Basic EPS, Income (Numerator) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:to="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Income (Loss) Available to Common Stockholders, Basic </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income available to common shareholders </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract" xlink:to="us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Income (Loss) Available to Common Stockholders, Diluted [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Diluted EPS, Income (Numerator) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xlink:to="us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Income (Loss) Available to Common Stockholders, Diluted </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income available to common shareholders </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract" xlink:to="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Weighted Average Number of Shares Outstanding, Basic [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Basic EPS, Weighted Average Shares (Denominator) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" xlink:label="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract" xlink:to="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Incremental Weighted Average Shares Attributable to Dilutive Effect [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effect of Dilutive Securities, Shares (Denominator) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:to="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Incremental Common Shares Attributable to Dilutive Effect of Share-based Payment Arrangements </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stock options (in shares) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:to="us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accumulated Other Comprehensive Income (Loss) [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis" xlink:label="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis" xlink:to="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reclassification out of Accumulated Other Comprehensive Income [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" xlink:label="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" xlink:to="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reclassification Out Of Accumulated Other Comprehensive Income [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reclassification out of Accumulated Other Comprehensive Income [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember" xlink:label="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember" xlink:to="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reclassification Out Of Accumulated Other Comprehensive Income [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reclassifications out of accumulated other comprehensive earnings </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:label="us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember" xlink:to="us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accumulated Net Unrealized Investment Gain Loss [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unrealized Gains and Losses on Available-for-Sale Securities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:to="us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accumulated Other Comprehensive Income (Loss) [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Changes in the balance of each component of accumulated other comprehensive earnings </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAbstract" xlink:label="us-gaap_ComprehensiveIncomeNetOfTaxAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ComprehensiveIncomeNetOfTaxAbstract" xlink:to="us-gaap_ComprehensiveIncomeNetOfTaxAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ComprehensiveIncomeNetOfTaxAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Comprehensive Income (Loss), Net of Tax, Attributable to Parent [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ComprehensiveIncomeNetOfTaxAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> COMPREHENSIVE EARNINGS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossTax" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossTax_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherComprehensiveIncomeLossTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Comprehensive Income (Loss), Tax </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherComprehensiveIncomeLossTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other comprehensive income (loss), tax </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AccumulatedOtherComprehensiveIncomeLossRollForward" xlink:label="rli_AccumulatedOtherComprehensiveIncomeLossRollForward" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AccumulatedOtherComprehensiveIncomeLossRollForward" xlink:to="rli_AccumulatedOtherComprehensiveIncomeLossRollForward_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AccumulatedOtherComprehensiveIncomeLossRollForward_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AccumulatedOtherComprehensiveIncomeLossRollForward_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accumulated Other Comprehensive Income (Loss) [Roll Forward] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AccumulatedOtherComprehensiveIncomeLossRollForward_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Changes in the balance of each component of accumulated other comprehensive earnings </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoptionOnAccululatedOtherComprehensiveEarningsLoss" xlink:label="rli_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoptionOnAccululatedOtherComprehensiveEarningsLoss" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoptionOnAccululatedOtherComprehensiveEarningsLoss" xlink:to="rli_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoptionOnAccululatedOtherComprehensiveEarningsLoss_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoptionOnAccululatedOtherComprehensiveEarningsLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount after tax of increase (decrease) to AOCI resulting from the cumulative effect adjustment of a new accounting principle applied in the period of adoption. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoptionOnAccululatedOtherComprehensiveEarningsLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cumulative Effect Of New Accounting Principle In Period Of Adoption On Accumulated Other Comprehensive Earnings Loss </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoptionOnAccululatedOtherComprehensiveEarningsLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cumulative effect adjustment of ASU 2016-01 </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAdjustedBalance" xlink:label="rli_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAdjustedBalance" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAdjustedBalance" xlink:to="rli_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAdjustedBalance_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAdjustedBalance_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount of accumulated other comprehensive income (loss), after the cumulative effect adjustment of a new accounting principle applied in the period of adoption. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAdjustedBalance_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accumulated Other Comprehensive Income Loss Net Of Tax Adjusted Balance </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAdjustedBalance_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Adjusted beginning balance </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Comprehensive Income (Loss), before Reclassifications, Net of Tax </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other comprehensive earnings before reclassifications </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xlink:label="us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xlink:to="us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reclassification from Accumulated Other Comprehensive Income, Current Period, Net of Tax </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amounts reclassified from accumulated other comprehensive earnings </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_TaxCutsAndJobsActOf2017ReclassificationFromAociToRetainedEarningsTaxEffect" xlink:label="rli_TaxCutsAndJobsActOf2017ReclassificationFromAociToRetainedEarningsTaxEffect" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_TaxCutsAndJobsActOf2017ReclassificationFromAociToRetainedEarningsTaxEffect" xlink:to="rli_TaxCutsAndJobsActOf2017ReclassificationFromAociToRetainedEarningsTaxEffect_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_TaxCutsAndJobsActOf2017ReclassificationFromAociToRetainedEarningsTaxEffect_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount of increase (decrease) in accumulated other comprehensive income (AOCI) for reclassification to retained earnings of tax effect from remeasurement of deferred tax pursuant to Tax Cuts and Jobs Act of 2017. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_TaxCutsAndJobsActOf2017ReclassificationFromAociToRetainedEarningsTaxEffect_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Tax Cuts And Jobs Act Of 2017 Reclassification From Aoci To Retained Earnings Tax Effect </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_TaxCutsAndJobsActOf2017ReclassificationFromAociToRetainedEarningsTaxEffect_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reclassification of stranded tax effect per ASU 2018-02 </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_RelassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeAbstract" xlink:label="rli_RelassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_RelassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeAbstract" xlink:to="rli_RelassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_RelassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain member defined in one or many axes to the table. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_RelassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reclassification Adjustment Out of Accumulated Other Comprehensive Income Abstract </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForCatastropheClaimsTable" xlink:label="us-gaap_LiabilityForCatastropheClaimsTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForCatastropheClaimsTable" xlink:to="us-gaap_LiabilityForCatastropheClaimsTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForCatastropheClaimsTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Catastrophe Claims [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForCatastropheClaimsByCatastrophicEventAxis" xlink:label="us-gaap_LiabilityForCatastropheClaimsByCatastrophicEventAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForCatastropheClaimsByCatastrophicEventAxis" xlink:to="us-gaap_LiabilityForCatastropheClaimsByCatastrophicEventAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForCatastropheClaimsByCatastrophicEventAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Catastrophic Event [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CatastrophicEventDomain" xlink:label="us-gaap_CatastrophicEventDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CatastrophicEventDomain" xlink:to="us-gaap_CatastrophicEventDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CatastrophicEventDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Catastrophic Event [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CatastrophicEventDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Catastrophic Event [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarthquakeMember" xlink:label="us-gaap_EarthquakeMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarthquakeMember" xlink:to="us-gaap_EarthquakeMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EarthquakeMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Earthquake [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EarthquakeMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Earthquake </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_EarthquakeInCaliforniaMember" xlink:label="rli_EarthquakeInCaliforniaMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_EarthquakeInCaliforniaMember" xlink:to="rli_EarthquakeInCaliforniaMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_EarthquakeInCaliforniaMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> A sudden movement of the earth's crust in California. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_EarthquakeInCaliforniaMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Earthquake In California [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_EarthquakeInCaliforniaMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> California earthquake </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_EarthquakeInNonCaliforniaMember" xlink:label="rli_EarthquakeInNonCaliforniaMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_EarthquakeInNonCaliforniaMember" xlink:to="rli_EarthquakeInNonCaliforniaMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_EarthquakeInNonCaliforniaMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> A sudden movement of the earth's crust outside of California. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_EarthquakeInNonCaliforniaMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Earthquake In Non California [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_EarthquakeInNonCaliforniaMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Non-California earthquake </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_OtherPerilsMember" xlink:label="rli_OtherPerilsMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_OtherPerilsMember" xlink:to="rli_OtherPerilsMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_OtherPerilsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents catastrophic perils other than earthquakes. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_OtherPerilsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Perils [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_OtherPerilsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other perils </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForCatastropheClaimsLineItems" xlink:label="us-gaap_LiabilityForCatastropheClaimsLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForCatastropheClaimsLineItems" xlink:to="us-gaap_LiabilityForCatastropheClaimsLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForCatastropheClaimsLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Catastrophe Claims [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LiabilityForCatastropheClaimsLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Catastrophe Exposures </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CatastropheReinsuranceAmount" xlink:label="rli_CatastropheReinsuranceAmount" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CatastropheReinsuranceAmount" xlink:to="rli_CatastropheReinsuranceAmount_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CatastropheReinsuranceAmount_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the amount of catastrophe exposure covered by catastrophe reinsurance protection. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CatastropheReinsuranceAmount_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Catastrophe Reinsurance Amount </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CatastropheReinsuranceAmount_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Catastrophe reinsurance </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CatastropheReinsuranceFirstDollarRetention" xlink:label="rli_CatastropheReinsuranceFirstDollarRetention" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CatastropheReinsuranceFirstDollarRetention" xlink:to="rli_CatastropheReinsuranceFirstDollarRetention_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CatastropheReinsuranceFirstDollarRetention_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the amount of first-dollar liability retained by the entity on catastrophe exposures under reinsurance protection. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CatastropheReinsuranceFirstDollarRetention_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Catastrophe Reinsurance First Dollar Retention </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CatastropheReinsuranceFirstDollarRetention_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> First-dollar retention </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable" xlink:label="us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable" xlink:to="us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment Income [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="us-gaap_InvestmentTypeAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentTypeAxis" xlink:to="us-gaap_InvestmentTypeAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentTypeAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment Type [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="us-gaap_InvestmentTypeCategorizationMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentTypeCategorizationMember" xlink:to="us-gaap_InvestmentTypeCategorizationMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentTypeCategorizationMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment Type Categorization [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InvestmentTypeCategorizationMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investments [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="us-gaap_DebtSecuritiesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtSecuritiesMember" xlink:to="us-gaap_DebtSecuritiesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Securities [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt securities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="us-gaap_EquitySecuritiesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquitySecuritiesMember" xlink:to="us-gaap_EquitySecuritiesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquitySecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Securities [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquitySecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity securities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsMember" xlink:label="us-gaap_CashAndCashEquivalentsMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsMember" xlink:to="us-gaap_CashAndCashEquivalentsMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashAndCashEquivalentsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash And Cash Equivalents [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CashAndCashEquivalentsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash and Short-term Investments </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems" xlink:label="us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems" xlink:to="us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net Investment Income [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net investment income </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="us-gaap_InterestAndDividendIncomeOperating" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InterestAndDividendIncomeOperating" xlink:to="us-gaap_InterestAndDividendIncomeOperating_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InterestAndDividendIncomeOperating_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Interest and Dividend Income, Operating </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InterestAndDividendIncomeOperating_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Gross investment income </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentIncomeInvestmentExpense" xlink:label="us-gaap_InvestmentIncomeInvestmentExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentIncomeInvestmentExpense" xlink:to="us-gaap_InvestmentIncomeInvestmentExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentIncomeInvestmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment Income, Investment Expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_InvestmentIncomeInvestmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Less investment expenses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentTable" xlink:label="invest_InvestmentTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="invest_InvestmentTable" xlink:to="invest_InvestmentTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="invest_InvestmentTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment [Table] </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_OtherInvestmentMember" xlink:label="rli_OtherInvestmentMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_OtherInvestmentMember" xlink:to="rli_OtherInvestmentMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_OtherInvestmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents information pertaining to other items not specified elsewhere in the taxonomy. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_OtherInvestmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Investment [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_OtherInvestmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityMethodInvestmentsMember" xlink:label="us-gaap_EquityMethodInvestmentsMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentsMember" xlink:to="us-gaap_EquityMethodInvestmentsMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Method Investments [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestmentsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Method Investments [Member] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentSecondaryCategorizationAxis" xlink:label="us-gaap_InvestmentSecondaryCategorizationAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentSecondaryCategorizationAxis" xlink:to="us-gaap_InvestmentSecondaryCategorizationAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentSecondaryCategorizationAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment Secondary Categorization [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentsBySecondaryCategorizationDomain" xlink:label="us-gaap_InvestmentsBySecondaryCategorizationDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentsBySecondaryCategorizationDomain" xlink:to="us-gaap_InvestmentsBySecondaryCategorizationDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentsBySecondaryCategorizationDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investments By Secondary Categorization [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InvestmentsBySecondaryCategorizationDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investments by Secondary Categorization [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableforsaleSecuritiesMember" xlink:label="us-gaap_AvailableforsaleSecuritiesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableforsaleSecuritiesMember" xlink:to="us-gaap_AvailableforsaleSecuritiesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableforsaleSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Availableforsale Securities [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableforsaleSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available for sale securities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentLineItems" xlink:label="invest_InvestmentLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="invest_InvestmentLineItems" xlink:to="invest_InvestmentLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="invest_InvestmentLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="invest_InvestmentLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> INVESTMENTS </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="invest_InvestmentLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Summary of the disposition of fixed maturities and equities </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_UnrealizedGainsLossesOnMarketableSecuritiesCostMethodInvestmentsAndOtherInvestments" xlink:label="rli_UnrealizedGainsLossesOnMarketableSecuritiesCostMethodInvestmentsAndOtherInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_UnrealizedGainsLossesOnMarketableSecuritiesCostMethodInvestmentsAndOtherInvestments" xlink:to="rli_UnrealizedGainsLossesOnMarketableSecuritiesCostMethodInvestmentsAndOtherInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_UnrealizedGainsLossesOnMarketableSecuritiesCostMethodInvestmentsAndOtherInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> The aggregate net change in the difference between the fair value and the carrying value, or in the comparative fair values, of marketable securities and/or any unrealized gains or losses on investments that are separately or otherwise not categorized as trading, available-for-sale or held-to-maturity. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_UnrealizedGainsLossesOnMarketableSecuritiesCostMethodInvestmentsAndOtherInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unrealized Gains (Losses) on Marketable Securities, Cost Method Investments and Other Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_UnrealizedGainsLossesOnMarketableSecuritiesCostMethodInvestmentsAndOtherInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net changes in unrealized gains (losses) on investments: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnInvestments" xlink:label="us-gaap_GainLossOnInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainLossOnInvestments" xlink:to="us-gaap_GainLossOnInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GainLossOnInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Gain (Loss) on Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_GainLossOnInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net realized gains (losses) and changes in unrealized gains (losses) on investments </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_TypeOfTransactionAxis" xlink:label="rli_TypeOfTransactionAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_TypeOfTransactionAxis" xlink:to="rli_TypeOfTransactionAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_TypeOfTransactionAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> A categorization of types of transactions entered into by the entity. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_TypeOfTransactionAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Type Of Transaction [Axis] </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_TypeOfTransactionDomain" xlink:label="rli_TypeOfTransactionDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_TypeOfTransactionDomain" xlink:to="rli_TypeOfTransactionDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_TypeOfTransactionDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Identification of the types of transactions entered into by the entity. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_TypeOfTransactionDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Type Of Transaction [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_TypeOfTransactionDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Type of Transaction [Domain] </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_SalesOfMarketableSecuritiesMember" xlink:label="rli_SalesOfMarketableSecuritiesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_SalesOfMarketableSecuritiesMember" xlink:to="rli_SalesOfMarketableSecuritiesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_SalesOfMarketableSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents sales of marketable securities. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_SalesOfMarketableSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Sales Of Marketable Securities [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_SalesOfMarketableSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SALES </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CallsAndMaturitiesOfMarketableSecuritiesMember" xlink:label="rli_CallsAndMaturitiesOfMarketableSecuritiesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CallsAndMaturitiesOfMarketableSecuritiesMember" xlink:to="rli_CallsAndMaturitiesOfMarketableSecuritiesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CallsAndMaturitiesOfMarketableSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents calls and maturities of marketable securities. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CallsAndMaturitiesOfMarketableSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Calls And Maturities Of Marketable Securities [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CallsAndMaturitiesOfMarketableSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> CALLS/MATURITIES </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments" xlink:label="us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments" xlink:to="us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from Sale, Maturity and Collection of Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds From Sales </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainOnSaleOfInvestments" xlink:label="us-gaap_GainOnSaleOfInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainOnSaleOfInvestments" xlink:to="us-gaap_GainOnSaleOfInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GainOnSaleOfInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Gain on Sale of Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_GainOnSaleOfInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Gross Realized Gains </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossOnSaleOfInvestments" xlink:label="us-gaap_LossOnSaleOfInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LossOnSaleOfInvestments" xlink:to="us-gaap_LossOnSaleOfInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LossOnSaleOfInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Loss on Sale of Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_LossOnSaleOfInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Gross Realized Losses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MarketableSecuritiesRealizedGainLossExcludingOtherThanTemporaryImpairments" xlink:label="us-gaap_MarketableSecuritiesRealizedGainLossExcludingOtherThanTemporaryImpairments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MarketableSecuritiesRealizedGainLossExcludingOtherThanTemporaryImpairments" xlink:to="us-gaap_MarketableSecuritiesRealizedGainLossExcludingOtherThanTemporaryImpairments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MarketableSecuritiesRealizedGainLossExcludingOtherThanTemporaryImpairments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Marketable Securities, Realized Gain (Loss), Excluding Other than Temporary Impairments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_MarketableSecuritiesRealizedGainLossExcludingOtherThanTemporaryImpairments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Marketable Securities, Realized Gain (Loss), Excluding Other than Temporary Impairments, Total </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value Measurements, Recurring and Nonrecurring [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Assets measured at Fair Value </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="us-gaap_AssetsFairValueDisclosure" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsFairValueDisclosure" xlink:to="us-gaap_AssetsFairValueDisclosure_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssetsFairValueDisclosure_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Assets Fair Value Disclosure </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_AssetsFairValueDisclosure_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total assets at fair value </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsLevel1ToLevel2TransfersAmount" xlink:label="us-gaap_FairValueAssetsLevel1ToLevel2TransfersAmount" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueAssetsLevel1ToLevel2TransfersAmount" xlink:to="us-gaap_FairValueAssetsLevel1ToLevel2TransfersAmount_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueAssetsLevel1ToLevel2TransfersAmount_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value, Assets, Level 1 to Level 2 Transfers, Amount </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueAssetsLevel1ToLevel2TransfersAmount_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Transfers in (out of) level 1 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsLevel2ToLevel1TransfersAmount" xlink:label="us-gaap_FairValueAssetsLevel2ToLevel1TransfersAmount" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueAssetsLevel2ToLevel1TransfersAmount" xlink:to="us-gaap_FairValueAssetsLevel2ToLevel1TransfersAmount_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueAssetsLevel2ToLevel1TransfersAmount_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value, Assets, Level 2 to Level 1 Transfers, Amount </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueAssetsLevel2ToLevel1TransfersAmount_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Transfers in (out of) level 2 </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_MortgageBackedAndAssetBackedSecuritiesAndCommercialMortgageBackedSecuritiesMember" xlink:label="rli_MortgageBackedAndAssetBackedSecuritiesAndCommercialMortgageBackedSecuritiesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_MortgageBackedAndAssetBackedSecuritiesAndCommercialMortgageBackedSecuritiesMember" xlink:to="rli_MortgageBackedAndAssetBackedSecuritiesAndCommercialMortgageBackedSecuritiesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_MortgageBackedAndAssetBackedSecuritiesAndCommercialMortgageBackedSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> This category includes information about securities collateralized by mortgage loans and securities collateralized by commercial real estate mortgage loans. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_MortgageBackedAndAssetBackedSecuritiesAndCommercialMortgageBackedSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Mortgage Backed And Asset Backed Securities And Commercial Mortgage Backed Securities [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_MortgageBackedAndAssetBackedSecuritiesAndCommercialMortgageBackedSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Mtge/ABS/CMBS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Securities, Available-for-sale, Amortized Cost, Fiscal Year Maturity [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amortized cost of available-for-sale debt securities by contractual maturity </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale Securities, Debt Maturities, Next Twelve Months, Amortized Cost Basis </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Due in one year or less </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale Securities, Debt Maturities, Year Two Through Five, Amortized Cost Basis </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Due after one year through five years </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale Securities, Debt Maturities, Year Six Through Ten, Amortized Cost Basis </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Due after five years through 10 years </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale Securities, Debt Maturities, after Ten Years, Amortized Cost Basis </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Due after 10 years </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Securities, Available-for-sale, Fair Value, Fiscal Year Maturity [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair value of available-for-sale debt securities by contractual maturity </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale Securities, Debt Maturities, Next Twelve Months, Fair Value </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Due in one year or less </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale Securities, Debt Maturities, Year Two Through Five, Fair Value </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Due after one year through five years </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale Securities, Debt Maturities, Year Six Through Ten, Fair Value </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Due after five years through 10 years </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:to="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale Securities, Debt Maturities, after Ten Years, Fair Value </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Due after 10 years </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="us-gaap_USTreasurySecuritiesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_USTreasurySecuritiesMember" xlink:to="us-gaap_USTreasurySecuritiesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_USTreasurySecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> U S Treasury Securities [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_USTreasurySecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> U.S. government </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:to="us-gaap_USGovernmentAgenciesDebtSecuritiesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_USGovernmentAgenciesDebtSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> U S Government Agencies Debt Securities [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_USGovernmentAgenciesDebtSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> U.S. Agency </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeignGovernmentDebtSecuritiesMember" xlink:label="us-gaap_ForeignGovernmentDebtSecuritiesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ForeignGovernmentDebtSecuritiesMember" xlink:to="us-gaap_ForeignGovernmentDebtSecuritiesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ForeignGovernmentDebtSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Foreign Government Debt Securities [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ForeignGovernmentDebtSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Non-U.S. govt. & agency </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_MortgageBackedAndAssetBackedSecuritiesAndCollateralizedMortgageObligationsMember" xlink:label="rli_MortgageBackedAndAssetBackedSecuritiesAndCollateralizedMortgageObligationsMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_MortgageBackedAndAssetBackedSecuritiesAndCollateralizedMortgageObligationsMember" xlink:to="rli_MortgageBackedAndAssetBackedSecuritiesAndCollateralizedMortgageObligationsMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_MortgageBackedAndAssetBackedSecuritiesAndCollateralizedMortgageObligationsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> This category includes information about securities collateralized by mortgage loans (mortgages) and asset backed securities that are primarily serviced by cash flows of a discrete pool of receivables or other financial assets (such as mortgage loans or credit-card receivables) and multiclass, pay-through securitizations collateralized by mortgages. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_MortgageBackedAndAssetBackedSecuritiesAndCollateralizedMortgageObligationsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Mortgage Backed And Asset Backed Securities And Collateralized Mortgage Obligations [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_MortgageBackedAndAssetBackedSecuritiesAndCollateralizedMortgageObligationsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Mtge/ABS/CMO </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="us-gaap_MortgageBackedSecuritiesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MortgageBackedSecuritiesMember" xlink:to="us-gaap_MortgageBackedSecuritiesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MortgageBackedSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Mortgage Backed Securities [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_MortgageBackedSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Mortgage-backed </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AssetBackedSecuritiesAndCommercialMortgageBackedSecuritiesMember" xlink:label="rli_AssetBackedSecuritiesAndCommercialMortgageBackedSecuritiesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AssetBackedSecuritiesAndCommercialMortgageBackedSecuritiesMember" xlink:to="rli_AssetBackedSecuritiesAndCommercialMortgageBackedSecuritiesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AssetBackedSecuritiesAndCommercialMortgageBackedSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> This category includes information about asset backed securities that are primarily serviced by cash flows of a discrete pool of receivables or other financial assets (such as credit card receivables, car loans, recreational vehicle loans, mobile home loans) and securities collateralized by commercial real estate mortgage loans. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AssetBackedSecuritiesAndCommercialMortgageBackedSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Asset Backed Securities And Commercial Mortgage Backed Securities [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AssetBackedSecuritiesAndCommercialMortgageBackedSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> ABS/CMBS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="us-gaap_CorporateDebtSecuritiesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CorporateDebtSecuritiesMember" xlink:to="us-gaap_CorporateDebtSecuritiesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CorporateDebtSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Corporate Debt Securities [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CorporateDebtSecuritiesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Corporate Debt </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MunicipalBondsMember" xlink:label="us-gaap_MunicipalBondsMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MunicipalBondsMember" xlink:to="us-gaap_MunicipalBondsMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MunicipalBondsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Municipal Bonds [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_MunicipalBondsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Municipal </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract" xlink:label="us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract" xlink:to="us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale Securities [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesFairValueToAmortizedCostBasisAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestments" xlink:label="rli_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestments" xlink:to="rli_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount of accumulated unrealized gain before deducting unrealized loss on investments in available-for-sale securities impacting investments. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available For Sale Securities Gross Unrealized Gain Accumulated in Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AvailableForSaleSecuritiesGrossUnrealizedGainAccumulatedInInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Gross Unrealized Gains </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestments" xlink:label="rli_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestments" xlink:to="rli_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount of accumulated unrealized loss before deducting unrealized gain on investments in available-for-sale securities impacting investments. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available For Sale Securities Gross Unrealized Loss Accumulated in Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="rli_AvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Gross Unrealized Losses </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_IncreaseDecreaseInAvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInvestments" xlink:label="rli_IncreaseDecreaseInAvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_IncreaseDecreaseInAvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInvestments" xlink:to="rli_IncreaseDecreaseInAvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_IncreaseDecreaseInAvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (decrease) in amount of accumulated unrealized loss before deducting unrealized gain on investment in available-for-sale securities impacting investments during the period. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_IncreaseDecreaseInAvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase Decrease In Available For Sale Securities Gross Unrealized Loss Accumulated Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_IncreaseDecreaseInAvailableForSaleSecuritiesGrossUnrealizedLossAccumulatedInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (decrease) in Gross Unrealized Losses </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_GeneralObligationsToStateAndLocalGovernmentsPercentage" xlink:label="rli_GeneralObligationsToStateAndLocalGovernmentsPercentage" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_GeneralObligationsToStateAndLocalGovernmentsPercentage" xlink:to="rli_GeneralObligationsToStateAndLocalGovernmentsPercentage_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_GeneralObligationsToStateAndLocalGovernmentsPercentage_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents percentage of the municipal fixed income securities in the investment portfolio that are general obligations of state and local governments. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_GeneralObligationsToStateAndLocalGovernmentsPercentage_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> General Obligations To State And Local Governments Percentage </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_GeneralObligationsToStateAndLocalGovernmentsPercentage_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> General obligations to state and local governments Percentage </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_RevenueBasedObligationsPercentage" xlink:label="rli_RevenueBasedObligationsPercentage" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_RevenueBasedObligationsPercentage" xlink:to="rli_RevenueBasedObligationsPercentage_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_RevenueBasedObligationsPercentage_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents percentage of the municipal fixed income securities in the investment portfolio that are revenue based. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_RevenueBasedObligationsPercentage_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Revenue Based Obligations Percentage </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_RevenueBasedObligationsPercentage_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Revenue based obligations percentage </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AvailableForSaleSecuritiesPercentageOfSecuritiesRatedAsAAOrBetter" xlink:label="rli_AvailableForSaleSecuritiesPercentageOfSecuritiesRatedAsAAOrBetter" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AvailableForSaleSecuritiesPercentageOfSecuritiesRatedAsAAOrBetter" xlink:to="rli_AvailableForSaleSecuritiesPercentageOfSecuritiesRatedAsAAOrBetter_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AvailableForSaleSecuritiesPercentageOfSecuritiesRatedAsAAOrBetter_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the percentage of securities of portfolio rated as AA or better, which are categorized neither as held-to-maturity nor trading securities. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AvailableForSaleSecuritiesPercentageOfSecuritiesRatedAsAAOrBetter_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available for Sale Securities Percentage of Securities Rated as AA or Better </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AvailableForSaleSecuritiesPercentageOfSecuritiesRatedAsAAOrBetter_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Percentage of securities of portfolio rated as AA or better </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AvailableForSaleSecuritiesPercentageOfSecuritiesRatedAsAOrBetter" xlink:label="rli_AvailableForSaleSecuritiesPercentageOfSecuritiesRatedAsAOrBetter" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AvailableForSaleSecuritiesPercentageOfSecuritiesRatedAsAOrBetter" xlink:to="rli_AvailableForSaleSecuritiesPercentageOfSecuritiesRatedAsAOrBetter_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AvailableForSaleSecuritiesPercentageOfSecuritiesRatedAsAOrBetter_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the percentage of securities of portfolio rated as A or better, which are categorized neither as held-to-maturity nor trading securities. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AvailableForSaleSecuritiesPercentageOfSecuritiesRatedAsAOrBetter_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available for Sale Securities Percentage of Securities Rated as A or Better </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AvailableForSaleSecuritiesPercentageOfSecuritiesRatedAsAOrBetter_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Percentage of securities of portfolio rated as A or better </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_InvestmentsGrossUnrealizedLosses" xlink:label="rli_InvestmentsGrossUnrealizedLosses" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_InvestmentsGrossUnrealizedLosses" xlink:to="rli_InvestmentsGrossUnrealizedLosses_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_InvestmentsGrossUnrealizedLosses_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the gross unrealized losses on investments as of the balance sheet date. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_InvestmentsGrossUnrealizedLosses_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investments Gross, Unrealized Losses </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_InvestmentsGrossUnrealizedLosses_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Gross Unrealized Losses </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AvailableForSaleSecuritiesGrossUnrealizedGainLossAccumulatedInInvestments" xlink:label="rli_AvailableForSaleSecuritiesGrossUnrealizedGainLossAccumulatedInInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AvailableForSaleSecuritiesGrossUnrealizedGainLossAccumulatedInInvestments" xlink:to="rli_AvailableForSaleSecuritiesGrossUnrealizedGainLossAccumulatedInInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AvailableForSaleSecuritiesGrossUnrealizedGainLossAccumulatedInInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net amount of the difference between the fair value and market value on investments in available-for-sale securities. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AvailableForSaleSecuritiesGrossUnrealizedGainLossAccumulatedInInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale Securities Gross Unrealized Gain Loss Accumulated in Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AvailableForSaleSecuritiesGrossUnrealizedGainLossAccumulatedInInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net unrealized appreciation of available-for-sale fixed income securities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtSecuritiesAvailableForSaleTable" xlink:to="us-gaap_DebtSecuritiesAvailableForSaleTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Securities, Available-for-sale [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="us-gaap_FinancialInstrumentAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinancialInstrumentAxis" xlink:to="us-gaap_FinancialInstrumentAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FinancialInstrumentAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Financial Instrument [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Transfers And Servicing Of Financial Instruments Types Of Financial Instruments [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Major Types of Debt and Equity Securities [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Securities, Available-for-sale [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> INVESTMENTS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract" xlink:label="us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract" xlink:to="us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Securities, Available-for-sale, Unrealized Loss Position [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair value </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xlink:to="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Less than 12 months </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger" xlink:to="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> 12 months and greater </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xlink:to="us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Securities, Available-for-sale, Unrealized Loss Position </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total Fair Value </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAmortizedCostAbstract" xlink:label="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAmortizedCostAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAmortizedCostAbstract" xlink:to="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAmortizedCostAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAmortizedCostAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale Securities Continuous Unrealized Loss Position Amortized Cost [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAmortizedCostAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cost or amortized Cost </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsAmortizedCost" xlink:label="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsAmortizedCost" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsAmortizedCost" xlink:to="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsAmortizedCost_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> This item represents the cost of investments in debt securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Less than 12 months </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Less than 12 months </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerAmortizedCost" xlink:label="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerAmortizedCost" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerAmortizedCost" xlink:to="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerAmortizedCost_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> This item represents the cost of investments in debt securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale Securities Continuous Unrealized Loss Position Twelve Months or Longer Amortized Cost </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> 12 months and greater </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAmortizedCost" xlink:label="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAmortizedCost" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAmortizedCost" xlink:to="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAmortizedCost_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> This item represents the cost of investments in debt securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Available-for-sale Securities Continuous Unrealized Loss Position Amortized Cost </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="rli_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAmortizedCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total Cost or Amortized Cost </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract" xlink:label="us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract" xlink:to="us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unrealized Loss </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:to="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Less than 12 months </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:to="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> 12 months and greater </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xlink:to="us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total Unrealized Loss </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentHoldingsTable" xlink:label="us-gaap_InvestmentHoldingsTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentHoldingsTable" xlink:to="us-gaap_InvestmentHoldingsTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentHoldingsTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment Holdings [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentHoldingsLineItems" xlink:label="us-gaap_InvestmentHoldingsLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentHoldingsLineItems" xlink:to="us-gaap_InvestmentHoldingsLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentHoldingsLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment Holdings [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InvestmentHoldingsLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Securities in unrealized loss positions </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_InvestmentHoldingsLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other invested assets </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_InvestmentContinuousUnrealizedLossPositionNumber" xlink:label="rli_InvestmentContinuousUnrealizedLossPositionNumber" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_InvestmentContinuousUnrealizedLossPositionNumber" xlink:to="rli_InvestmentContinuousUnrealizedLossPositionNumber_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_InvestmentContinuousUnrealizedLossPositionNumber_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the number of unrealized loss positions as of the balance sheet date. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_InvestmentContinuousUnrealizedLossPositionNumber_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment Continuous Unrealized Loss Position Number </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_InvestmentContinuousUnrealizedLossPositionNumber_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Number of unrealized loss positions </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_InvestmentContinuousUnrealizedLossPositionTwelveMonthsOrLongerNumber" xlink:label="rli_InvestmentContinuousUnrealizedLossPositionTwelveMonthsOrLongerNumber" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_InvestmentContinuousUnrealizedLossPositionTwelveMonthsOrLongerNumber" xlink:to="rli_InvestmentContinuousUnrealizedLossPositionTwelveMonthsOrLongerNumber_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_InvestmentContinuousUnrealizedLossPositionTwelveMonthsOrLongerNumber_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the number of securities in unrealized loss positions for twelve consecutive months or longer as of the balance sheet date. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_InvestmentContinuousUnrealizedLossPositionTwelveMonthsOrLongerNumber_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment Continuous Unrealized Loss Position, Twelve Months or Longer, Number </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_InvestmentContinuousUnrealizedLossPositionTwelveMonthsOrLongerNumber_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Number of securities in unrealized loss positions for 12 months or longer </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedInvestments" xlink:label="us-gaap_RestrictedInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestrictedInvestments" xlink:to="us-gaap_RestrictedInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RestrictedInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Restricted Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RestrictedInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fixed maturities and short-term investments on deposit with either regulatory authorities or banks </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_FairValueAssetRecurringBasisStillHeldUnrealizedGainLossOci" xlink:label="rli_FairValueAssetRecurringBasisStillHeldUnrealizedGainLossOci" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_FairValueAssetRecurringBasisStillHeldUnrealizedGainLossOci" xlink:to="rli_FairValueAssetRecurringBasisStillHeldUnrealizedGainLossOci_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_FairValueAssetRecurringBasisStillHeldUnrealizedGainLossOci_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount of unrealized gain (loss) recognized in other comprehensive income (OCI) from asset measured at fair value on recurring basis using unobservable input (level 3) and still held. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_FairValueAssetRecurringBasisStillHeldUnrealizedGainLossOci_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss), OCI </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_FairValueAssetRecurringBasisStillHeldUnrealizedGainLossOci_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unrealized gains (losses) recognized on equity securities still held at end of period </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_InvestmentInLowIncomeHousingTaxCreditPartnershipNetOfAmortizationMember" xlink:label="rli_InvestmentInLowIncomeHousingTaxCreditPartnershipNetOfAmortizationMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_InvestmentInLowIncomeHousingTaxCreditPartnershipNetOfAmortizationMember" xlink:to="rli_InvestmentInLowIncomeHousingTaxCreditPartnershipNetOfAmortizationMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_InvestmentInLowIncomeHousingTaxCreditPartnershipNetOfAmortizationMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents information pertaining to an investment in a low income housing tax credit partnership. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_InvestmentInLowIncomeHousingTaxCreditPartnershipNetOfAmortizationMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment In Low Income Housing Tax Credit Partnership Net Of Amortization [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_InvestmentInLowIncomeHousingTaxCreditPartnershipNetOfAmortizationMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment In Low Income Housing Tax Credit Partnership Net Of Amortization Member </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment" xlink:label="us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment" xlink:to="us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Qualified Affordable Housing Project Investments, Commitment </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_TaxExpenseBenefitOnInvestments" xlink:label="rli_TaxExpenseBenefitOnInvestments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_TaxExpenseBenefitOnInvestments" xlink:to="rli_TaxExpenseBenefitOnInvestments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_TaxExpenseBenefitOnInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the tax expense benefit on investments. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_TaxExpenseBenefitOnInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Tax Expense Benefit On Investments </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_TaxExpenseBenefitOnInvestments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total tax benefit on investments in housing tax credit partnership </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRestricted" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleRestricted" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtSecuritiesAvailableForSaleRestricted" xlink:to="us-gaap_DebtSecuritiesAvailableForSaleRestricted_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleRestricted_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Securities, Available-for-sale, Restricted </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleRestricted_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investments pledged as collateral </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRestrictionTypeExtensibleList" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleRestrictionTypeExtensibleList" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtSecuritiesAvailableForSaleRestrictionTypeExtensibleList" xlink:to="us-gaap_DebtSecuritiesAvailableForSaleRestrictionTypeExtensibleList_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleRestrictionTypeExtensibleList_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Securities, Available-for-sale, Restriction Type [Extensible List] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtSecuritiesAvailableForSaleRestrictionTypeExtensibleList_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment in Federal Home Loan Bank Stock </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalHomeLoanBankBorrowingsFairValueDisclosure" xlink:label="us-gaap_FederalHomeLoanBankBorrowingsFairValueDisclosure" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FederalHomeLoanBankBorrowingsFairValueDisclosure" xlink:to="us-gaap_FederalHomeLoanBankBorrowingsFairValueDisclosure_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FederalHomeLoanBankBorrowingsFairValueDisclosure_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Federal Home Loan Bank Borrowings, Fair Value Disclosure </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareUnfundedCommittments" xlink:label="us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareUnfundedCommittments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareUnfundedCommittments" xlink:to="us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareUnfundedCommittments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareUnfundedCommittments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value, Investments, Entities that Calculate Net Asset Value Per Share, Unfunded Commitments </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MovementAnalysisOfDeferredPolicyAcquisitionCostsRollForward" xlink:label="us-gaap_MovementAnalysisOfDeferredPolicyAcquisitionCostsRollForward" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MovementAnalysisOfDeferredPolicyAcquisitionCostsRollForward" xlink:to="us-gaap_MovementAnalysisOfDeferredPolicyAcquisitionCostsRollForward_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MovementAnalysisOfDeferredPolicyAcquisitionCostsRollForward_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Movement Analysis of Deferred Policy Acquisition Costs [Roll Forward] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_MovementAnalysisOfDeferredPolicyAcquisitionCostsRollForward_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Policy acquisition costs deferred and amortized to income </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DeferredPolicyAcquisitionCostsAdditionsAbstract" xlink:label="rli_DeferredPolicyAcquisitionCostsAdditionsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DeferredPolicyAcquisitionCostsAdditionsAbstract" xlink:to="rli_DeferredPolicyAcquisitionCostsAdditionsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DeferredPolicyAcquisitionCostsAdditionsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Policy Acquisition Costs Additions [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_DeferredPolicyAcquisitionCostsAdditionsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred: </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DeferredPolicyAcquisitionCostsAdditionsDirectCommissions" xlink:label="rli_DeferredPolicyAcquisitionCostsAdditionsDirectCommissions" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DeferredPolicyAcquisitionCostsAdditionsDirectCommissions" xlink:to="rli_DeferredPolicyAcquisitionCostsAdditionsDirectCommissions_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_DeferredPolicyAcquisitionCostsAdditionsDirectCommissions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the direct commissions capitalized during the period as a part of deferred policy acquisition costs. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DeferredPolicyAcquisitionCostsAdditionsDirectCommissions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Policy Acquisition Costs, Additions Direct Commissions </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_DeferredPolicyAcquisitionCostsAdditionsDirectCommissions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Direct commissions </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DeferredPolicyAcquisitionCostsAdditionsPremiumTaxes" xlink:label="rli_DeferredPolicyAcquisitionCostsAdditionsPremiumTaxes" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DeferredPolicyAcquisitionCostsAdditionsPremiumTaxes" xlink:to="rli_DeferredPolicyAcquisitionCostsAdditionsPremiumTaxes_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_DeferredPolicyAcquisitionCostsAdditionsPremiumTaxes_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the premium taxes capitalized during the period as a part of deferred policy acquisition costs. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DeferredPolicyAcquisitionCostsAdditionsPremiumTaxes_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Policy Acquisition Costs, Additions Premium Taxes </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_DeferredPolicyAcquisitionCostsAdditionsPremiumTaxes_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Premium taxes </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DeferredPolicyAcquisitionCostsReductionsCedingCommissions" xlink:label="rli_DeferredPolicyAcquisitionCostsReductionsCedingCommissions" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DeferredPolicyAcquisitionCostsReductionsCedingCommissions" xlink:to="rli_DeferredPolicyAcquisitionCostsReductionsCedingCommissions_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_DeferredPolicyAcquisitionCostsReductionsCedingCommissions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the ceding commissions that offset the amount capitalized during the period for deferred policy acquisition costs. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DeferredPolicyAcquisitionCostsReductionsCedingCommissions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Policy Acquisition Costs Reductions Ceding Commissions </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="rli_DeferredPolicyAcquisitionCostsReductionsCedingCommissions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceding commissions </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredPolicyAcquisitionCostsAdditions" xlink:label="us-gaap_DeferredPolicyAcquisitionCostsAdditions" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredPolicyAcquisitionCostsAdditions" xlink:to="us-gaap_DeferredPolicyAcquisitionCostsAdditions_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredPolicyAcquisitionCostsAdditions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Policy Acquisition Costs, Additions </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_DeferredPolicyAcquisitionCostsAdditions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net deferred </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredPolicyAcquisitionCostAmortizationExpense" xlink:label="us-gaap_DeferredPolicyAcquisitionCostAmortizationExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredPolicyAcquisitionCostAmortizationExpense" xlink:to="us-gaap_DeferredPolicyAcquisitionCostAmortizationExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredPolicyAcquisitionCostAmortizationExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Policy Acquisition Cost, Amortization Expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredPolicyAcquisitionCostAmortizationExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amortized to expense - DAC </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_DeferredPolicyAcquisitionCostAmortizationExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amortized </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredPolicyAcquisitionCostAmortizationExpenseAbstract" xlink:label="us-gaap_DeferredPolicyAcquisitionCostAmortizationExpenseAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredPolicyAcquisitionCostAmortizationExpenseAbstract" xlink:to="us-gaap_DeferredPolicyAcquisitionCostAmortizationExpenseAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredPolicyAcquisitionCostAmortizationExpenseAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Policy Acquisition Cost, Amortization Expense [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredPolicyAcquisitionCostAmortizationExpenseAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Policy acquisition costs: </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PolicyAcquisitionsCostsPeriodCostsAbstract" xlink:label="rli_PolicyAcquisitionsCostsPeriodCostsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PolicyAcquisitionsCostsPeriodCostsAbstract" xlink:to="rli_PolicyAcquisitionsCostsPeriodCostsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PolicyAcquisitionsCostsPeriodCostsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Policy Acquisitions Costs Period Costs [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_PolicyAcquisitionsCostsPeriodCostsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Period costs: </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PolicyAcquisitionCostContingentCedingCommissions" xlink:label="rli_PolicyAcquisitionCostContingentCedingCommissions" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PolicyAcquisitionCostContingentCedingCommissions" xlink:to="rli_PolicyAcquisitionCostContingentCedingCommissions_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PolicyAcquisitionCostContingentCedingCommissions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents contingent ceding commissions earned during the period and recorded as an offset to policy acquisitions costs. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PolicyAcquisitionCostContingentCedingCommissions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Policy Acquisition Cost Contingent Ceding Commissions </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="rli_PolicyAcquisitionCostContingentCedingCommissions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceding commission - contingent </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PolicyAcquisitionCostsOtherPeriodCosts" xlink:label="rli_PolicyAcquisitionCostsOtherPeriodCosts" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PolicyAcquisitionCostsOtherPeriodCosts" xlink:to="rli_PolicyAcquisitionCostsOtherPeriodCosts_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PolicyAcquisitionCostsOtherPeriodCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the amount of policy acquisition costs charged to expenses during the period which are not specified elsewhere in the taxonomy. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PolicyAcquisitionCostsOtherPeriodCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Policy Acquisition Costs Other Period Costs </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_PolicyAcquisitionCostsOtherPeriodCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other underwriting expenses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="us-gaap_DebtInstrumentTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentTable" xlink:to="us-gaap_DebtInstrumentTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtInstrumentTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Long-term Debt Instruments [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="us-gaap_DebtInstrumentLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentLineItems" xlink:to="us-gaap_DebtInstrumentLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtInstrumentLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Instrument [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtInstrumentLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="us-gaap_DebtInstrumentFaceAmount" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentFaceAmount" xlink:to="us-gaap_DebtInstrumentFaceAmount_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtInstrumentFaceAmount_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Instrument, Face Amount </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtInstrumentFaceAmount_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Issue of senior notes by public debt offering </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="us-gaap_DebtInstrumentInterestRateStatedPercentage" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:to="us-gaap_DebtInstrumentInterestRateStatedPercentage_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtInstrumentInterestRateStatedPercentage_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Instrument, Interest Rate, Stated Percentage </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtInstrumentInterestRateStatedPercentage_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stated interest rate, payable semi-annually (as a percent) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromDebtNetOfIssuanceCosts" xlink:label="us-gaap_ProceedsFromDebtNetOfIssuanceCosts" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromDebtNetOfIssuanceCosts" xlink:to="us-gaap_ProceedsFromDebtNetOfIssuanceCosts_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromDebtNetOfIssuanceCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from Debt, Net of Issuance Costs </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_ProceedsFromDebtNetOfIssuanceCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from issuance of debt, net of discount and commission </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtFairValue" xlink:label="us-gaap_LongTermDebtFairValue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LongTermDebtFairValue" xlink:to="us-gaap_LongTermDebtFairValue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LongTermDebtFairValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Long-term Debt, Fair Value </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LongTermDebtFairValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Estimated fair value of senior notes </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestPaid" xlink:label="us-gaap_InterestPaid" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InterestPaid" xlink:to="us-gaap_InterestPaid_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InterestPaid_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Interest Paid </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InterestPaid_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Interest paid on outstanding debt </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtWeightedAverageInterestRate" xlink:label="us-gaap_DebtWeightedAverageInterestRate" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtWeightedAverageInterestRate" xlink:to="us-gaap_DebtWeightedAverageInterestRate_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtWeightedAverageInterestRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt, Weighted Average Interest Rate </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtWeightedAverageInterestRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Average interest rate on debt (as a percent) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity" xlink:label="us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity" xlink:to="us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Line of Credit Facility, Current Borrowing Capacity </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Borrowing capacity under revolving line of credit facility </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_LineOfCreditFacilityConditionalExpansionMaximumBorrowingCapacity" xlink:label="rli_LineOfCreditFacilityConditionalExpansionMaximumBorrowingCapacity" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_LineOfCreditFacilityConditionalExpansionMaximumBorrowingCapacity" xlink:to="rli_LineOfCreditFacilityConditionalExpansionMaximumBorrowingCapacity_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_LineOfCreditFacilityConditionalExpansionMaximumBorrowingCapacity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> The expanded maximum borrowing capacity available under the credit facility subject to satisfaction of certain conditions. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_LineOfCreditFacilityConditionalExpansionMaximumBorrowingCapacity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Line of Credit Facility, Conditional Expansion Maximum Borrowing Capacity </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_LineOfCreditFacilityConditionalExpansionMaximumBorrowingCapacity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Maximum borrowing capacity conditional expansion </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentTerm" xlink:label="us-gaap_DebtInstrumentTerm" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentTerm" xlink:to="us-gaap_DebtInstrumentTerm_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtInstrumentTerm_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Instrument, Term </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_DebtInstrumentTerm_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Term of facility </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LineOfCredit" xlink:label="us-gaap_LineOfCredit" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCredit" xlink:to="us-gaap_LineOfCredit_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LineOfCredit_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Line of Credit Facility, Amount Outstanding </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LineOfCredit_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount outstanding on this facility </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectsOfReinsuranceTable" xlink:label="us-gaap_EffectsOfReinsuranceTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectsOfReinsuranceTable" xlink:to="us-gaap_EffectsOfReinsuranceTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectsOfReinsuranceTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effects of Reinsurance [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectsOfReinsuranceLineItems" xlink:label="us-gaap_EffectsOfReinsuranceLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectsOfReinsuranceLineItems" xlink:to="us-gaap_EffectsOfReinsuranceLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectsOfReinsuranceLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effects of Reinsurance [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EffectsOfReinsuranceLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ReinsuranceNetLossOnIndividualRiskMaximum" xlink:label="rli_ReinsuranceNetLossOnIndividualRiskMaximum" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ReinsuranceNetLossOnIndividualRiskMaximum" xlink:to="rli_ReinsuranceNetLossOnIndividualRiskMaximum_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ReinsuranceNetLossOnIndividualRiskMaximum_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the maximum amount beyond which the entity limits its net losses on any individual risk through reinsurance arrangements. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ReinsuranceNetLossOnIndividualRiskMaximum_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Net Loss on Individual Risk, Maximum </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ReinsuranceNetLossOnIndividualRiskMaximum_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Maximum amount beyond which net loss on any individual risk is limited through the purchase of reinsurance </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PremiumsWrittenNetConsolidatedAbstract" xlink:label="us-gaap_PremiumsWrittenNetConsolidatedAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PremiumsWrittenNetConsolidatedAbstract" xlink:to="us-gaap_PremiumsWrittenNetConsolidatedAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PremiumsWrittenNetConsolidatedAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Premiums Written, Net [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PremiumsWrittenNetConsolidatedAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> WRITTEN </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DirectPremiumsWritten" xlink:label="us-gaap_DirectPremiumsWritten" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DirectPremiumsWritten" xlink:to="us-gaap_DirectPremiumsWritten_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DirectPremiumsWritten_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Direct Premiums Written </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_DirectPremiumsWritten_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Direct </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CededPremiumsWritten" xlink:label="us-gaap_CededPremiumsWritten" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CededPremiumsWritten" xlink:to="us-gaap_CededPremiumsWritten_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CededPremiumsWritten_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded Premiums Written </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_CededPremiumsWritten_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance ceded </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CededPremiumsWritten_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded Premium Written </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PremiumsWrittenNet" xlink:label="us-gaap_PremiumsWrittenNet" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PremiumsWrittenNet" xlink:to="us-gaap_PremiumsWrittenNet_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PremiumsWrittenNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Premiums Written, Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_PremiumsWrittenNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentNetAmountAbstract" xlink:label="us-gaap_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentNetAmountAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentNetAmountAbstract" xlink:to="us-gaap_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentNetAmountAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentNetAmountAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Premiums Earned, Net [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentNetAmountAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> EARNED </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DirectPremiumsEarned" xlink:label="us-gaap_DirectPremiumsEarned" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DirectPremiumsEarned" xlink:to="us-gaap_DirectPremiumsEarned_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DirectPremiumsEarned_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Direct Premiums Earned </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DirectPremiumsEarned_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Direct </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_DirectPremiumsEarned_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Direct amount </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssumedPremiumsEarned" xlink:label="us-gaap_AssumedPremiumsEarned" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssumedPremiumsEarned" xlink:to="us-gaap_AssumedPremiumsEarned_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssumedPremiumsEarned_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Assumed Premiums Earned </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AssumedPremiumsEarned_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance assumed </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_AssumedPremiumsEarned_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Assumed from other companies </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CededPremiumsEarned" xlink:label="us-gaap_CededPremiumsEarned" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CededPremiumsEarned" xlink:to="us-gaap_CededPremiumsEarned_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CededPremiumsEarned_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded Premiums Earned </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_CededPremiumsEarned_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance ceded </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CededPremiumsEarned_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded to other companies </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PolicyholderBenefitsAndClaimsIncurredNetAbstract" xlink:label="us-gaap_PolicyholderBenefitsAndClaimsIncurredNetAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PolicyholderBenefitsAndClaimsIncurredNetAbstract" xlink:to="us-gaap_PolicyholderBenefitsAndClaimsIncurredNetAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PolicyholderBenefitsAndClaimsIncurredNetAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Policyholder Benefits and Claims Incurred, Net [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PolicyholderBenefitsAndClaimsIncurredNetAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> LOSSES AND SETTLEMENT EXPENSES INCURRED </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PolicyholderBenefitsAndClaimsIncurredGross" xlink:label="us-gaap_PolicyholderBenefitsAndClaimsIncurredGross" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PolicyholderBenefitsAndClaimsIncurredGross" xlink:to="us-gaap_PolicyholderBenefitsAndClaimsIncurredGross_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PolicyholderBenefitsAndClaimsIncurredGross_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Policyholder Benefits and Claims Incurred, Direct </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PolicyholderBenefitsAndClaimsIncurredGross_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Direct </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReinsuranceEffectOnClaimsAndBenefitsIncurredAmountAssumed" xlink:label="us-gaap_ReinsuranceEffectOnClaimsAndBenefitsIncurredAmountAssumed" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReinsuranceEffectOnClaimsAndBenefitsIncurredAmountAssumed" xlink:to="us-gaap_ReinsuranceEffectOnClaimsAndBenefitsIncurredAmountAssumed_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReinsuranceEffectOnClaimsAndBenefitsIncurredAmountAssumed_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Policyholder Benefits and Claims Incurred, Assumed </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ReinsuranceEffectOnClaimsAndBenefitsIncurredAmountAssumed_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance assumed </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReinsuranceEffectOnClaimsAndBenefitsIncurredAmountCeded" xlink:label="us-gaap_ReinsuranceEffectOnClaimsAndBenefitsIncurredAmountCeded" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReinsuranceEffectOnClaimsAndBenefitsIncurredAmountCeded" xlink:to="us-gaap_ReinsuranceEffectOnClaimsAndBenefitsIncurredAmountCeded_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReinsuranceEffectOnClaimsAndBenefitsIncurredAmountCeded_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Policyholder Benefits and Claims Incurred, Ceded </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_ReinsuranceEffectOnClaimsAndBenefitsIncurredAmountCeded_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance ceded </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PolicyholderBenefitsAndClaimsIncurredNet" xlink:label="us-gaap_PolicyholderBenefitsAndClaimsIncurredNet" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PolicyholderBenefitsAndClaimsIncurredNet" xlink:to="us-gaap_PolicyholderBenefitsAndClaimsIncurredNet_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PolicyholderBenefitsAndClaimsIncurredNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Policyholder Benefits and Claims Incurred, Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_PolicyholderBenefitsAndClaimsIncurredNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CededCreditRiskTable" xlink:label="us-gaap_CededCreditRiskTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CededCreditRiskTable" xlink:to="us-gaap_CededCreditRiskTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CededCreditRiskTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded Credit Risk [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CededCreditRiskLineItems" xlink:label="us-gaap_CededCreditRiskLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CededCreditRiskLineItems" xlink:to="us-gaap_CededCreditRiskLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CededCreditRiskLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded Credit Risk [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CededCreditRiskLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net reinsurance balances recoverable </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PercentageOfReinsuranceRecoverablesFromEntitiesWithFinancialStrengthRatingsOfAOrBetter" xlink:label="rli_PercentageOfReinsuranceRecoverablesFromEntitiesWithFinancialStrengthRatingsOfAOrBetter" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PercentageOfReinsuranceRecoverablesFromEntitiesWithFinancialStrengthRatingsOfAOrBetter" xlink:to="rli_PercentageOfReinsuranceRecoverablesFromEntitiesWithFinancialStrengthRatingsOfAOrBetter_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PercentageOfReinsuranceRecoverablesFromEntitiesWithFinancialStrengthRatingsOfAOrBetter_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the percentage of reinsurance recoverables due from entities which have financial strength ratings of A or better by A.M. Best and S&P rating services. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PercentageOfReinsuranceRecoverablesFromEntitiesWithFinancialStrengthRatingsOfAOrBetter_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Percentage of Reinsurance Recoverables from Entities with Financial Strength Ratings of A or Better </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_PercentageOfReinsuranceRecoverablesFromEntitiesWithFinancialStrengthRatingsOfAOrBetter_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Percentage of reinsurance recoverables due from companies with financial strength ratings of "A" or better by A.M. Best and S&P rating services </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReinsuranceRecoverables" xlink:label="us-gaap_ReinsuranceRecoverables" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReinsuranceRecoverables" xlink:to="us-gaap_ReinsuranceRecoverables_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReinsuranceRecoverables_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Recoverables </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ReinsuranceRecoverables_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurer Exposure </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="us-gaap_ConcentrationRiskPercentage1" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ConcentrationRiskPercentage1" xlink:to="us-gaap_ConcentrationRiskPercentage1_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ConcentrationRiskPercentage1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Recoverables, Percentage of Total </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ConcentrationRiskPercentage1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Percent of Total Net Reinsurer Exposure </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CededPremiumWrittenPercentageOfTotal" xlink:label="rli_CededPremiumWrittenPercentageOfTotal" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CededPremiumWrittenPercentageOfTotal" xlink:to="rli_CededPremiumWrittenPercentageOfTotal_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CededPremiumWrittenPercentageOfTotal_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the percentage of total ceded premium. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CededPremiumWrittenPercentageOfTotal_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded Premium Written Percentage of Total </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CededPremiumWrittenPercentageOfTotal_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Percent of Total Ceded Premium Written </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ThresholdReinsuranceRecoverableFromIndividualReinsurerAsPercentageOfShareholdersEquity" xlink:label="rli_ThresholdReinsuranceRecoverableFromIndividualReinsurerAsPercentageOfShareholdersEquity" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ThresholdReinsuranceRecoverableFromIndividualReinsurerAsPercentageOfShareholdersEquity" xlink:to="rli_ThresholdReinsuranceRecoverableFromIndividualReinsurerAsPercentageOfShareholdersEquity_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ThresholdReinsuranceRecoverableFromIndividualReinsurerAsPercentageOfShareholdersEquity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the reinsurance balances recoverable from individual reinsurer expressed as a percentage of shareholders' equity, used as a threshold for disclosure. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ThresholdReinsuranceRecoverableFromIndividualReinsurerAsPercentageOfShareholdersEquity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Threshold Reinsurance Recoverable from Individual Reinsurer as Percentage of Shareholders Equity </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ThresholdReinsuranceRecoverableFromIndividualReinsurerAsPercentageOfShareholdersEquity_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance balances recoverable as a percentage of shareholder's equity, threshold for disclosure </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReinsuranceRecoverablesOnPaidLossesAllowance" xlink:label="us-gaap_ReinsuranceRecoverablesOnPaidLossesAllowance" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReinsuranceRecoverablesOnPaidLossesAllowance" xlink:to="us-gaap_ReinsuranceRecoverablesOnPaidLossesAllowance_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReinsuranceRecoverablesOnPaidLossesAllowance_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Recoverables on Paid Losses, Allowance </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ReinsuranceRecoverablesOnPaidLossesAllowance_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount of allowance for uncollectible amounts on paid recoverables </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReinsuranceRecoverablesOnUnpaidLossesAllowance" xlink:label="us-gaap_ReinsuranceRecoverablesOnUnpaidLossesAllowance" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReinsuranceRecoverablesOnUnpaidLossesAllowance" xlink:to="us-gaap_ReinsuranceRecoverablesOnUnpaidLossesAllowance_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReinsuranceRecoverablesOnUnpaidLossesAllowance_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Recoverables on Unpaid Losses, Allowance </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ReinsuranceRecoverablesOnUnpaidLossesAllowance_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance balances recoverable on unpaid losses and settlement expenses, allowances for uncollectible amounts </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_ReinsuranceRecoverablesOnUnpaidLossesAllowance_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Allowance for uncollectible reinsurance balances recoverable on unpaid losses and settlement expenses </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ReinsuranceReceivablesThresholdPeriod" xlink:label="rli_ReinsuranceReceivablesThresholdPeriod" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ReinsuranceReceivablesThresholdPeriod" xlink:to="rli_ReinsuranceReceivablesThresholdPeriod_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ReinsuranceReceivablesThresholdPeriod_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the threshold period beyond which receivables due under reinsurance arrangements are included in the allowance for uncollectible amounts, unless separately disclosed. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ReinsuranceReceivablesThresholdPeriod_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Receivables Threshold Period </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ReinsuranceReceivablesThresholdPeriod_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Threshold period for including reinsurance receivables in the allowance for uncollectible amounts </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PropertyInsuranceSegmentMember" xlink:label="rli_PropertyInsuranceSegmentMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PropertyInsuranceSegmentMember" xlink:to="rli_PropertyInsuranceSegmentMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PropertyInsuranceSegmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Segment in which the financial information pertaining to property insurance coverage is reported. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PropertyInsuranceSegmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property Insurance Segment [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_PropertyInsuranceSegmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property segment </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_SuretyInsuranceSegmentMember" xlink:label="rli_SuretyInsuranceSegmentMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_SuretyInsuranceSegmentMember" xlink:to="rli_SuretyInsuranceSegmentMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_SuretyInsuranceSegmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Segment in which the financial information pertaining to surety insurance coverage is reported. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_SuretyInsuranceSegmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Surety Insurance Segment [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_SuretyInsuranceSegmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Surety segment </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract" xlink:to="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Unpaid Claims and Claims Adjustment Expense [Roll Forward] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNetAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reconciliation of unpaid losses and settlement expenses (LAE) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseAbstract" xlink:label="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseAbstract" xlink:to="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Claims and Claims Adjustment Expense [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> UNPAID LOSSES AND LAE AT END OF YEAR </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpenseAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unpaid losses and LAE at beginning of year: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet" xlink:to="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Unpaid Claims and Claims Adjustment Expense, Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaimsAbstract" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaimsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaimsAbstract" xlink:to="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaimsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaimsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Unpaid Claims and Claims Adjustment Expense, Incurred Claims [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaimsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (decrease) in incurred losses and LAE: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersCurrentYearClaimsAndClaimsAdjustmentExpense" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersCurrentYearClaimsAndClaimsAdjustmentExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersCurrentYearClaimsAndClaimsAdjustmentExpense" xlink:to="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersCurrentYearClaimsAndClaimsAdjustmentExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersCurrentYearClaimsAndClaimsAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Unpaid Claims and Claims Adjustment Expense, Incurred Claims Current Year </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersCurrentYearClaimsAndClaimsAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Current accident year </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPriorYearClaimsAndClaimsAdjustmentExpense" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPriorYearClaimsAndClaimsAdjustmentExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPriorYearClaimsAndClaimsAdjustmentExpense" xlink:to="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPriorYearClaimsAndClaimsAdjustmentExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPriorYearClaimsAndClaimsAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Unpaid Claims and Claims Adjustment Expense, Incurred Claims, Prior Years </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPriorYearClaimsAndClaimsAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> (Favorable)/unfavorable reserve development </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPriorYearClaimsAndClaimsAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Prior accident years </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1" xlink:to="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Unpaid Claims and Claims Adjustment Expense, Incurred Claims </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total incurred </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract" xlink:to="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Loss and LAE payments for claims incurred: </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Incurred losses and settlement expenses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidCurrentYear1" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidCurrentYear1" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidCurrentYear1" xlink:to="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidCurrentYear1_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidCurrentYear1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid, Current Year </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidCurrentYear1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Current accident year </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidPriorYears1" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidPriorYears1" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidPriorYears1" xlink:to="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidPriorYears1_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidPriorYears1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid, Prior Years </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidPriorYears1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Prior accident year </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForLossesAndLossAdjustmentExpense" xlink:label="us-gaap_PaymentsForLossesAndLossAdjustmentExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsForLossesAndLossAdjustmentExpense" xlink:to="us-gaap_PaymentsForLossesAndLossAdjustmentExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsForLossesAndLossAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Unpaid Claims and Claims Adjustment Expense, Claims Paid </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:label="us-gaap_PaymentsForLossesAndLossAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total paid </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_LiabilityForClaimsAndClaimsAdjustmentExpensesAbstract" xlink:label="rli_LiabilityForClaimsAndClaimsAdjustmentExpensesAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_LiabilityForClaimsAndClaimsAdjustmentExpensesAbstract" xlink:to="rli_LiabilityForClaimsAndClaimsAdjustmentExpensesAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_LiabilityForClaimsAndClaimsAdjustmentExpensesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Claims and Claims Adjustment Expenses [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_LiabilityForClaimsAndClaimsAdjustmentExpensesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unpaid losses and LAE at year end </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTable" xlink:label="us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTable" xlink:to="us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsClaimsDevelopmentTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Claims Development [Table] </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_InsuranceSecondaryGroupingAxis" xlink:label="rli_InsuranceSecondaryGroupingAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_InsuranceSecondaryGroupingAxis" xlink:to="rli_InsuranceSecondaryGroupingAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_InsuranceSecondaryGroupingAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> No definition available. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_InsuranceSecondaryGroupingAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Insurance Secondary Grouping [Axis] </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_InsuranceSecondaryGroupingDomain" xlink:label="rli_InsuranceSecondaryGroupingDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_InsuranceSecondaryGroupingDomain" xlink:to="rli_InsuranceSecondaryGroupingDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_InsuranceSecondaryGroupingDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> No definition available. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_InsuranceSecondaryGroupingDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Insurance Secondary Grouping [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_InsuranceSecondaryGroupingDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Insurance Secondary Grouping [Domain] </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PrimaryOccurrenceMember" xlink:label="rli_PrimaryOccurrenceMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PrimaryOccurrenceMember" xlink:to="rli_PrimaryOccurrenceMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PrimaryOccurrenceMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Grouping of insurance coverage related to primary occurrence. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PrimaryOccurrenceMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Primary Occurrence [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_PrimaryOccurrenceMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Primary Occurrence </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ExcessOccurrenceMember" xlink:label="rli_ExcessOccurrenceMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ExcessOccurrenceMember" xlink:to="rli_ExcessOccurrenceMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ExcessOccurrenceMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Grouping of insurance coverage related to excess coverage. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ExcessOccurrenceMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Excess Occurrence [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ExcessOccurrenceMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Excess Occurrence </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ClaimsMadeMember" xlink:label="rli_ClaimsMadeMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ClaimsMadeMember" xlink:to="rli_ClaimsMadeMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ClaimsMadeMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Grouping of insurance coverage related to claims made. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ClaimsMadeMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Claims Made [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ClaimsMadeMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Claims Made </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_TransportationMember" xlink:label="rli_TransportationMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_TransportationMember" xlink:to="rli_TransportationMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_TransportationMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Grouping of insurance coverage related to transportation coverage. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_TransportationMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Transportation [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_TransportationMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Transportation </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsAccidentYearAxis" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYearAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsAccidentYearAxis" xlink:to="us-gaap_ShortdurationInsuranceContractsAccidentYearAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYearAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Accident Year [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsAccidentYearDomain" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYearDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsAccidentYearDomain" xlink:to="us-gaap_ShortdurationInsuranceContractsAccidentYearDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYearDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Shortduration Insurance Contracts Accident Year [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYearDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Accident Year [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsAccidentYear2009Member" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2009Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsAccidentYear2009Member" xlink:to="us-gaap_ShortdurationInsuranceContractsAccidentYear2009Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2009Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Shortduration Insurance Contracts Accident Year2009 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2009Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Accident Year 2009 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsAccidentYear2010Member" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2010Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsAccidentYear2010Member" xlink:to="us-gaap_ShortdurationInsuranceContractsAccidentYear2010Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2010Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Shortduration Insurance Contracts Accident Year2010 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2010Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Accident Year 2010 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsAccidentYear2011Member" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2011Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsAccidentYear2011Member" xlink:to="us-gaap_ShortdurationInsuranceContractsAccidentYear2011Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2011Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Shortduration Insurance Contracts Accident Year2011 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2011Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Accident Year 2011 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsAccidentYear2012Member" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2012Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsAccidentYear2012Member" xlink:to="us-gaap_ShortdurationInsuranceContractsAccidentYear2012Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2012Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Shortduration Insurance Contracts Accident Year2012 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2012Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Accident Year 2012 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsAccidentYear2013Member" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2013Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsAccidentYear2013Member" xlink:to="us-gaap_ShortdurationInsuranceContractsAccidentYear2013Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2013Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Shortduration Insurance Contracts Accident Year2013 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2013Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Accident Year 2013 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsAccidentYear2014Member" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2014Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsAccidentYear2014Member" xlink:to="us-gaap_ShortdurationInsuranceContractsAccidentYear2014Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2014Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Shortduration Insurance Contracts Accident Year2014 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2014Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Accident Year 2014 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsAccidentYear2015Member" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2015Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsAccidentYear2015Member" xlink:to="us-gaap_ShortdurationInsuranceContractsAccidentYear2015Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2015Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Shortduration Insurance Contracts Accident Year2015 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2015Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Accident Year 2015 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsAccidentYear2016Member" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2016Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsAccidentYear2016Member" xlink:to="us-gaap_ShortdurationInsuranceContractsAccidentYear2016Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2016Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Shortduration Insurance Contracts Accident Year2016 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsAccidentYear2016Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Accident Year 2016 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClaimsDevelopmentLineItems" xlink:label="us-gaap_ClaimsDevelopmentLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ClaimsDevelopmentLineItems" xlink:to="us-gaap_ClaimsDevelopmentLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ClaimsDevelopmentLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Claims Development [Line Items] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsIncurredClaimsAndAllocatedClaimAdjustmentExpenseNet" xlink:label="us-gaap_ShortdurationInsuranceContractsIncurredClaimsAndAllocatedClaimAdjustmentExpenseNet" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsIncurredClaimsAndAllocatedClaimAdjustmentExpenseNet" xlink:to="us-gaap_ShortdurationInsuranceContractsIncurredClaimsAndAllocatedClaimAdjustmentExpenseNet_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsIncurredClaimsAndAllocatedClaimAdjustmentExpenseNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Incurred Claims and Allocated Claim Adjustment Expense, Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsIncurredClaimsAndAllocatedClaimAdjustmentExpenseNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Incurred losses and loss adjustment expenses, net of reinsurance </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsIncurredButNotReportedIbnrClaimsLiabilityNet" xlink:label="us-gaap_ShortdurationInsuranceContractsIncurredButNotReportedIbnrClaimsLiabilityNet" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsIncurredButNotReportedIbnrClaimsLiabilityNet" xlink:to="us-gaap_ShortdurationInsuranceContractsIncurredButNotReportedIbnrClaimsLiabilityNet_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsIncurredButNotReportedIbnrClaimsLiabilityNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Incurred but Not Reported (IBNR) Claims Liability, Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsIncurredButNotReportedIbnrClaimsLiabilityNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total IBNR </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsNumberOfReportedClaims" xlink:label="us-gaap_ShortdurationInsuranceContractsNumberOfReportedClaims" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsNumberOfReportedClaims" xlink:to="us-gaap_ShortdurationInsuranceContractsNumberOfReportedClaims_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsNumberOfReportedClaims_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Number of Reported Claims </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsNumberOfReportedClaims_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cumulative number of reported claims </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsCumulativePaidClaimsAndAllocatedClaimAdjustmentExpenseNet" xlink:label="us-gaap_ShortdurationInsuranceContractsCumulativePaidClaimsAndAllocatedClaimAdjustmentExpenseNet" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsCumulativePaidClaimsAndAllocatedClaimAdjustmentExpenseNet" xlink:to="us-gaap_ShortdurationInsuranceContractsCumulativePaidClaimsAndAllocatedClaimAdjustmentExpenseNet_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsCumulativePaidClaimsAndAllocatedClaimAdjustmentExpenseNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Cumulative Paid Claims and Allocated Claim Adjustment Expense, Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsCumulativePaidClaimsAndAllocatedClaimAdjustmentExpenseNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cumulative paid claims and allocated claim adjustment expenses, net of reinsurance </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndAllocatedClaimAdjustmentExpenseNetNotSeparatelyPresented" xlink:label="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndAllocatedClaimAdjustmentExpenseNetNotSeparatelyPresented" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndAllocatedClaimAdjustmentExpenseNetNotSeparatelyPresented" xlink:to="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndAllocatedClaimAdjustmentExpenseNetNotSeparatelyPresented_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndAllocatedClaimAdjustmentExpenseNetNotSeparatelyPresented_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Liability for Unpaid Claims and Allocated Claim Adjustment Expense, Net, Not Separately Presented </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndAllocatedClaimAdjustmentExpenseNetNotSeparatelyPresented_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> All outstanding liabilities before 2009, net of reinsurance </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndAllocatedClaimAdjustmentExpenseNet" xlink:label="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndAllocatedClaimAdjustmentExpenseNet" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndAllocatedClaimAdjustmentExpenseNet" xlink:to="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndAllocatedClaimAdjustmentExpenseNet_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndAllocatedClaimAdjustmentExpenseNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Liability for Unpaid Claims and Allocated Claim Adjustment Expense, Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndAllocatedClaimAdjustmentExpenseNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liabilities for losses and loss adjustment expenses, net of reinsurance </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems" xlink:to="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Historical Claims Duration [Line Items] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearOne" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearOne" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearOne" xlink:to="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearOne_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearOne_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Historical Claims Duration, Year One </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearOne_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Average annual percentage payout of incurred losses by age, Year 1 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTwo" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTwo" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTwo" xlink:to="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTwo_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTwo_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Historical Claims Duration, Year Two </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTwo_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Average annual percentage payout of incurred losses by age, Year 2 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearThree" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearThree" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearThree" xlink:to="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearThree_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearThree_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Historical Claims Duration, Year Three </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearThree_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Average annual percentage payout of incurred losses by age, Year 3 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFour" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFour" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFour" xlink:to="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFour_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFour_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Historical Claims Duration, Year Four </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFour_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Average annual percentage payout of incurred losses by age, Year 4 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFive" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFive" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFive" xlink:to="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFive_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFive_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Historical Claims Duration, Year Five </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearFive_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Average annual percentage payout of incurred losses by age, Year 5 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSix" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSix" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSix" xlink:to="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSix_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSix_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Historical Claims Duration, Year Six </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSix_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Average annual percentage payout of incurred losses by age, Year 6 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSeven" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSeven" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSeven" xlink:to="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSeven_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSeven_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Historical Claims Duration, Year Seven </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearSeven_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Average annual percentage payout of incurred losses by age, Year 7 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearEight" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearEight" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearEight" xlink:to="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearEight_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearEight_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Historical Claims Duration, Year Eight </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearEight_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Average annual percentage payout of incurred losses by age, Year 8 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearNine" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearNine" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearNine" xlink:to="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearNine_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearNine_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Historical Claims Duration, Year Nine </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearNine_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Average annual percentage payout of incurred losses by age, Year 9 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTen" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTen" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTen" xlink:to="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTen_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTen_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Historical Claims Duration, Year Ten </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsHistoricalClaimsDurationYearTen_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Average annual percentage payout of incurred losses by age, Year 10 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTable" xlink:label="us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTable" xlink:to="us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Reconciliation of Claims Development to Liability [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityLineItems" xlink:label="us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityLineItems" xlink:to="us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsReconciliationOfClaimsDevelopmentToLiabilityLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Reconciliation of Claims Development to Liability [Line Items] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseAccumulatedUnallocatedClaimAdjustmentExpense" xlink:label="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseAccumulatedUnallocatedClaimAdjustmentExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseAccumulatedUnallocatedClaimAdjustmentExpense" xlink:to="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseAccumulatedUnallocatedClaimAdjustmentExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseAccumulatedUnallocatedClaimAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Liability for Unpaid Claims and Claims Adjustment Expense, Accumulated Unallocated Claim Adjustment Expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseAccumulatedUnallocatedClaimAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unallocated loss adjustment expenses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndClaimAdjustmentExpenseOtherReconcilingItem" xlink:label="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndClaimAdjustmentExpenseOtherReconcilingItem" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndClaimAdjustmentExpenseOtherReconcilingItem" xlink:to="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndClaimAdjustmentExpenseOtherReconcilingItem_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndClaimAdjustmentExpenseOtherReconcilingItem_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Liability for Unpaid Claims and Claim Adjustment Expense, Other Reconciling Item </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortdurationInsuranceContractsLiabilityForUnpaidClaimsAndClaimAdjustmentExpenseOtherReconcilingItem_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ReinsuranceRecoverableOtherReconcilingItem" xlink:label="rli_ReinsuranceRecoverableOtherReconcilingItem" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ReinsuranceRecoverableOtherReconcilingItem" xlink:to="rli_ReinsuranceRecoverableOtherReconcilingItem_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ReinsuranceRecoverableOtherReconcilingItem_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the information about Reinsurance Recoverable Other Reconciling Item. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ReinsuranceRecoverableOtherReconcilingItem_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Recoverable Other Reconciling Item </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ReinsuranceRecoverableOtherReconcilingItem_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense" xlink:label="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense" xlink:to="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Claims and Claims Adjustment Expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total gross liability for unpaid loss and settlement expenses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CausesOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseTable" xlink:label="us-gaap_CausesOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CausesOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseTable" xlink:to="us-gaap_CausesOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CausesOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Causes of Increase (Decrease) in Liability for Unpaid Claims and Claims Adjustment Expense [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GeneralLiabilityMember" xlink:label="us-gaap_GeneralLiabilityMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GeneralLiabilityMember" xlink:to="us-gaap_GeneralLiabilityMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GeneralLiabilityMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> General Liability [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_GeneralLiabilityMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> General liability </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PAndCPackageMember" xlink:label="rli_PAndCPackageMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PAndCPackageMember" xlink:to="rli_PAndCPackageMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PAndCPackageMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents small commercial coverage products. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PAndCPackageMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> P And C Package [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_PAndCPackageMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> P&C Package </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CommercialUmbrellaInsuranceMember" xlink:label="rli_CommercialUmbrellaInsuranceMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CommercialUmbrellaInsuranceMember" xlink:to="rli_CommercialUmbrellaInsuranceMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CommercialUmbrellaInsuranceMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Commercial insurance product providing umbrella coverage for casualty losses. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CommercialUmbrellaInsuranceMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Commercial Umbrella Insurance [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CommercialUmbrellaInsuranceMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Commercial products </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PersonalUmbrellaInsuranceMember" xlink:label="rli_PersonalUmbrellaInsuranceMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PersonalUmbrellaInsuranceMember" xlink:to="rli_PersonalUmbrellaInsuranceMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PersonalUmbrellaInsuranceMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Personal insurance product providing umbrella coverage for casualty losses. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PersonalUmbrellaInsuranceMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Personal Umbrella Insurance [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_PersonalUmbrellaInsuranceMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Personal umbrella </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_MarineMember" xlink:label="rli_MarineMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_MarineMember" xlink:to="rli_MarineMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_MarineMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the property coverage provided to policy holders on marine property. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_MarineMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Marine [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_MarineMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Marine </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AssumedPropertyMember" xlink:label="rli_AssumedPropertyMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AssumedPropertyMember" xlink:to="rli_AssumedPropertyMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AssumedPropertyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents information pertaining to assumed property. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AssumedPropertyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Assumed Property [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AssumedPropertyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Assumed property </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CommercialSuretyProductMember" xlink:label="rli_CommercialSuretyProductMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CommercialSuretyProductMember" xlink:to="rli_CommercialSuretyProductMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CommercialSuretyProductMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents commercial surety insurance coverage products. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CommercialSuretyProductMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Commercial Surety Product [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CommercialSuretyProductMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Commercial surety product </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ContractSuretyProductMember" xlink:label="rli_ContractSuretyProductMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ContractSuretyProductMember" xlink:to="rli_ContractSuretyProductMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ContractSuretyProductMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents contract surety insurance coverage products. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ContractSuretyProductMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Contract Surety Product [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ContractSuretyProductMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Contract surety product </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_EnergySuretyProductMember" xlink:label="rli_EnergySuretyProductMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_EnergySuretyProductMember" xlink:to="rli_EnergySuretyProductMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_EnergySuretyProductMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents energy surety insurance coverage products. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_EnergySuretyProductMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Energy Surety Product [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_EnergySuretyProductMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Energy surety product </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_MiscellaneousSuretyProductMember" xlink:label="rli_MiscellaneousSuretyProductMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_MiscellaneousSuretyProductMember" xlink:to="rli_MiscellaneousSuretyProductMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_MiscellaneousSuretyProductMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents information pertaining to miscellaneous surety product(s). </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_MiscellaneousSuretyProductMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Miscellaneous Surety Product [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_MiscellaneousSuretyProductMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Miscellaneous Surety Product </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ExecutiveProductsMember" xlink:label="rli_ExecutiveProductsMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ExecutiveProductsMember" xlink:to="rli_ExecutiveProductsMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ExecutiveProductsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents executive professional liability insurance coverage products. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ExecutiveProductsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Executive Products [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ExecutiveProductsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Executive products </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_MiscellaneousProfessionalLiabilityMember" xlink:label="rli_MiscellaneousProfessionalLiabilityMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_MiscellaneousProfessionalLiabilityMember" xlink:to="rli_MiscellaneousProfessionalLiabilityMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_MiscellaneousProfessionalLiabilityMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents information pertaining to miscellaneous professional liability. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_MiscellaneousProfessionalLiabilityMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Miscellaneous Professional Liability [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_MiscellaneousProfessionalLiabilityMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Miscellaneous Professional Liability Member </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_OtherDirectPropertyProductsMember" xlink:label="rli_OtherDirectPropertyProductsMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_OtherDirectPropertyProductsMember" xlink:to="rli_OtherDirectPropertyProductsMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_OtherDirectPropertyProductsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents information pertaining to other direct property product. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_OtherDirectPropertyProductsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Direct Property Products [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_OtherDirectPropertyProductsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other direct property products </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CausesOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseLineItems" xlink:label="us-gaap_CausesOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CausesOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseLineItems" xlink:to="us-gaap_CausesOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CausesOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Causes of Increase (Decrease) in Liability for Unpaid Claims and Claims Adjustment Expense [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CausesOfIncreaseDecreaseInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> (Favorable)/unfavorable reserve development </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EnvironmentalIssueMember" xlink:label="us-gaap_EnvironmentalIssueMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EnvironmentalIssueMember" xlink:to="us-gaap_EnvironmentalIssueMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EnvironmentalIssueMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Environmental Issue [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EnvironmentalIssueMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Asbestos and environmental exposures </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsAbstract" xlink:label="us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsAbstract" xlink:to="us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Asbestos and Environmental Claims [Abstract] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MovementInLiabilityForAsbestosAndEnvironmentalClaimsAbstract" xlink:label="us-gaap_MovementInLiabilityForAsbestosAndEnvironmentalClaimsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MovementInLiabilityForAsbestosAndEnvironmentalClaimsAbstract" xlink:to="us-gaap_MovementInLiabilityForAsbestosAndEnvironmentalClaimsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MovementInLiabilityForAsbestosAndEnvironmentalClaimsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Movement in Liability for Asbestos and Environmental Claims [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_MovementInLiabilityForAsbestosAndEnvironmentalClaimsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> LOSS AND LAE PAYMENTS (CUMULATIVE) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsGrossPaymentForClaims" xlink:label="us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsGrossPaymentForClaims" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsGrossPaymentForClaims" xlink:to="us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsGrossPaymentForClaims_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsGrossPaymentForClaims_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Asbestos and Environmental Claims, Gross, Payment for Claims </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsGrossPaymentForClaims_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Gross </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_LiabilityForAsbestosAndEnvironmentalClaimsGrossPaymentForClaimsCeded" xlink:label="rli_LiabilityForAsbestosAndEnvironmentalClaimsGrossPaymentForClaimsCeded" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_LiabilityForAsbestosAndEnvironmentalClaimsGrossPaymentForClaimsCeded" xlink:to="rli_LiabilityForAsbestosAndEnvironmentalClaimsGrossPaymentForClaimsCeded_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_LiabilityForAsbestosAndEnvironmentalClaimsGrossPaymentForClaimsCeded_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount of cash received under reinsurance contracts for claims and claims settlements attributable to asbestos and environmental claims. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_LiabilityForAsbestosAndEnvironmentalClaimsGrossPaymentForClaimsCeded_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability For Asbestos And Environmental Claims Gross Payment For Claims Ceded </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="rli_LiabilityForAsbestosAndEnvironmentalClaimsGrossPaymentForClaimsCeded_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsNetPaymentForClaims" xlink:label="us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsNetPaymentForClaims" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsNetPaymentForClaims" xlink:to="us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsNetPaymentForClaims_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsNetPaymentForClaims_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability for Asbestos and Environmental Claims, Net, Payment for Claims </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsNetPaymentForClaims_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_LiabilityForAsbestosAndEnvironmentalClaimsCeded" xlink:label="rli_LiabilityForAsbestosAndEnvironmentalClaimsCeded" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_LiabilityForAsbestosAndEnvironmentalClaimsCeded" xlink:to="rli_LiabilityForAsbestosAndEnvironmentalClaimsCeded_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_LiabilityForAsbestosAndEnvironmentalClaimsCeded_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount after valuation allowance recoverable under reinsurance contracts for claims and claims adjustments attributable to asbestos and environmental claims </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_LiabilityForAsbestosAndEnvironmentalClaimsCeded_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Liability For Asbestos And Environmental Claims Ceded </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="rli_LiabilityForAsbestosAndEnvironmentalClaimsCeded_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PeriodOfBusinessRunOff" xlink:label="rli_PeriodOfBusinessRunOff" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PeriodOfBusinessRunOff" xlink:to="rli_PeriodOfBusinessRunOff_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PeriodOfBusinessRunOff_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the minimum period for which the products lines associated with the majority of the reserves for environmental and asbestos claims have been in runoff. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PeriodOfBusinessRunOff_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Period of Business Run-off </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_PeriodOfBusinessRunOff_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Minimum period for which product lines related to majority of reserves have been in runoff </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComponentsOfDeferredTaxAssetsAndLiabilitiesAbstract" xlink:label="us-gaap_ComponentsOfDeferredTaxAssetsAndLiabilitiesAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ComponentsOfDeferredTaxAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_ComponentsOfDeferredTaxAssetsAndLiabilitiesAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ComponentsOfDeferredTaxAssetsAndLiabilitiesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Components of Deferred Tax Assets and Liabilities [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ComponentsOfDeferredTaxAssetsAndLiabilitiesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred tax assets and deferred tax liabilities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComponentsOfDeferredTaxAssetsAbstract" xlink:label="us-gaap_ComponentsOfDeferredTaxAssetsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ComponentsOfDeferredTaxAssetsAbstract" xlink:to="us-gaap_ComponentsOfDeferredTaxAssetsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ComponentsOfDeferredTaxAssetsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Components of Deferred Tax Assets [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ComponentsOfDeferredTaxAssetsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred tax assets: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsPolicyholderLiabilities" xlink:label="us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsPolicyholderLiabilities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsPolicyholderLiabilities" xlink:to="us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsPolicyholderLiabilities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsPolicyholderLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Policyholder Liabilities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsPolicyholderLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Tax discounting of claim reserves </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsUnearnedPremiumsReserve" xlink:label="us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsUnearnedPremiumsReserve" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsUnearnedPremiumsReserve" xlink:to="us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsUnearnedPremiumsReserve_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsUnearnedPremiumsReserve_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Unearned Premiums Reserve </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsUnearnedPremiumsReserve_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unearned premium offset </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation" xlink:label="us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation" xlink:to="us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Assets, Tax Deferred Expense, Compensation and Benefits, Employee Compensation </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeCompensation_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred compensation </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost" xlink:label="us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost" xlink:to="us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Assets, Tax Deferred Expense, Compensation and Benefits, Share-based Compensation Cost </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stock option expense </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsOther" xlink:label="us-gaap_DeferredTaxAssetsOther" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxAssetsOther" xlink:to="us-gaap_DeferredTaxAssetsOther_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxAssetsOther_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Assets, Other </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredTaxAssetsOther_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsGross" xlink:label="us-gaap_DeferredTaxAssetsGross" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxAssetsGross" xlink:to="us-gaap_DeferredTaxAssetsGross_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxAssetsGross_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Assets, Gross </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_DeferredTaxAssetsGross_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred tax assets before allowance </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsNet" xlink:label="us-gaap_DeferredTaxAssetsNet" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxAssetsNet" xlink:to="us-gaap_DeferredTaxAssetsNet_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxAssetsNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Assets, Net of Valuation Allowance </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_DeferredTaxAssetsNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total deferred tax assets </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract" xlink:label="us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract" xlink:to="us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Components of Deferred Tax Liabilities [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ComponentsOfDeferredTaxLiabilitiesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred tax liabilities: </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DeferredTaxLiabilitiesUnrealizedGainsOnSecurities" xlink:label="rli_DeferredTaxLiabilitiesUnrealizedGainsOnSecurities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DeferredTaxLiabilitiesUnrealizedGainsOnSecurities" xlink:to="rli_DeferredTaxLiabilitiesUnrealizedGainsOnSecurities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_DeferredTaxLiabilitiesUnrealizedGainsOnSecurities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> The amount as of the balance sheet date of the estimated future tax effects arising from unrealized gains on investments in debt and equity securities which will increase future taxable income when such gain is realized. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DeferredTaxLiabilitiesUnrealizedGainsOnSecurities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Liabilities Unrealized Gains on Securities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_DeferredTaxLiabilitiesUnrealizedGainsOnSecurities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net unrealized appreciation of securities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredPolicyAcquisitionCost" xlink:label="us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredPolicyAcquisitionCost" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredPolicyAcquisitionCost" xlink:to="us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredPolicyAcquisitionCost_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredPolicyAcquisitionCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Liabilities, Deferred Expense, Deferred Policy Acquisition Cost </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredPolicyAcquisitionCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred policy acquisition costs </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_Deferredtaxliabilitiesdiscountingofunpaidlossestcjaoffset" xlink:label="rli_Deferredtaxliabilitiesdiscountingofunpaidlossestcjaoffset" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_Deferredtaxliabilitiesdiscountingofunpaidlossestcjaoffset" xlink:to="rli_Deferredtaxliabilitiesdiscountingofunpaidlossestcjaoffset_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_Deferredtaxliabilitiesdiscountingofunpaidlossestcjaoffset_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> The amount as of the balance sheet date of the estimated future tax effects arising from the implementation of the TCJA requirements for discounting unpaid losses and settlement expense. The deferred tax liability will decrease ratably over an eight year period beginning in 2018 as the new discounting methods are implemented as governed by the TCJA. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_Deferredtaxliabilitiesdiscountingofunpaidlossestcjaoffset_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Liabilities Discounting Of Unpaid Losses TCJA Offset </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment" xlink:label="us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment" xlink:to="us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Liabilities, Property, Plant and Equipment </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Book/tax depreciation </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets" xlink:label="us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets" xlink:to="us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Liabilities, Intangible Assets </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Intangible assets </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates" xlink:label="us-gaap_DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates" xlink:to="us-gaap_DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Liabilities, Investment in Noncontrolled Affiliates </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredTaxLiabilitiesInvestmentInNoncontrolledAffiliates_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Undistributed earnings of unconsolidated investees </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesOther" xlink:label="us-gaap_DeferredTaxLiabilitiesOther" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxLiabilitiesOther" xlink:to="us-gaap_DeferredTaxLiabilitiesOther_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxLiabilitiesOther_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Liabilities, Other </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredTaxLiabilitiesOther_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities" xlink:label="us-gaap_DeferredIncomeTaxLiabilities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredIncomeTaxLiabilities" xlink:to="us-gaap_DeferredIncomeTaxLiabilities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredIncomeTaxLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Liabilities, Gross </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_DeferredIncomeTaxLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total deferred tax liabilities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilities" xlink:label="us-gaap_DeferredTaxLiabilities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxLiabilities" xlink:to="us-gaap_DeferredTaxLiabilities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Tax Liabilities, Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:label="us-gaap_DeferredTaxLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net deferred tax liability </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract" xlink:label="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract" xlink:to="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, Amount [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reconciliation of income tax expense reported to amount computed by applying the U.S. federal tax rate </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_IncomeTaxReconciliationReconcilingItemsAbstract" xlink:label="rli_IncomeTaxReconciliationReconcilingItemsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_IncomeTaxReconciliationReconcilingItemsAbstract" xlink:to="rli_IncomeTaxReconciliationReconcilingItemsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_IncomeTaxReconciliationReconcilingItemsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (decrease) in taxes resulting from: </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_IncomeTaxReconciliationReconcilingItemsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (reduction) in taxes resulting from: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:label="us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:to="us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation at Federal Statutory Income Tax Rate, Amount </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Provision for income taxes at the statutory rate of 21% in 2018 and 35% in 2017 </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_Enactmentoftaxcutsandjobsact" xlink:label="rli_Enactmentoftaxcutsandjobsact" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_Enactmentoftaxcutsandjobsact" xlink:to="rli_Enactmentoftaxcutsandjobsact_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_Enactmentoftaxcutsandjobsact_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount of tax benefit from the implementation of the Tax Cuts and Jobs Act of 2017. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_Enactmentoftaxcutsandjobsact_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Enactment Of Tax Cuts And Jobs Act </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Excess tax benefit on share-based compensation </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Excess tax benefit on share-based compensation </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationDeductionsDividends" xlink:label="us-gaap_IncomeTaxReconciliationDeductionsDividends" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxReconciliationDeductionsDividends" xlink:to="us-gaap_IncomeTaxReconciliationDeductionsDividends_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxReconciliationDeductionsDividends_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, Deduction, Dividends, Amount </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncomeTaxReconciliationDeductionsDividends_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Dividends received deduction </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends" xlink:label="us-gaap_IncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends" xlink:to="us-gaap_IncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, Deduction, Employee Stock Ownership Plan Dividend, Amount </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> ESOP dividends paid deduction </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationTaxExemptIncome" xlink:label="us-gaap_IncomeTaxReconciliationTaxExemptIncome" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxReconciliationTaxExemptIncome" xlink:to="us-gaap_IncomeTaxReconciliationTaxExemptIncome_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxReconciliationTaxExemptIncome_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, Tax Exempt Income, Amount </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncomeTaxReconciliationTaxExemptIncome_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Tax-exempt interest income </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationDeductionsOther" xlink:label="us-gaap_IncomeTaxReconciliationDeductionsOther" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxReconciliationDeductionsOther" xlink:to="us-gaap_IncomeTaxReconciliationDeductionsOther_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxReconciliationDeductionsOther_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, Deduction, Other, Amount </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncomeTaxReconciliationDeductionsOther_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unconsolidated investee dividends </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:label="us-gaap_IncomeTaxReconciliationOtherAdjustments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:to="us-gaap_IncomeTaxReconciliationOtherAdjustments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxReconciliationOtherAdjustments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, Other Adjustments, Amount </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxReconciliationOtherAdjustments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other items, net </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract" xlink:to="us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, Percent [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reconciliation of income tax expense rate to the U.S. federal tax rate </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_EffectiveIncomeTaxRateReconciliationTaxCutsAndJobsActOf2017Percent" xlink:label="rli_EffectiveIncomeTaxRateReconciliationTaxCutsAndJobsActOf2017Percent" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_EffectiveIncomeTaxRateReconciliationTaxCutsAndJobsActOf2017Percent" xlink:to="rli_EffectiveIncomeTaxRateReconciliationTaxCutsAndJobsActOf2017Percent_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_EffectiveIncomeTaxRateReconciliationTaxCutsAndJobsActOf2017Percent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Percentage of reported income tax expense (benefit) in excess of (less than) expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operations, attributable to increase (decrease) in income tax rate and transition tax on accumulated earnings of controlled foreign corporation deemed repatriated pursuant to Tax Cuts and Jobs Act of 2017. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_EffectiveIncomeTaxRateReconciliationTaxCutsAndJobsActOf2017Percent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, Tax Cuts and Jobs Act of 2017, Percent </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="rli_EffectiveIncomeTaxRateReconciliationTaxCutsAndJobsActOf2017Percent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Enactment of Tax Cuts and Jobs Act (TCJA) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, Nondeductible Expense, Share-based Compensation Cost, Percent </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitPercent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Excess tax benefit on share-based compensation </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsDividends" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsDividends" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsDividends" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsDividends_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsDividends_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, Deduction, Dividend, Percent </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsDividends_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective rate reduction due to dividend received (as a percent) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, Deduction, Employee Stock Ownership Plan Dividend, Percent </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective rate reduction due to dividend paid to ESOP (as a percent) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsEmployeeStockOwnershipPlanDividends_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective rate reduction due to dividends paid to ESOP (as a percent) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, Tax Exempt Income, Percent </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective rate reduction due to tax exempt interest income (as a percent) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsOther" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsOther" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsOther" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsOther_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsOther_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective rate reduction due to unconsolidated investee dividends </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationDeductionsOther_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective rate reduction due to unconsolidated investee dividends </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:to="us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, Other Adjustments, Percent </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective rate reduction due to other items, net (as a percent) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:to="us-gaap_EffectiveIncomeTaxRateContinuingOperations_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, Percent </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective tax rates (as a percent) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Reconciliation, Percent, Total </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CapitalGainsTaxRate" xlink:label="rli_CapitalGainsTaxRate" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CapitalGainsTaxRate" xlink:to="rli_CapitalGainsTaxRate_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CapitalGainsTaxRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the tax rate applicable on capital gains. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CapitalGainsTaxRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Capital Gains Tax Rate </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CapitalGainsTaxRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Capital gains rate (as a percent) </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_IncomeTaxExpenseBenefitPercentageOfLowerTaxRate" xlink:label="rli_IncomeTaxExpenseBenefitPercentageOfLowerTaxRate" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_IncomeTaxExpenseBenefitPercentageOfLowerTaxRate" xlink:to="rli_IncomeTaxExpenseBenefitPercentageOfLowerTaxRate_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_IncomeTaxExpenseBenefitPercentageOfLowerTaxRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the percentage of lower tax rate. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_IncomeTaxExpenseBenefitPercentageOfLowerTaxRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income Tax Expense (Benefit) Percentage of Lower Tax Rate </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_IncomeTaxExpenseBenefitPercentageOfLowerTaxRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Lower tax rate (as a percent) </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_EffectiveIncomeTaxRateContinuingOperationsAnticipatedOnReversalOfDeferredItems" xlink:label="rli_EffectiveIncomeTaxRateContinuingOperationsAnticipatedOnReversalOfDeferredItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_EffectiveIncomeTaxRateContinuingOperationsAnticipatedOnReversalOfDeferredItems" xlink:to="rli_EffectiveIncomeTaxRateContinuingOperationsAnticipatedOnReversalOfDeferredItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_EffectiveIncomeTaxRateContinuingOperationsAnticipatedOnReversalOfDeferredItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> The effective income tax rate which the entity anticipates to be applied to its taxable income when deferred items reverse in future years. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_EffectiveIncomeTaxRateContinuingOperationsAnticipatedOnReversalOfDeferredItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Effective Income Tax Rate Continuing Operations Anticipated on Reversal of Deferred Items </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_EffectiveIncomeTaxRateContinuingOperationsAnticipatedOnReversalOfDeferredItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Expected effective tax rate when deferred items reverse in future years (as a percent) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxesPaid" xlink:label="us-gaap_IncomeTaxesPaid" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxesPaid" xlink:to="us-gaap_IncomeTaxesPaid_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxesPaid_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income Taxes Paid </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxesPaid_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Federal and state income taxes paid </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ScheduleOfDefinedContributionBenefitPlansDisclosuresTable" xlink:label="rli_ScheduleOfDefinedContributionBenefitPlansDisclosuresTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ScheduleOfDefinedContributionBenefitPlansDisclosuresTable" xlink:to="rli_ScheduleOfDefinedContributionBenefitPlansDisclosuresTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ScheduleOfDefinedContributionBenefitPlansDisclosuresTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Disclosures about defined contribution plans. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ScheduleOfDefinedContributionBenefitPlansDisclosuresTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Defined Contribution Benefit Plans Disclosures [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="us-gaap_RetirementPlanTypeAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetirementPlanTypeAxis" xlink:to="us-gaap_RetirementPlanTypeAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RetirementPlanTypeAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Retirement Plan Type [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="us-gaap_RetirementPlanTypeDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetirementPlanTypeDomain" xlink:to="us-gaap_RetirementPlanTypeDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RetirementPlanTypeDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Retirement Plan Type [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RetirementPlanTypeDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Defined Benefit Plan and Other Postretirement Benefit Plan [Domain] </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_EmployeeStockOwnershipPlanAndDefinedContributionPensionMember" xlink:label="rli_EmployeeStockOwnershipPlanAndDefinedContributionPensionMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_EmployeeStockOwnershipPlanAndDefinedContributionPensionMember" xlink:to="rli_EmployeeStockOwnershipPlanAndDefinedContributionPensionMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_EmployeeStockOwnershipPlanAndDefinedContributionPensionMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Information pertaining to the entity's employee stock ownership plan and 401(k) plan. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_EmployeeStockOwnershipPlanAndDefinedContributionPensionMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Employee Stock Ownership Plan And Defined Contribution Pension [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_EmployeeStockOwnershipPlanAndDefinedContributionPensionMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> ESOP and 401(k) Plans </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_EmployeeStockOwnershipPlanMember" xlink:label="rli_EmployeeStockOwnershipPlanMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_EmployeeStockOwnershipPlanMember" xlink:to="rli_EmployeeStockOwnershipPlanMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_EmployeeStockOwnershipPlanMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> An ESOP is a stock bonus plan or a combination stock bonus plan and money purchase plan that is designed to invest primarily in qualifying employer securities and to use borrowed funds to do so. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_EmployeeStockOwnershipPlanMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Employee Stock Ownership Plan [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_EmployeeStockOwnershipPlanMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Employee Stock Ownership Plan (ESOP) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="us-gaap_PensionPlansDefinedBenefitMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PensionPlansDefinedBenefitMember" xlink:to="us-gaap_PensionPlansDefinedBenefitMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PensionPlansDefinedBenefitMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Pension Plans Defined Benefit [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PensionPlansDefinedBenefitMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Employee 401(k) Plans </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DeferredCompensationPlanMember" xlink:label="rli_DeferredCompensationPlanMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DeferredCompensationPlanMember" xlink:to="rli_DeferredCompensationPlanMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_DeferredCompensationPlanMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> An arrangement in which a portion of an employee's income is paid out at a date after which that income is actually earned. Examples of deferred compensation include pensions, retirement plans, and stock options. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DeferredCompensationPlanMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Compensation Plan [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_DeferredCompensationPlanMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred compensation plan </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DefinedContributionBenefitPlansLineItems" xlink:label="rli_DefinedContributionBenefitPlansLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DefinedContributionBenefitPlansLineItems" xlink:to="rli_DefinedContributionBenefitPlansLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DefinedContributionBenefitPlansLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Defined Contribution Benefit Plans [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_DefinedContributionBenefitPlansLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Employee Stock Ownership, 401(K) And Deferred Compensation Plan </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_IncentivePlansBonusExpense" xlink:label="rli_IncentivePlansBonusExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_IncentivePlansBonusExpense" xlink:to="rli_IncentivePlansBonusExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_IncentivePlansBonusExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the annual expense for bonuses awarded under incentive plans. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_IncentivePlansBonusExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Incentive Plans, Bonus Expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_IncentivePlansBonusExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Annual expenses for incentive plans </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DefinedContributionPlanEmployerContribution" xlink:label="rli_DefinedContributionPlanEmployerContribution" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DefinedContributionPlanEmployerContribution" xlink:to="rli_DefinedContributionPlanEmployerContribution_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_DefinedContributionPlanEmployerContribution_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the basic employer contribution to the defined contribution plan, as a percentage of eligible compensation. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DefinedContributionPlanEmployerContribution_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Defined Contribution Plan Employer Contribution </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_DefinedContributionPlanEmployerContribution_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Employer contribution as a percent of eligible compensation </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DefinedContributionPlanVestingPercentage" xlink:label="rli_DefinedContributionPlanVestingPercentage" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DefinedContributionPlanVestingPercentage" xlink:to="rli_DefinedContributionPlanVestingPercentage_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_DefinedContributionPlanVestingPercentage_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the participant's vesting percentage in basic and voluntary contributions under the defined contribution plan. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DefinedContributionPlanVestingPercentage_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Defined Contribution Plan Vesting Percentage </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_DefinedContributionPlanVestingPercentage_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Vesting percentage in basic and voluntary contributions </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DefinedContributionPlanVestingPeriodOfProfitSharingContributions" xlink:label="rli_DefinedContributionPlanVestingPeriodOfProfitSharingContributions" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DefinedContributionPlanVestingPeriodOfProfitSharingContributions" xlink:to="rli_DefinedContributionPlanVestingPeriodOfProfitSharingContributions_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_DefinedContributionPlanVestingPeriodOfProfitSharingContributions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Description of the period of time over which an employee's right to a profit-sharing contribution is no longer contingent on satisfaction of either a service condition, market condition or a performance condition. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DefinedContributionPlanVestingPeriodOfProfitSharingContributions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Defined Contribution Plan Vesting Period of Profit Sharing Contributions </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_DefinedContributionPlanVestingPeriodOfProfitSharingContributions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Vesting period of profit sharing contributions </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedContributionPlanCostRecognized" xlink:label="us-gaap_DefinedContributionPlanCostRecognized" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DefinedContributionPlanCostRecognized" xlink:to="us-gaap_DefinedContributionPlanCostRecognized_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DefinedContributionPlanCostRecognized_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Defined Contribution Plan, Cost Recognized </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DefinedContributionPlanCostRecognized_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Expenses recognized </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DefinedContributionPlanSharesPurchased" xlink:label="rli_DefinedContributionPlanSharesPurchased" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DefinedContributionPlanSharesPurchased" xlink:to="rli_DefinedContributionPlanSharesPurchased_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_DefinedContributionPlanSharesPurchased_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the shares purchased under the defined contribution plan. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DefinedContributionPlanSharesPurchased_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Defined Contribution Plan Shares Purchased </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_DefinedContributionPlanSharesPurchased_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Shares purchased under defined contribution plan </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DefinedContributionPlanSharesPurchasedAverageMarketPrice" xlink:label="rli_DefinedContributionPlanSharesPurchasedAverageMarketPrice" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DefinedContributionPlanSharesPurchasedAverageMarketPrice" xlink:to="rli_DefinedContributionPlanSharesPurchasedAverageMarketPrice_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_DefinedContributionPlanSharesPurchasedAverageMarketPrice_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the average market price of the shares purchased under the defined contribution plan. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DefinedContributionPlanSharesPurchasedAverageMarketPrice_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Defined Contribution Plan Shares Purchased Average Market Price </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_DefinedContributionPlanSharesPurchasedAverageMarketPrice_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Average price of shares purchased (in dollars per share) </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DefinedContributionPlanSharesPurchasedAggregateValue" xlink:label="rli_DefinedContributionPlanSharesPurchasedAggregateValue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DefinedContributionPlanSharesPurchasedAggregateValue" xlink:to="rli_DefinedContributionPlanSharesPurchasedAggregateValue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_DefinedContributionPlanSharesPurchasedAggregateValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the aggregate market price of the shares purchased under the defined contribution plan. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DefinedContributionPlanSharesPurchasedAggregateValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Defined Contribution Plan Shares Purchased Aggregate Value </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_DefinedContributionPlanSharesPurchasedAggregateValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Aggregate price of shares purchased </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP" xlink:label="us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP" xlink:to="us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Employee Stock Ownership Plan (ESOP), Shares in ESOP </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Shares held by the ESOP </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredCompensationPlanAssets" xlink:label="us-gaap_DeferredCompensationPlanAssets" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredCompensationPlanAssets" xlink:to="us-gaap_DeferredCompensationPlanAssets_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredCompensationPlanAssets_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Compensation Plan Assets </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredCompensationPlanAssets_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Assets held under trust </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="us-gaap_PlanNameAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PlanNameAxis" xlink:to="us-gaap_PlanNameAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PlanNameAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Plan Name [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="us-gaap_PlanNameDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PlanNameDomain" xlink:to="us-gaap_PlanNameDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PlanNameDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Plan Name [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PlanNameDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Plan Name [Domain] </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_LongTermIncentivePlanAndOmnibusStockPlanMember" xlink:label="rli_LongTermIncentivePlanAndOmnibusStockPlanMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_LongTermIncentivePlanAndOmnibusStockPlanMember" xlink:to="rli_LongTermIncentivePlanAndOmnibusStockPlanMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_LongTermIncentivePlanAndOmnibusStockPlanMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the shareholder-approved Omnibus Stock Plan for the granting of stock options and Long-Term Incentive Plan for the granting of equity-based awards to employees or directors of the entity or any affiliate. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_LongTermIncentivePlanAndOmnibusStockPlanMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Long Term Incentive Plan And Omnibus Stock Plan [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_LongTermIncentivePlanAndOmnibusStockPlanMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> RLI Corp. Long-Term Incentive Plan (LTIP) and Omnibus Stock Plan </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_LongTermIncentivePlanMember" xlink:label="rli_LongTermIncentivePlanMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_LongTermIncentivePlanMember" xlink:to="rli_LongTermIncentivePlanMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_LongTermIncentivePlanMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the shareholder-approved Long-Term Incentive Plan for the granting of equity-based awards to employees or directors of the entity or any affiliate. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_LongTermIncentivePlanMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Long Term Incentive Plan [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_LongTermIncentivePlanMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> RLI Corp. Long-Term Incentive Plan (2010 LTIP) </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_LongTermIncentivePlan2015Member" xlink:label="rli_LongTermIncentivePlan2015Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_LongTermIncentivePlan2015Member" xlink:to="rli_LongTermIncentivePlan2015Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_LongTermIncentivePlan2015Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the shareholder-approved 2015 Long-Term Incentive Plan for granting of equity-based awards to employees or directors of the entity or any affiliate. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_LongTermIncentivePlan2015Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Long Term Incentive Plan2015 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_LongTermIncentivePlan2015Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> RLI Corp. Long-Term Incentive Plan (2015 LTIP) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualAxis" xlink:label="us-gaap_TitleOfIndividualAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TitleOfIndividualAxis" xlink:to="us-gaap_TitleOfIndividualAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TitleOfIndividualAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Title of Individual [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:label="us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TitleOfIndividualWithRelationshipToEntityDomain" xlink:to="us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Title Of Individual With Relationship To Entity [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_TitleOfIndividualWithRelationshipToEntityDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Relationship to Entity [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DirectorMember" xlink:label="us-gaap_DirectorMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DirectorMember" xlink:to="us-gaap_DirectorMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DirectorMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Director [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DirectorMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Outside director </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stock options and stock plans </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Shares authorized for grant </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedToDate" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedToDate" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedToDate" xlink:to="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedToDate_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedToDate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cumulative number of share options (or share units) granted under the plan to date from inception. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedToDate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award Options, Granted to Date </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedToDate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stock options granted to date (in shares) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Award vesting period </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Term of options </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardAgeAndPeriodOfServiceToBeEligibleForRetirement" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardAgeAndPeriodOfServiceToBeEligibleForRetirement" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardAgeAndPeriodOfServiceToBeEligibleForRetirement" xlink:to="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardAgeAndPeriodOfServiceToBeEligibleForRetirement_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardAgeAndPeriodOfServiceToBeEligibleForRetirement_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the participant's age and period of service to be considered retirement eligible under the plan. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardAgeAndPeriodOfServiceToBeEligibleForRetirement_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Age and Period of Service to be Eligible for Retirement </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardAgeAndPeriodOfServiceToBeEligibleForRetirement_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Age and period of service of the participant to be eligible for retirement </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Weighted Number of Options Outstanding </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Outstanding options at the end of the period (in shares) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Outstanding options at the beginning of the period (in shares) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Net of Forfeitures </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Options granted (in shares) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:to="us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Options exercised (in shares) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures and Expirations in Period </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Options canceled/forfeited (in shares) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Exercisable options at the end of the period (in shares) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Weighted Average Exercise Price </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Outstanding options at the end of the period (in dollars per share) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Outstanding options at the beginning of the period (in dollars per share) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Options granted (in dollars per share) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Options exercised (in dollars per share) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures and Expirations in Period, Weighted Average Exercise Price </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Options canceled/forfeited (in dollars per share) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Exercise Price </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Exercisable options at the end of the period (in dollars per share) </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsWeightedAverageRemainingContractualLifeAbstract" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsWeightedAverageRemainingContractualLifeAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsWeightedAverageRemainingContractualLifeAbstract" xlink:to="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsWeightedAverageRemainingContractualLifeAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsWeightedAverageRemainingContractualLifeAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> No definition available. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsWeightedAverageRemainingContractualLifeAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award Options, Weighted Average Remaining Contractual Life [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsWeightedAverageRemainingContractualLifeAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Weighted Average Remaining Contractual Life </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Weighted-average remaining contractual term of options outstanding </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Weighted-average remaining contractual term of exercisable options </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAggregateIntrinsicValueAbstract" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAggregateIntrinsicValueAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAggregateIntrinsicValueAbstract" xlink:to="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAggregateIntrinsicValueAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAggregateIntrinsicValueAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> No definition available. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAggregateIntrinsicValueAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award Options Aggregate Intrinsic Value [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAggregateIntrinsicValueAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Aggregate Intrinsic Value </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Intrinsic Value </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Options exercised (in dollars) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Outstanding options at the end of the period (in dollars) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Intrinsic Value </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Exercisable options at the end of the period (in dollars) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Weighted-average fair value of options granted (in dollars per share) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Weighted-average fair value of grants (in dollars per share) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Employee Service Share-based Compensation, Tax Benefit from Compensation Expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income tax benefit from stock-based compensation (in dollars) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unrecognized stock-based compensation expense (in dollars) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions and Methodology [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Weighted average grant date assumptions and weighted average fair value </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Risk-free interest rates (as a percent) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Dividend Rate </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Dividend yield (as a percent) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Expected volatility (as a percent) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Expected option life </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardDividendYieldBasisPeriod" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardDividendYieldBasisPeriod" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardDividendYieldBasisPeriod" xlink:to="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardDividendYieldBasisPeriod_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardDividendYieldBasisPeriod_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the prior period for which annualized dividends are considered to calculate the dividend yield. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardDividendYieldBasisPeriod_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share-based Compensation Arrangement by Share-based Payment Award, Dividend Yield Basis Period </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ShareBasedCompensationArrangementByShareBasedPaymentAwardDividendYieldBasisPeriod_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Period for which annualized dividends is considered to calculate dividend yield </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> RSUs Granted </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> RSUs Outstanding </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_Grantdatefairvalueofrsus" xlink:label="rli_Grantdatefairvalueofrsus" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_Grantdatefairvalueofrsus" xlink:to="rli_Grantdatefairvalueofrsus_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_Grantdatefairvalueofrsus_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> The fair value at grant date for nonvested equity-based awards issued during the period on restricted stock units. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_Grantdatefairvalueofrsus_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Grant date fair value of RSUs </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatutoryAccountingPracticesTable" xlink:label="us-gaap_StatutoryAccountingPracticesTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatutoryAccountingPracticesTable" xlink:to="us-gaap_StatutoryAccountingPracticesTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatutoryAccountingPracticesTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Statutory Accounting Practices [Table] </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_LegalEntityAxis" xlink:to="dei_LegalEntityAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_LegalEntityAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Legal Entity [Axis] </label>
<loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityDomain" xlink:to="dei_EntityDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Entity [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Entity [Domain] </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_RLIInsuranceCompanyMember" xlink:label="rli_RLIInsuranceCompanyMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_RLIInsuranceCompanyMember" xlink:to="rli_RLIInsuranceCompanyMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_RLIInsuranceCompanyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents RLI Insurance Company (RLI Ins.), the principal subsidiary of the entity. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_RLIInsuranceCompanyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> R L I Insurance Company [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_RLIInsuranceCompanyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> RLI Ins. </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatutoryAccountingPracticesLineItems" xlink:label="us-gaap_StatutoryAccountingPracticesLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatutoryAccountingPracticesLineItems" xlink:to="us-gaap_StatutoryAccountingPracticesLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatutoryAccountingPracticesLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Statutory Accounting Practices [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StatutoryAccountingPracticesLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Statutory information and dividend restrictions </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_StockholdersEquityUnrestrictedLiquidAssets" xlink:label="rli_StockholdersEquityUnrestrictedLiquidAssets" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_StockholdersEquityUnrestrictedLiquidAssets" xlink:to="rli_StockholdersEquityUnrestrictedLiquidAssets_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_StockholdersEquityUnrestrictedLiquidAssets_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the amount of stockholders' equity that is not subject to regulatory restrictions under state insurance laws and is comprised of liquid assets. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_StockholdersEquityUnrestrictedLiquidAssets_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Stockholders Equity Unrestricted Liquid Assets </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_StockholdersEquityUnrestrictedLiquidAssets_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Remaining unrestricted equity, liquid assets </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusRequired" xlink:label="us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusRequired" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusRequired" xlink:to="us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusRequired_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusRequired_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Statutory Accounting Practices, Statutory Capital and Surplus Required </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusRequired_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Authorized control level RBC </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_FairValueOfInvestmentInAffiliateIncludedInStatutorySurplus" xlink:label="rli_FairValueOfInvestmentInAffiliateIncludedInStatutorySurplus" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_FairValueOfInvestmentInAffiliateIncludedInStatutorySurplus" xlink:to="rli_FairValueOfInvestmentInAffiliateIncludedInStatutorySurplus_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_FairValueOfInvestmentInAffiliateIncludedInStatutorySurplus_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> The fair value of ultimate parent (affiliate) common stock contained within statutory surplus. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_FairValueOfInvestmentInAffiliateIncludedInStatutorySurplus_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value of Investment in Affiliate Included in Statutory Surplus </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CostBasisOfInvestmentInAffiliateIncludedInStatutorySurplus" xlink:label="rli_CostBasisOfInvestmentInAffiliateIncludedInStatutorySurplus" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CostBasisOfInvestmentInAffiliateIncludedInStatutorySurplus" xlink:to="rli_CostBasisOfInvestmentInAffiliateIncludedInStatutorySurplus_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CostBasisOfInvestmentInAffiliateIncludedInStatutorySurplus_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> The cost basis of ultimate parent (affiliate) common stock contained within statutory surplus. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CostBasisOfInvestmentInAffiliateIncludedInStatutorySurplus_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cost Basis of Investment in Affiliate Included in Statutory Surplus </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_StatutoryAccountingPracticesAbstract" xlink:label="rli_StatutoryAccountingPracticesAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_StatutoryAccountingPracticesAbstract" xlink:to="rli_StatutoryAccountingPracticesAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_StatutoryAccountingPracticesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Statutory Accounting Practices [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_StatutoryAccountingPracticesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Selected information for insurance subsidiaries </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatutoryAccountingPracticesStatutoryNetIncomeAmount" xlink:label="us-gaap_StatutoryAccountingPracticesStatutoryNetIncomeAmount" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatutoryAccountingPracticesStatutoryNetIncomeAmount" xlink:to="us-gaap_StatutoryAccountingPracticesStatutoryNetIncomeAmount_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatutoryAccountingPracticesStatutoryNetIncomeAmount_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Statutory Accounting Practices, Statutory Net Income Amount </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StatutoryAccountingPracticesStatutoryNetIncomeAmount_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Consolidated net income, statutory basis </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusBalance" xlink:label="us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusBalance" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusBalance" xlink:to="us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusBalance_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusBalance_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Statutory Accounting Practices, Statutory Capital and Surplus, Balance </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StatutoryAccountingPracticesStatutoryCapitalAndSurplusBalance_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Consolidated surplus, statutory basis </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AmountAvailableForDividendDistributionWithoutPriorApprovalFromRegulatoryAgencyPercentageOfSurplus" xlink:label="rli_AmountAvailableForDividendDistributionWithoutPriorApprovalFromRegulatoryAgencyPercentageOfSurplus" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AmountAvailableForDividendDistributionWithoutPriorApprovalFromRegulatoryAgencyPercentageOfSurplus" xlink:to="rli_AmountAvailableForDividendDistributionWithoutPriorApprovalFromRegulatoryAgencyPercentageOfSurplus_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AmountAvailableForDividendDistributionWithoutPriorApprovalFromRegulatoryAgencyPercentageOfSurplus_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> The amount of dividends that may be paid or declared in any calendar year without prior approval of regulatory agencies, as a percentage of policyholder surplus at the preceding year end. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AmountAvailableForDividendDistributionWithoutPriorApprovalFromRegulatoryAgencyPercentageOfSurplus_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount Available for Dividend Distribution without Prior Approval from Regulatory Agency Percentage of Surplus </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AmountAvailableForDividendDistributionWithoutPriorApprovalFromRegulatoryAgencyPercentageOfSurplus_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Dividend restriction as percentage of policyholder surplus </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsOfOrdinaryDividends" xlink:label="us-gaap_PaymentsOfOrdinaryDividends" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsOfOrdinaryDividends" xlink:to="us-gaap_PaymentsOfOrdinaryDividends_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsOfOrdinaryDividends_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Payments of Ordinary Dividends </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_DividendPaymentRestrictionsScheduleAmountsPaidWithPriorApprovalFromRegulatoryAuthority" xlink:label="rli_DividendPaymentRestrictionsScheduleAmountsPaidWithPriorApprovalFromRegulatoryAuthority" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_DividendPaymentRestrictionsScheduleAmountsPaidWithPriorApprovalFromRegulatoryAuthority" xlink:to="rli_DividendPaymentRestrictionsScheduleAmountsPaidWithPriorApprovalFromRegulatoryAuthority_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_DividendPaymentRestrictionsScheduleAmountsPaidWithPriorApprovalFromRegulatoryAuthority_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the amount of dividends distributed to shareholders in the current accounting period after obtaining prior approval from the regulatory authorities. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_DividendPaymentRestrictionsScheduleAmountsPaidWithPriorApprovalFromRegulatoryAuthority_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Dividend Payment Restrictions Schedule Amounts Paid with Prior Approval from Regulatory Authority </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_DividendPaymentRestrictionsScheduleAmountsPaidWithPriorApprovalFromRegulatoryAuthority_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Extraordinary dividend paid after seeking and receiving approval from the Illinois regulatory authorities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueAbstract" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Operating Leases, Future Minimum Payments Due, Fiscal Year Maturity [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Minimum future rental payments under noncancellable leases </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Operating Leases, Future Minimum Payments Due, Next Twelve Months </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> 2019 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Operating Leases, Future Minimum Payments, Due in Two Years </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> 2020 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Operating Leases, Future Minimum Payments, Due in Three Years </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> 2021 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Operating Leases, Future Minimum Payments, Due in Four Years </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> 2022 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Operating Leases, Future Minimum Payments, Due in Five Years </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> 2023 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Operating Leases, Future Minimum Payments, Due Thereafter </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> 2024-2035 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Operating Leases, Future Minimum Payments Due </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Total minimum future rental payments </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsAbstract" xlink:label="us-gaap_OtherAssetsAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAssetsAbstract" xlink:to="us-gaap_OtherAssetsAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAssetsAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Assets [Abstract] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingencyInformationAboutLitigationMattersAbstract" xlink:label="us-gaap_LossContingencyInformationAboutLitigationMattersAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LossContingencyInformationAboutLitigationMattersAbstract" xlink:to="us-gaap_LossContingencyInformationAboutLitigationMattersAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LossContingencyInformationAboutLitigationMattersAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Loss Contingency, Information about Litigation Matters [Abstract] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingencyDamagesSoughtValue" xlink:label="us-gaap_LossContingencyDamagesSoughtValue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LossContingencyDamagesSoughtValue" xlink:to="us-gaap_LossContingencyDamagesSoughtValue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LossContingencyDamagesSoughtValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Loss Contingency, Damages Sought, Value </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Schedule of Segment Reporting Information, by Segment [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="us-gaap_SegmentReportingInformationLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_SegmentReportingInformationLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SegmentReportingInformationLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Segment Reporting Information [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SegmentReportingInformationLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Segment reporting information </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingInformationRevenueAbstract" xlink:label="us-gaap_SegmentReportingInformationRevenueAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingInformationRevenueAbstract" xlink:to="us-gaap_SegmentReportingInformationRevenueAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SegmentReportingInformationRevenueAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Segment Reporting Information, Revenue for Reportable Segment [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SegmentReportingInformationRevenueAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> REVENUES </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CostOfServicesInsuranceExpensesAbstract" xlink:label="rli_CostOfServicesInsuranceExpensesAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CostOfServicesInsuranceExpensesAbstract" xlink:to="rli_CostOfServicesInsuranceExpensesAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CostOfServicesInsuranceExpensesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> No definition available. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CostOfServicesInsuranceExpensesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cost of Services Insurance Expenses [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CostOfServicesInsuranceExpensesAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> INSURANCE EXPENSES </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CostOfServicesInsuranceExpenses" xlink:label="rli_CostOfServicesInsuranceExpenses" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CostOfServicesInsuranceExpenses" xlink:to="rli_CostOfServicesInsuranceExpenses_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CostOfServicesInsuranceExpenses_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Insurance expenses incurred and directly related to services rendered by an entity during the reporting period. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CostOfServicesInsuranceExpenses_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cost of Services Insurance Expenses </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CostOfServicesInsuranceExpenses_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Insurance expenses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingInformationProfitLossAbstract" xlink:label="us-gaap_SegmentReportingInformationProfitLossAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingInformationProfitLossAbstract" xlink:to="us-gaap_SegmentReportingInformationProfitLossAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SegmentReportingInformationProfitLossAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Segment Reporting Information, Profit (Loss) [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SegmentReportingInformationProfitLossAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> NET EARNINGS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnderwritingIncomeLoss" xlink:label="us-gaap_UnderwritingIncomeLoss" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnderwritingIncomeLoss" xlink:to="us-gaap_UnderwritingIncomeLoss_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_UnderwritingIncomeLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Underwriting Income (Loss) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_UnderwritingIncomeLoss_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net underwriting income </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_OtherGeneralAndInterestExpenses" xlink:label="rli_OtherGeneralAndInterestExpenses" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_OtherGeneralAndInterestExpenses" xlink:to="rli_OtherGeneralAndInterestExpenses_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_OtherGeneralAndInterestExpenses_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the amount of general corporate expenses and portion of interest incurred in the period on debt arrangements that was charged against earnings. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_OtherGeneralAndInterestExpenses_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other General and Interest Expenses </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="rli_OtherGeneralAndInterestExpenses_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> General corporate expense and interest on debt </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_EntityWideInformationRevenueByMajorProductLineItems" xlink:label="rli_EntityWideInformationRevenueByMajorProductLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_EntityWideInformationRevenueByMajorProductLineItems" xlink:to="rli_EntityWideInformationRevenueByMajorProductLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_EntityWideInformationRevenueByMajorProductLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Entity-Wide Information Revenue by Major Product [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_EntityWideInformationRevenueByMajorProductLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Revenue by major product </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTable" xlink:label="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTable" xlink:to="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Summary of Investments, Other than Investments in Related Parties [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IndustrialMiscellaneousAndAllOthersMember" xlink:label="us-gaap_IndustrialMiscellaneousAndAllOthersMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IndustrialMiscellaneousAndAllOthersMember" xlink:to="us-gaap_IndustrialMiscellaneousAndAllOthersMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IndustrialMiscellaneousAndAllOthersMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Industrial Miscellaneous And All Others [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IndustrialMiscellaneousAndAllOthersMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ind Misc & all other </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ExchangeTradedFundsMember" xlink:label="us-gaap_ExchangeTradedFundsMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ExchangeTradedFundsMember" xlink:to="us-gaap_ExchangeTradedFundsMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ExchangeTradedFundsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Exchange Traded Funds [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ExchangeTradedFundsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> ETFs (Ind/misc) </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_OtherInvestedAssetsMember" xlink:label="rli_OtherInvestedAssetsMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_OtherInvestedAssetsMember" xlink:to="rli_OtherInvestedAssetsMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_OtherInvestedAssetsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the other invested assets member </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_OtherInvestedAssetsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Invested Assets [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_OtherInvestedAssetsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Invested Assets </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems" xlink:label="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems" xlink:to="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Summary of Investments, Other than Investments in Related Parties, Reportable Data [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesReportableDataLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SCHEDULE I - SUMMARY OF INVESTMENTS-OTHER THAN INVESTMENTS IN RELATED PARTIES </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesCost" xlink:label="us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesCost" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesCost" xlink:to="us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesCost_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Summary of Investments, Other than Investments in Related Parties, Cost </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesCost_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cost </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesFairValue" xlink:label="us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesFairValue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesFairValue" xlink:to="us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesFairValue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesFairValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Summary of Investments, Other than Investments in Related Parties, Fair Value </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesFairValue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesCarryingAmount" xlink:label="us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesCarryingAmount" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesCarryingAmount" xlink:to="us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesCarryingAmount_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesCarryingAmount_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Summary of Investments, Other than Investments in Related Parties, Carrying Amount </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesCarryingAmount_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amount at which shown in the balance sheet </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ScheduleOfCondensedFinancialStatementsTable" xlink:label="srt_ScheduleOfCondensedFinancialStatementsTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ScheduleOfCondensedFinancialStatementsTable" xlink:to="srt_ScheduleOfCondensedFinancialStatementsTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ScheduleOfCondensedFinancialStatementsTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Condensed Financial Statements [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedBalanceSheetStatementsCaptionsLineItems" xlink:label="srt_CondensedBalanceSheetStatementsCaptionsLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_CondensedBalanceSheetStatementsCaptionsLineItems" xlink:to="srt_CondensedBalanceSheetStatementsCaptionsLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_CondensedBalanceSheetStatementsCaptionsLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Condensed Balance Sheet Statements, Captions [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_CondensedBalanceSheetStatementsCaptionsLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> CONDENSED BALANCE SHEETS (Parenthetical) </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="srt_CondensedBalanceSheetStatementsCaptionsLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> CONDENSED BALANCE SHEETS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DueFromAffiliates" xlink:label="us-gaap_DueFromAffiliates" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DueFromAffiliates" xlink:to="us-gaap_DueFromAffiliates_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DueFromAffiliates_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accounts receivable, affiliates </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_InvestmentInSubsidiaries" xlink:label="rli_InvestmentInSubsidiaries" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_InvestmentInSubsidiaries" xlink:to="rli_InvestmentInSubsidiaries_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_InvestmentInSubsidiaries_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> The entity's investments in its subsidiaries, at equity value as of the balance sheet date. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_InvestmentInSubsidiaries_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment in Subsidiaries </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_InvestmentInSubsidiaries_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investments in subsidiaries, at equity value </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxesReceivable" xlink:label="us-gaap_IncomeTaxesReceivable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxesReceivable" xlink:to="us-gaap_IncomeTaxesReceivable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxesReceivable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income Taxes Receivable, Current </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxesReceivable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income taxes receivable - current </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsMiscellaneous" xlink:label="us-gaap_OtherAssetsMiscellaneous" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAssetsMiscellaneous" xlink:to="us-gaap_OtherAssetsMiscellaneous_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAssetsMiscellaneous_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Assets, Miscellaneous </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherAssetsMiscellaneous_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other assets </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DueToAffiliateCurrentAndNoncurrent" xlink:label="us-gaap_DueToAffiliateCurrentAndNoncurrent" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DueToAffiliateCurrentAndNoncurrent" xlink:to="us-gaap_DueToAffiliateCurrentAndNoncurrent_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DueToAffiliateCurrentAndNoncurrent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accounts payable, affiliates </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedIncomeTaxes" xlink:label="us-gaap_AccruedIncomeTaxes" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedIncomeTaxes" xlink:to="us-gaap_AccruedIncomeTaxes_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccruedIncomeTaxes_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accrued Income Taxes </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccruedIncomeTaxes_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income taxes payable--current </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent" xlink:label="us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent" xlink:to="us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred Income Taxes and Other Tax Liabilities, Noncurrent </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredIncomeTaxesAndOtherTaxLiabilitiesNoncurrent_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income taxes payable--deferred </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_InterestPayableLongTermDebt" xlink:label="rli_InterestPayableLongTermDebt" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_InterestPayableLongTermDebt" xlink:to="rli_InterestPayableLongTermDebt_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_InterestPayableLongTermDebt_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the amount of interest payable on long-term borrowings as of the balance sheet date. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_InterestPayableLongTermDebt_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Interest Payable, Long-term Debt </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_InterestPayableLongTermDebt_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Interest payable, long-term debt </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherSundryLiabilities" xlink:label="us-gaap_OtherSundryLiabilities" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherSundryLiabilities" xlink:to="us-gaap_OtherSundryLiabilities_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherSundryLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Sundry Liabilities </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherSundryLiabilities_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other liabilities </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedStatementOfIncomeCaptionsLineItems" xlink:label="srt_CondensedStatementOfIncomeCaptionsLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_CondensedStatementOfIncomeCaptionsLineItems" xlink:to="srt_CondensedStatementOfIncomeCaptionsLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_CondensedStatementOfIncomeCaptionsLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Condensed Statement of Income Captions [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="srt_CondensedStatementOfIncomeCaptionsLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> CONDENSED STATEMENTS OF EARNINGS AND COMPREHENSIVE EARNINGS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Selling, General and Administrative Expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Selling, general and administrative expenses </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_IncomeLossFromContinuingOperationsBeforeEquityInNetEarningsOfSubsidiaries" xlink:label="rli_IncomeLossFromContinuingOperationsBeforeEquityInNetEarningsOfSubsidiaries" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_IncomeLossFromContinuingOperationsBeforeEquityInNetEarningsOfSubsidiaries" xlink:to="rli_IncomeLossFromContinuingOperationsBeforeEquityInNetEarningsOfSubsidiaries_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_IncomeLossFromContinuingOperationsBeforeEquityInNetEarningsOfSubsidiaries_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> This element represents the income or loss from continuing operations before equity in net earnings of subsidiaries. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_IncomeLossFromContinuingOperationsBeforeEquityInNetEarningsOfSubsidiaries_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income (Loss) from Continuing Operations before Equity in Net Earnings of Subsidiaries </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="rli_IncomeLossFromContinuingOperationsBeforeEquityInNetEarningsOfSubsidiaries_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net earnings (loss) before equity in net earnings of subsidiaries </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="rli_IncomeLossFromContinuingOperationsBeforeEquityInNetEarningsOfSubsidiaries_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Earnings (loss) before equity in net earnings of subsidiaries </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromSubsidiariesNetOfTax" xlink:label="us-gaap_IncomeLossFromSubsidiariesNetOfTax" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromSubsidiariesNetOfTax" xlink:to="us-gaap_IncomeLossFromSubsidiariesNetOfTax_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeLossFromSubsidiariesNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Income (Loss) from Subsidiaries, Net of Tax </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeLossFromSubsidiariesNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity in net earnings of subsidiaries </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract" xlink:label="us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract" xlink:to="us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Comprehensive Income (Loss), Net of Tax [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other comprehensive loss, net of tax </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract" xlink:label="us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract" xlink:to="us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unrealized gains (losses) on securities: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:label="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:to="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Comprehensive Income (Loss), Securities, Available-for-Sale, Unrealized Holding Gain (Loss) Arising During Period, after Tax </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unrealized holding gains (losses) arising during the period </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Net of Tax </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Less: reclassification adjustment for losses (gains) included in net earnings </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossNetOfTax" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:to="us-gaap_OtherComprehensiveIncomeLossNetOfTax_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherComprehensiveIncomeLossNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Comprehensive Income (Loss), Net of Tax </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_OtherComprehensiveIncomeLossNetOfTax_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Comprehensive Income (Loss), Net of Tax, Total </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_OtherComprehensiveIncomeLossOfSubsidiariesOrInvestees" xlink:label="rli_OtherComprehensiveIncomeLossOfSubsidiariesOrInvestees" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_OtherComprehensiveIncomeLossOfSubsidiariesOrInvestees" xlink:to="rli_OtherComprehensiveIncomeLossOfSubsidiariesOrInvestees_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_OtherComprehensiveIncomeLossOfSubsidiariesOrInvestees_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> This element represents the other comprehensive income or loss, net of tax, in subsidiaries or investees during the period. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_OtherComprehensiveIncomeLossOfSubsidiariesOrInvestees_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Comprehensive Income (Loss) of Subsidiaries or Investees </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_OtherComprehensiveIncomeLossOfSubsidiariesOrInvestees_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity in other comprehensive earnings (loss) of subsidiaries/investees </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CondensedCashFlowStatementsCaptionsLineItems" xlink:label="srt_CondensedCashFlowStatementsCaptionsLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_CondensedCashFlowStatementsCaptionsLineItems" xlink:to="srt_CondensedCashFlowStatementsCaptionsLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_CondensedCashFlowStatementsCaptionsLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Condensed Cash Flow Statements, Captions [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_CondensedCashFlowStatementsCaptionsLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> CONDENSED STATEMENTS OF CASH FLOWS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseDueFromAffiliates" xlink:label="us-gaap_IncreaseDecreaseDueFromAffiliates" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseDueFromAffiliates" xlink:to="us-gaap_IncreaseDecreaseDueFromAffiliates_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseDueFromAffiliates_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) Due from Affiliates </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseDueFromAffiliates_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Affiliate balances receivable/payable </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInIncomeTaxes" xlink:label="us-gaap_IncreaseDecreaseInIncomeTaxes" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInIncomeTaxes" xlink:to="us-gaap_IncreaseDecreaseInIncomeTaxes_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInIncomeTaxes_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Increase (Decrease) in Income Taxes </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInIncomeTaxes_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Federal income taxes </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromDividendsReceived" xlink:label="us-gaap_ProceedsFromDividendsReceived" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromDividendsReceived" xlink:to="us-gaap_ProceedsFromDividendsReceived_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromDividendsReceived_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Proceeds from Dividends Received </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromDividendsReceived_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash dividends received-subsidiaries </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="us-gaap_PaymentsOfDividends" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsOfDividends" xlink:to="us-gaap_PaymentsOfDividends_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsOfDividends_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Payments of Dividends </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsOfDividends_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Cash dividends paid </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SupplementaryInsuranceInformationBySegmentTable" xlink:label="srt_SupplementaryInsuranceInformationBySegmentTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SupplementaryInsuranceInformationBySegmentTable" xlink:to="srt_SupplementaryInsuranceInformationBySegmentTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_SupplementaryInsuranceInformationBySegmentTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplementary Insurance Information, by Segment [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SupplementaryInsuranceInformationBySegmentLineItems" xlink:label="srt_SupplementaryInsuranceInformationBySegmentLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SupplementaryInsuranceInformationBySegmentLineItems" xlink:to="srt_SupplementaryInsuranceInformationBySegmentLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_SupplementaryInsuranceInformationBySegmentLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplementary Insurance Information, by Segment [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_SupplementaryInsuranceInformationBySegmentLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplementary insurance information </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementaryInsuranceInformationDeferredPolicyAcquisitionCosts" xlink:label="us-gaap_SupplementaryInsuranceInformationDeferredPolicyAcquisitionCosts" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementaryInsuranceInformationDeferredPolicyAcquisitionCosts" xlink:to="us-gaap_SupplementaryInsuranceInformationDeferredPolicyAcquisitionCosts_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementaryInsuranceInformationDeferredPolicyAcquisitionCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplementary Insurance Information, Deferred Policy Acquisition Costs </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SupplementaryInsuranceInformationDeferredPolicyAcquisitionCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred policy acquisition costs </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementaryInsuranceInformationLiabilityForFuturePolicyBenefitsLossesClaimsAndLossExpenseReserves" xlink:label="us-gaap_SupplementaryInsuranceInformationLiabilityForFuturePolicyBenefitsLossesClaimsAndLossExpenseReserves" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementaryInsuranceInformationLiabilityForFuturePolicyBenefitsLossesClaimsAndLossExpenseReserves" xlink:to="us-gaap_SupplementaryInsuranceInformationLiabilityForFuturePolicyBenefitsLossesClaimsAndLossExpenseReserves_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementaryInsuranceInformationLiabilityForFuturePolicyBenefitsLossesClaimsAndLossExpenseReserves_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplementary Insurance Information, Liability for Future Policy Benefits, Losses, Claims and Loss Expense Reserves </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SupplementaryInsuranceInformationLiabilityForFuturePolicyBenefitsLossesClaimsAndLossExpenseReserves_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unpaid losses and settlement expenses, gross </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementaryInsuranceInformationUnearnedPremiums" xlink:label="us-gaap_SupplementaryInsuranceInformationUnearnedPremiums" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementaryInsuranceInformationUnearnedPremiums" xlink:to="us-gaap_SupplementaryInsuranceInformationUnearnedPremiums_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementaryInsuranceInformationUnearnedPremiums_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplementary Insurance Information, Unearned Premiums </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SupplementaryInsuranceInformationUnearnedPremiums_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unearned premiums, gross </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementaryInsuranceInformationPremiumRevenue" xlink:label="us-gaap_SupplementaryInsuranceInformationPremiumRevenue" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementaryInsuranceInformationPremiumRevenue" xlink:to="us-gaap_SupplementaryInsuranceInformationPremiumRevenue_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementaryInsuranceInformationPremiumRevenue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplementary Insurance Information, Premium Revenue </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SupplementaryInsuranceInformationPremiumRevenue_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net premiums earned </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementaryInsuranceInformationOtherOperatingExpense" xlink:label="us-gaap_SupplementaryInsuranceInformationOtherOperatingExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementaryInsuranceInformationOtherOperatingExpense" xlink:to="us-gaap_SupplementaryInsuranceInformationOtherOperatingExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementaryInsuranceInformationOtherOperatingExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplementary Insurance Information, Other Operating Expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SupplementaryInsuranceInformationOtherOperatingExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other operating expenses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementaryInsuranceInformationPremiumsWritten" xlink:label="us-gaap_SupplementaryInsuranceInformationPremiumsWritten" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementaryInsuranceInformationPremiumsWritten" xlink:to="us-gaap_SupplementaryInsuranceInformationPremiumsWritten_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementaryInsuranceInformationPremiumsWritten_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplementary Insurance Information, Premiums Written </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SupplementaryInsuranceInformationPremiumsWritten_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net premiums written </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentTable" xlink:label="srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentTable" xlink:to="srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Premiums for Insurance Companies, by Product Segment [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentLineItems" xlink:label="srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentLineItems" xlink:to="srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Premiums for Insurance Companies, by Product Segment [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_ReinsurancePremiumsForInsuranceCompaniesByProductSegmentLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> RLI Insurance Group Premiums earned </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PremiumsPercentageAssumedToNet" xlink:label="us-gaap_PremiumsPercentageAssumedToNet" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PremiumsPercentageAssumedToNet" xlink:to="us-gaap_PremiumsPercentageAssumedToNet_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PremiumsPercentageAssumedToNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Premiums, Percentage Assumed to Net </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PremiumsPercentageAssumedToNet_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Percentage of amount assumed to net </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ValuationAndQualifyingAccountsDisclosureTable" xlink:label="srt_ValuationAndQualifyingAccountsDisclosureTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ValuationAndQualifyingAccountsDisclosureTable" xlink:to="srt_ValuationAndQualifyingAccountsDisclosureTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ValuationAndQualifyingAccountsDisclosureTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Valuation and Qualifying Accounts Disclosure [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:label="us-gaap_ValuationAllowancesAndReservesTypeAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:to="us-gaap_ValuationAllowancesAndReservesTypeAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ValuationAllowancesAndReservesTypeAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Valuation Allowances and Reserves Type [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="us-gaap_ValuationAllowancesAndReservesDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ValuationAllowancesAndReservesDomain" xlink:to="us-gaap_ValuationAllowancesAndReservesDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ValuationAllowancesAndReservesDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Valuation Allowances And Reserves [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ValuationAllowancesAndReservesDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Valuation Allowances and Reserves [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllowanceForReinsuranceRecoverableMember" xlink:label="us-gaap_AllowanceForReinsuranceRecoverableMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AllowanceForReinsuranceRecoverableMember" xlink:to="us-gaap_AllowanceForReinsuranceRecoverableMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AllowanceForReinsuranceRecoverableMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Allowance For Reinsurance Recoverable [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AllowanceForReinsuranceRecoverableMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Allowance for uncollectible reinsurance </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ValuationAndQualifyingAccountsDisclosureLineItems" xlink:label="srt_ValuationAndQualifyingAccountsDisclosureLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ValuationAndQualifyingAccountsDisclosureLineItems" xlink:to="srt_ValuationAndQualifyingAccountsDisclosureLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ValuationAndQualifyingAccountsDisclosureLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Valuation and Qualifying Accounts Disclosure [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_ValuationAndQualifyingAccountsDisclosureLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Valuation allowances and qualifying accounts </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MovementInValuationAllowancesAndReservesRollForward" xlink:label="us-gaap_MovementInValuationAllowancesAndReservesRollForward" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MovementInValuationAllowancesAndReservesRollForward" xlink:to="us-gaap_MovementInValuationAllowancesAndReservesRollForward_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MovementInValuationAllowancesAndReservesRollForward_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_MovementInValuationAllowancesAndReservesRollForward_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Allowance for uncollectible reinsurance </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ValuationAllowancesAndReservesBalance" xlink:label="us-gaap_ValuationAllowancesAndReservesBalance" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ValuationAllowancesAndReservesBalance" xlink:to="us-gaap_ValuationAllowancesAndReservesBalance_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ValuationAllowancesAndReservesBalance_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Valuation Allowances and Reserves, Balance </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_ValuationAllowancesAndReservesBalance_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Balance at end of period </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_ValuationAllowancesAndReservesBalance_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Balance at beginning of period </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense" xlink:label="us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense" xlink:to="us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Valuation Allowances and Reserves, Additions for Charges to Cost and Expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amounts charged to expense </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDeductions" xlink:label="us-gaap_ValuationAllowancesAndReservesDeductions" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ValuationAllowancesAndReservesDeductions" xlink:to="us-gaap_ValuationAllowancesAndReservesDeductions_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ValuationAllowancesAndReservesDeductions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Valuation Allowances and Reserves, Deductions </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_ValuationAllowancesAndReservesDeductions_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Amounts recovered (written off) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersTable" xlink:label="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersTable" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersTable" xlink:to="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersTable_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersTable_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplemental Information for Property, Casualty Insurance Underwriters [Table] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersByAffiliationWithRegistrantAxis" xlink:label="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersByAffiliationWithRegistrantAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersByAffiliationWithRegistrantAxis" xlink:to="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersByAffiliationWithRegistrantAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersByAffiliationWithRegistrantAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Affiliation with Entity [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_PropertyCasualtyInsuranceUnderwritersAffiliationWithRegistrantDomain" xlink:label="srt_PropertyCasualtyInsuranceUnderwritersAffiliationWithRegistrantDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_PropertyCasualtyInsuranceUnderwritersAffiliationWithRegistrantDomain" xlink:to="srt_PropertyCasualtyInsuranceUnderwritersAffiliationWithRegistrantDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_PropertyCasualtyInsuranceUnderwritersAffiliationWithRegistrantDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property Casualty Insurance Underwriters Affiliation With Registrant [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_PropertyCasualtyInsuranceUnderwritersAffiliationWithRegistrantDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property, Casualty Insurance Underwriters, Affiliation with Registrant [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedPropertyAndCasualtyInsuranceEntityMember" xlink:label="srt_ConsolidatedPropertyAndCasualtyInsuranceEntityMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ConsolidatedPropertyAndCasualtyInsuranceEntityMember" xlink:to="srt_ConsolidatedPropertyAndCasualtyInsuranceEntityMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ConsolidatedPropertyAndCasualtyInsuranceEntityMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Consolidated Property And Casualty Insurance Entity [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_ConsolidatedPropertyAndCasualtyInsuranceEntityMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Consolidated property-casualty insurance operations </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersLineItems" xlink:label="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersLineItems" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersLineItems" xlink:to="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersLineItems_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplemental Information for Property, Casualty Insurance Underwriters [Line Items] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersLineItems_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SUPPLEMENTARY INFORMATION CONCERNING PROPERTY-CASUALTY INSURANCE OPERATIONS </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersDeferredPolicyAcquisitionCosts" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersDeferredPolicyAcquisitionCosts" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersDeferredPolicyAcquisitionCosts" xlink:to="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersDeferredPolicyAcquisitionCosts_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersDeferredPolicyAcquisitionCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SEC Schedule, 12-18, Supplemental Information, Property-Casualty Insurance Underwriters, Deferred Policy Acquisition Cost </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersDeferredPolicyAcquisitionCosts_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Deferred policy acquisition costs </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersReservesForUnpaidClaimsAndClaimsAdjustmentExpense" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersReservesForUnpaidClaimsAndClaimsAdjustmentExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersReservesForUnpaidClaimsAndClaimsAdjustmentExpense" xlink:to="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersReservesForUnpaidClaimsAndClaimsAdjustmentExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersReservesForUnpaidClaimsAndClaimsAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplemental Information for Property, Casualty Insurance Underwriters, Reserves for Unpaid Claims and Claims Adjustment Expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersReservesForUnpaidClaimsAndClaimsAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Claims and claim adjustment expense reserves </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersUnearnedPremiums" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersUnearnedPremiums" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersUnearnedPremiums" xlink:to="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersUnearnedPremiums_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersUnearnedPremiums_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplemental Information for Property, Casualty Insurance Underwriters, Unearned Premiums </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersUnearnedPremiums_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Unearned premiums, gross </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersEarnedPremiums" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersEarnedPremiums" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersEarnedPremiums" xlink:to="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersEarnedPremiums_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersEarnedPremiums_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplemental Information for Property, Casualty Insurance Underwriters, Earned Premiums </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersEarnedPremiums_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net premiums earned </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersNetInvestmentIncome" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersNetInvestmentIncome" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersNetInvestmentIncome" xlink:to="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersNetInvestmentIncome_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersNetInvestmentIncome_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> SEC Schedule, 12-18, Supplemental Information, Property-Casualty Insurance Underwriters, Net Investment Income </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersNetInvestmentIncome_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net investment income </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersClaimsAndClaimsAdjustmentExpenseAbstract" xlink:label="rli_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersClaimsAndClaimsAdjustmentExpenseAbstract" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersClaimsAndClaimsAdjustmentExpenseAbstract" xlink:to="rli_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersClaimsAndClaimsAdjustmentExpenseAbstract_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersClaimsAndClaimsAdjustmentExpenseAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplemental Information for Property Casualty Insurance Underwriters Claims and Claims Adjustment Expense [Abstract] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersClaimsAndClaimsAdjustmentExpenseAbstract_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Claims and claim adjustment expenses incurred related to: </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPaidClaimsAndClaimsAdjustmentExpense" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPaidClaimsAndClaimsAdjustmentExpense" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPaidClaimsAndClaimsAdjustmentExpense" xlink:to="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPaidClaimsAndClaimsAdjustmentExpense_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPaidClaimsAndClaimsAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplemental Information for Property, Casualty Insurance Underwriters, Paid Claims and Claims Adjustment Expense </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPaidClaimsAndClaimsAdjustmentExpense_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Paid claims and claims adjustment expenses </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPremiumsWritten" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPremiumsWritten" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPremiumsWritten" xlink:to="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPremiumsWritten_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPremiumsWritten_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Supplemental Information for Property, Casualty Insurance Underwriters, Premiums Written </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPremiumsWritten_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Net premiums written </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_HawleyInsuranceCompanyMember" xlink:label="rli_HawleyInsuranceCompanyMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_HawleyInsuranceCompanyMember" xlink:to="rli_HawleyInsuranceCompanyMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_HawleyInsuranceCompanyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the information pertaining to Mt. Hawley Insurance Company which is controlled, directly or indirectly, by its parent. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_HawleyInsuranceCompanyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Hawley Insurance Company [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_HawleyInsuranceCompanyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Mt. Hawley Insurance Company </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ContractorsBondingAndInsuranceCompanyMember" xlink:label="rli_ContractorsBondingAndInsuranceCompanyMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ContractorsBondingAndInsuranceCompanyMember" xlink:to="rli_ContractorsBondingAndInsuranceCompanyMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ContractorsBondingAndInsuranceCompanyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents Contractors Bonding and Insurance Company (CBIC) purchased through the acquisition of its holding company, Data and Staff Service Co. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ContractorsBondingAndInsuranceCompanyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Contractors Bonding And Insurance Company [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ContractorsBondingAndInsuranceCompanyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Contractors Bonding and Insurance Company </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_AwardTypeAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AwardTypeAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Award Type [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Award [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="us-gaap_RestrictedStockUnitsRSUMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestrictedStockUnitsRSUMember" xlink:to="us-gaap_RestrictedStockUnitsRSUMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RestrictedStockUnitsRSUMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Restricted Stock Units R S U [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RestrictedStockUnitsRSUMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Restricted Stock Units (RSUs) [Member] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="us-gaap_StatementScenarioAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_StatementScenarioAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementScenarioAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Scenario [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScenarioUnspecifiedDomain" xlink:to="us-gaap_ScenarioUnspecifiedDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScenarioUnspecifiedDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Scenario Unspecified [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScenarioUnspecifiedDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Scenario, Unspecified [Domain] </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ScenarioForecastAdjustmentMember" xlink:label="rli_ScenarioForecastAdjustmentMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ScenarioForecastAdjustmentMember" xlink:to="rli_ScenarioForecastAdjustmentMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ScenarioForecastAdjustmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> The reporting scenario used to indicate financial adjustments forecasted for a future period. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ScenarioForecastAdjustmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Scenario Forecast Adjustment [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ScenarioForecastAdjustmentMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Scenario Forecast Adjustment </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:to="us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Adjustments for New Accounting Pronouncements [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="us-gaap_TypeOfAdoptionMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TypeOfAdoptionMember" xlink:to="us-gaap_TypeOfAdoptionMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TypeOfAdoptionMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Type Of Adoption [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_TypeOfAdoptionMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Type of Adoption [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="us-gaap_AccountingStandardsUpdate201409Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountingStandardsUpdate201409Member" xlink:to="us-gaap_AccountingStandardsUpdate201409Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountingStandardsUpdate201409Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accounting Standards Update201409 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccountingStandardsUpdate201409Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accounting Standards Update 2014-09 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201601Member" xlink:label="us-gaap_AccountingStandardsUpdate201601Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountingStandardsUpdate201601Member" xlink:to="us-gaap_AccountingStandardsUpdate201601Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountingStandardsUpdate201601Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accounting Standards Update201601 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccountingStandardsUpdate201601Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accounting Standards Update 2016-01 </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AccountingStandardsUpdate201802Member" xlink:label="rli_AccountingStandardsUpdate201802Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AccountingStandardsUpdate201802Member" xlink:to="rli_AccountingStandardsUpdate201802Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AccountingStandardsUpdate201802Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accounting Standards Update 2018-02, Income Statement - Reporting Comprehensive Income (Topic 220): Reclassification of Certain Tax Effects from Accumulated Other Comprehensive Income </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AccountingStandardsUpdate201802Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accounting Standards Update201802 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AccountingStandardsUpdate201802Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accounting Standards Update 2018-02 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="us-gaap_AccountingStandardsUpdate201602Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountingStandardsUpdate201602Member" xlink:to="us-gaap_AccountingStandardsUpdate201602Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountingStandardsUpdate201602Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accounting Standards Update201602 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccountingStandardsUpdate201602Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Accounting Standards Update 2016-02 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment, Name [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_EquityMethodInvesteeNameDomain" xlink:label="srt_EquityMethodInvesteeNameDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_EquityMethodInvesteeNameDomain" xlink:to="srt_EquityMethodInvesteeNameDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_EquityMethodInvesteeNameDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Equity Method Investee Name [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_EquityMethodInvesteeNameDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment, Name [Domain] </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_MauiJimIncMember" xlink:label="rli_MauiJimIncMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_MauiJimIncMember" xlink:to="rli_MauiJimIncMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_MauiJimIncMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the information pertaining to Maui Jim, Inc. (Maui Jim) in which the Entity has an investment in common stock accounted for under the equity method of accounting. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_MauiJimIncMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Maui Jim Inc [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_MauiJimIncMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Maui Jim Inc. </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_PrimeHoldingsInsuranceServicesIncPrimeMember" xlink:label="rli_PrimeHoldingsInsuranceServicesIncPrimeMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_PrimeHoldingsInsuranceServicesIncPrimeMember" xlink:to="rli_PrimeHoldingsInsuranceServicesIncPrimeMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_PrimeHoldingsInsuranceServicesIncPrimeMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Information related to Prime Holdings Insurance Services, Inc. (Prime), an Illinois domiciled insurance carrier based in Utah. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_PrimeHoldingsInsuranceServicesIncPrimeMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Prime Holdings Insurance Services Inc Prime [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_PrimeHoldingsInsuranceServicesIncPrimeMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Prime Holdings Insurance Services, Inc. (Prime) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_OwnershipAxis" xlink:label="srt_OwnershipAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_OwnershipAxis" xlink:to="srt_OwnershipAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_OwnershipAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ownership [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_OwnershipDomain" xlink:label="srt_OwnershipDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_OwnershipDomain" xlink:to="srt_OwnershipDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_OwnershipDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ownership [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_OwnershipDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ownership [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="us-gaap_FairValueByMeasurementFrequencyAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:to="us-gaap_FairValueByMeasurementFrequencyAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueByMeasurementFrequencyAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Measurement Frequency [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="us-gaap_FairValueMeasurementFrequencyDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueMeasurementFrequencyDomain" xlink:to="us-gaap_FairValueMeasurementFrequencyDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueMeasurementFrequencyDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value Measurement Frequency [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueMeasurementFrequencyDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value, Measurement Frequency [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="us-gaap_FairValueMeasurementsRecurringMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueMeasurementsRecurringMember" xlink:to="us-gaap_FairValueMeasurementsRecurringMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueMeasurementsRecurringMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value Measurements Recurring [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueMeasurementsRecurringMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair value measured on recurring basis </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueByFairValueHierarchyLevelAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value, Hierarchy [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value Measurements Fair Value Hierarchy [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value Hierarchy [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="us-gaap_FairValueInputsLevel1Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInputsLevel1Member" xlink:to="us-gaap_FairValueInputsLevel1Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueInputsLevel1Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value Inputs Level1 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueInputsLevel1Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Quoted Prices in Active Markets for Identical Assets (Level 1) </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="us-gaap_FairValueInputsLevel2Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInputsLevel2Member" xlink:to="us-gaap_FairValueInputsLevel2Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueInputsLevel2Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Fair Value Inputs Level2 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueInputsLevel2Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Significant Other Observable Inputs (Level 2) </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_InvestmentInPrivateFundsMember" xlink:label="rli_InvestmentInPrivateFundsMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_InvestmentInPrivateFundsMember" xlink:to="rli_InvestmentInPrivateFundsMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_InvestmentInPrivateFundsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents information pertaining to investments in private funds. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_InvestmentInPrivateFundsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment In Private Funds [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_InvestmentInPrivateFundsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Investment in Private Funds </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="us-gaap_DebtInstrumentAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentAxis" xlink:to="us-gaap_DebtInstrumentAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtInstrumentAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Instrument [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="us-gaap_DebtInstrumentNameDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentNameDomain" xlink:to="us-gaap_DebtInstrumentNameDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtInstrumentNameDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Instrument Name [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtInstrumentNameDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Debt Instrument, Name [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SeniorNotesMember" xlink:label="us-gaap_SeniorNotesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SeniorNotesMember" xlink:to="us-gaap_SeniorNotesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SeniorNotesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Senior Notes [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SeniorNotesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Senior Notes </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_SeniorNotesDueOnSeptember152023Member" xlink:label="rli_SeniorNotesDueOnSeptember152023Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_SeniorNotesDueOnSeptember152023Member" xlink:to="rli_SeniorNotesDueOnSeptember152023Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_SeniorNotesDueOnSeptember152023Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the information pertaining to senior notes maturing September 15, 2023. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_SeniorNotesDueOnSeptember152023Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Senior Notes Due On September152023 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_SeniorNotesDueOnSeptember152023Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Senior notes maturing September 15, 2023 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LineOfCreditMember" xlink:label="us-gaap_LineOfCreditMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LineOfCreditMember" xlink:to="us-gaap_LineOfCreditMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LineOfCreditMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Line Of Credit [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LineOfCreditMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Line of credit </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CededCreditRiskAxis" xlink:label="us-gaap_CededCreditRiskAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CededCreditRiskAxis" xlink:to="us-gaap_CededCreditRiskAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CededCreditRiskAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded Credit Risk, Reinsurer [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CededCreditRiskReinsurerDomain" xlink:label="us-gaap_CededCreditRiskReinsurerDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CededCreditRiskReinsurerDomain" xlink:to="us-gaap_CededCreditRiskReinsurerDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CededCreditRiskReinsurerDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded Credit Risk Reinsurer [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CededCreditRiskReinsurerDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Ceded Credit Risk, Reinsurer [Domain] </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_MunichReAmericaHSBMember" xlink:label="rli_MunichReAmericaHSBMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_MunichReAmericaHSBMember" xlink:to="rli_MunichReAmericaHSBMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_MunichReAmericaHSBMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the information pertaining to Munich Re / HSB. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_MunichReAmericaHSBMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Munich Re America H S B [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_MunichReAmericaHSBMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Munich Re America / HSB </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_SwissReWestportInsCorpMember" xlink:label="rli_SwissReWestportInsCorpMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_SwissReWestportInsCorpMember" xlink:to="rli_SwissReWestportInsCorpMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_SwissReWestportInsCorpMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the information pertaining to Swiss Re /Westport Ins. Corp. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_SwissReWestportInsCorpMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Swiss Re Westport Ins Corp [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_SwissReWestportInsCorpMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Swiss Re /Westport Ins. Corp. </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_EnduranceReMember" xlink:label="rli_EnduranceReMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_EnduranceReMember" xlink:to="rli_EnduranceReMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_EnduranceReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the information pertaining to Endurance Re. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_EnduranceReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Endurance Re [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_EnduranceReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Endurance Re </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AspenUKLtdMember" xlink:label="rli_AspenUKLtdMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AspenUKLtdMember" xlink:to="rli_AspenUKLtdMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AspenUKLtdMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the information pertaining to Aspen UK Ltd. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AspenUKLtdMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Aspen U K Ltd [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AspenUKLtdMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Aspen UK Ltd. </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_BerkleyInsuranceCoMember" xlink:label="rli_BerkleyInsuranceCoMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_BerkleyInsuranceCoMember" xlink:to="rli_BerkleyInsuranceCoMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_BerkleyInsuranceCoMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the information pertaining to Berkley Insurance Co. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_BerkleyInsuranceCoMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Berkley Insurance Co [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_BerkleyInsuranceCoMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Berkley Insurance Co. </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_HannoverRuckversicherungMember" xlink:label="rli_HannoverRuckversicherungMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_HannoverRuckversicherungMember" xlink:to="rli_HannoverRuckversicherungMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_HannoverRuckversicherungMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the information pertaining to Hannover Ruckversicherung. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_HannoverRuckversicherungMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Hannover Ruckversicherung [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_HannoverRuckversicherungMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Hannover Ruckversicherung Member </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AxisReMember" xlink:label="rli_AxisReMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AxisReMember" xlink:to="rli_AxisReMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AxisReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the information pertaining to Axis Re. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AxisReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Axis Re [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AxisReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Axis Re </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_TransatlanticReMember" xlink:label="rli_TransatlanticReMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_TransatlanticReMember" xlink:to="rli_TransatlanticReMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_TransatlanticReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the information pertaining to Transatlantic Re. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_TransatlanticReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Transatlantic Re [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_TransatlanticReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Transatlantic Re </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ToaReMember" xlink:label="rli_ToaReMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ToaReMember" xlink:to="rli_ToaReMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ToaReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the information pertaining to Toa-Re. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ToaReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Toa Re [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ToaReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Toa-Re </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_GeneralReMember" xlink:label="rli_GeneralReMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_GeneralReMember" xlink:to="rli_GeneralReMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_GeneralReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the information pertaining to General Re. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_GeneralReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> General Re [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_GeneralReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> General Re </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_TokioMillenniumReMember" xlink:label="rli_TokioMillenniumReMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_TokioMillenniumReMember" xlink:to="rli_TokioMillenniumReMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_TokioMillenniumReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the information pertaining to Tokio Millennium Re. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_TokioMillenniumReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Tokio Millennium Re [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_TokioMillenniumReMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Tokio Millennium Re </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_AllOtherReinsurersMember" xlink:label="rli_AllOtherReinsurersMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_AllOtherReinsurersMember" xlink:to="rli_AllOtherReinsurersMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_AllOtherReinsurersMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents information pertaining to all other reinsurers. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_AllOtherReinsurersMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> All Other Reinsurers [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_AllOtherReinsurersMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> All other reinsurers </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CreditRatingAMBestAxis" xlink:label="srt_CreditRatingAMBestAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_CreditRatingAMBestAxis" xlink:to="srt_CreditRatingAMBestAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_CreditRatingAMBestAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Credit Rating, AM Best [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CreditRatingAMBestDomain" xlink:label="srt_CreditRatingAMBestDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_CreditRatingAMBestDomain" xlink:to="srt_CreditRatingAMBestDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_CreditRatingAMBestDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Credit Rating A M Best [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_CreditRatingAMBestDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Credit Rating, AM Best [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_AMBestARatingMember" xlink:label="srt_AMBestARatingMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_AMBestARatingMember" xlink:to="srt_AMBestARatingMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_AMBestARatingMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> A M Best A Rating [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_AMBestARatingMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> A.M. Best Rating, A, Excellent </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_AMBestAPlusRatingMember" xlink:label="srt_AMBestAPlusRatingMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_AMBestAPlusRatingMember" xlink:to="srt_AMBestAPlusRatingMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_AMBestAPlusRatingMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> A M Best A Plus Rating [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_AMBestAPlusRatingMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> A.M. Best Rating, A+, Superior </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_AMBestAPlusPlusRatingMember" xlink:label="srt_AMBestAPlusPlusRatingMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_AMBestAPlusPlusRatingMember" xlink:to="srt_AMBestAPlusPlusRatingMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_AMBestAPlusPlusRatingMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> A M Best A Plus Plus Rating [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_AMBestAPlusPlusRatingMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> AM Best, A++ Rating </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CreditRatingStandardPoorsAxis" xlink:label="srt_CreditRatingStandardPoorsAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_CreditRatingStandardPoorsAxis" xlink:to="srt_CreditRatingStandardPoorsAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_CreditRatingStandardPoorsAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Credit Rating, Standard & Poor's [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ExternalCreditRatingStandardPoorsMember" xlink:label="srt_ExternalCreditRatingStandardPoorsMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ExternalCreditRatingStandardPoorsMember" xlink:to="srt_ExternalCreditRatingStandardPoorsMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ExternalCreditRatingStandardPoorsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> External Credit Rating Standard Poors [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_ExternalCreditRatingStandardPoorsMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> External Credit Rating, Standard & Poor's [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_StandardPoorsARatingMember" xlink:label="srt_StandardPoorsARatingMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_StandardPoorsARatingMember" xlink:to="srt_StandardPoorsARatingMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_StandardPoorsARatingMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Standard Poors A Rating [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_StandardPoorsARatingMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> S&P Rating, A, Strong </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_StandardPoorsAPlusRatingMember" xlink:label="srt_StandardPoorsAPlusRatingMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_StandardPoorsAPlusRatingMember" xlink:to="srt_StandardPoorsAPlusRatingMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_StandardPoorsAPlusRatingMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Standard Poors A Plus Rating [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_StandardPoorsAPlusRatingMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> S&P Rating, A+, Strong </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_StandardPoorsAAMinusRatingMember" xlink:label="srt_StandardPoorsAAMinusRatingMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_StandardPoorsAAMinusRatingMember" xlink:to="srt_StandardPoorsAAMinusRatingMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_StandardPoorsAAMinusRatingMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Standard Poors A A Minus Rating [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_StandardPoorsAAMinusRatingMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> S&P Rating, AA-, Very Strong </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_StandardPoorsAAPlusRatingMember" xlink:label="srt_StandardPoorsAAPlusRatingMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_StandardPoorsAAPlusRatingMember" xlink:to="srt_StandardPoorsAAPlusRatingMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_StandardPoorsAAPlusRatingMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Standard Poors A A Plus Rating [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_StandardPoorsAAPlusRatingMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Standard & Poor's, AA+ Rating </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="us-gaap_ConcentrationRiskByTypeAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ConcentrationRiskByTypeAxis" xlink:to="us-gaap_ConcentrationRiskByTypeAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ConcentrationRiskByTypeAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Concentration Risk Type [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="us-gaap_ConcentrationRiskTypeDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ConcentrationRiskTypeDomain" xlink:to="us-gaap_ConcentrationRiskTypeDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ConcentrationRiskTypeDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Concentration Risk Type [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ConcentrationRiskTypeDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Concentration Risk Type [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReinsurerConcentrationRiskMember" xlink:label="us-gaap_ReinsurerConcentrationRiskMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReinsurerConcentrationRiskMember" xlink:to="us-gaap_ReinsurerConcentrationRiskMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReinsurerConcentrationRiskMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurer Concentration Risk [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ReinsurerConcentrationRiskMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurer Concentration Risk [Member] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="us-gaap_ConcentrationRiskByBenchmarkAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:to="us-gaap_ConcentrationRiskByBenchmarkAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ConcentrationRiskByBenchmarkAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Concentration Risk Benchmark [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="us-gaap_ConcentrationRiskBenchmarkDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ConcentrationRiskBenchmarkDomain" xlink:to="us-gaap_ConcentrationRiskBenchmarkDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ConcentrationRiskBenchmarkDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Concentration Risk Benchmark [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ConcentrationRiskBenchmarkDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Concentration Risk Benchmark [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReinsuranceRecoverableMember" xlink:label="us-gaap_ReinsuranceRecoverableMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ReinsuranceRecoverableMember" xlink:to="us-gaap_ReinsuranceRecoverableMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ReinsuranceRecoverableMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Recoverable [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ReinsuranceRecoverableMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Reinsurance Recoverable [Member] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortDurationInsuranceContractsAccidentYear2017Member" xlink:label="us-gaap_ShortDurationInsuranceContractsAccidentYear2017Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortDurationInsuranceContractsAccidentYear2017Member" xlink:to="us-gaap_ShortDurationInsuranceContractsAccidentYear2017Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortDurationInsuranceContractsAccidentYear2017Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short Duration Insurance Contracts Accident Year2017 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortDurationInsuranceContractsAccidentYear2017Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Accident Year 2017 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortDurationInsuranceContractsAccidentYear2018Member" xlink:label="us-gaap_ShortDurationInsuranceContractsAccidentYear2018Member" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortDurationInsuranceContractsAccidentYear2018Member" xlink:to="us-gaap_ShortDurationInsuranceContractsAccidentYear2018Member_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortDurationInsuranceContractsAccidentYear2018Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short Duration Insurance Contracts Accident Year2018 [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortDurationInsuranceContractsAccidentYear2018Member_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Short-duration Insurance Contracts, Accident Year 2018 </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyAndCasualtyCommercialInsuranceProductLineMember" xlink:label="us-gaap_PropertyAndCasualtyCommercialInsuranceProductLineMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyAndCasualtyCommercialInsuranceProductLineMember" xlink:to="us-gaap_PropertyAndCasualtyCommercialInsuranceProductLineMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyAndCasualtyCommercialInsuranceProductLineMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property And Casualty Commercial Insurance Product Line [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PropertyAndCasualtyCommercialInsuranceProductLineMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Commercial property </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesAxis" xlink:label="srt_ConsolidatedEntitiesAxis" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ConsolidatedEntitiesAxis" xlink:to="srt_ConsolidatedEntitiesAxis_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ConsolidatedEntitiesAxis_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Consolidated Entities [Axis] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidatedEntitiesDomain" xlink:label="srt_ConsolidatedEntitiesDomain" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ConsolidatedEntitiesDomain" xlink:to="srt_ConsolidatedEntitiesDomain_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ConsolidatedEntitiesDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Consolidated Entities [Domain] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_ConsolidatedEntitiesDomain_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Consolidated Entities [Domain] </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SubsidiariesMember" xlink:label="srt_SubsidiariesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_SubsidiariesMember" xlink:to="srt_SubsidiariesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_SubsidiariesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Subsidiaries [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_SubsidiariesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Insurance subsidiaries </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CommercialAndPersonalLinesMember" xlink:label="rli_CommercialAndPersonalLinesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CommercialAndPersonalLinesMember" xlink:to="rli_CommercialAndPersonalLinesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CommercialAndPersonalLinesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the casualty coverage provided to policy holders on commercial and personal properties in excess of primary liability insurance policies. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CommercialAndPersonalLinesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Commercial And Personal Lines [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CommercialAndPersonalLinesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Commercial excess and personal umbrella </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CommercialTransportationMember" xlink:label="rli_CommercialTransportationMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CommercialTransportationMember" xlink:to="rli_CommercialTransportationMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CommercialTransportationMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the liability coverage provided to policy holders on commercial transportation vehicles. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CommercialTransportationMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Commercial Transportation [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CommercialTransportationMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Transportation </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ProfessionalServicesMember" xlink:label="rli_ProfessionalServicesMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ProfessionalServicesMember" xlink:to="rli_ProfessionalServicesMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ProfessionalServicesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Insurance coverage for professional service liability. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ProfessionalServicesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Professional Services [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ProfessionalServicesMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Professional services </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_OtherCasualtyMember" xlink:label="rli_OtherCasualtyMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_OtherCasualtyMember" xlink:to="rli_OtherCasualtyMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_OtherCasualtyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Casualty and liability coverage products classified as other. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_OtherCasualtyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Casualty [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_OtherCasualtyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other casualty </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_SpecialtyPersonalMember" xlink:label="rli_SpecialtyPersonalMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_SpecialtyPersonalMember" xlink:to="rli_SpecialtyPersonalMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_SpecialtyPersonalMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents Specialty personal products. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_SpecialtyPersonalMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Specialty Personal [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_SpecialtyPersonalMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Specialty Personal </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_OtherPropertyInsuranceMember" xlink:label="rli_OtherPropertyInsuranceMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_OtherPropertyInsuranceMember" xlink:to="rli_OtherPropertyInsuranceMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_OtherPropertyInsuranceMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Property insurance types classified as other. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_OtherPropertyInsuranceMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other Property Insurance [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_OtherPropertyInsuranceMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Other property </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_MiscellaneousMember" xlink:label="rli_MiscellaneousMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_MiscellaneousMember" xlink:to="rli_MiscellaneousMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_MiscellaneousMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the coverage provided to bond holders on miscellaneous surety bonds. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_MiscellaneousMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Miscellaneous [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_MiscellaneousMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Miscellaneous </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_ContractMember" xlink:label="rli_ContractMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_ContractMember" xlink:to="rli_ContractMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_ContractMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the coverage provided to bond holders on surety contracts. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_ContractMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Contract [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_ContractMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Contract </label>
<loc xlink:type="locator" xlink:href="rli-20181231.xsd#rli_CommercialMember" xlink:label="rli_CommercialMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rli_CommercialMember" xlink:to="rli_CommercialMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rli_CommercialMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Represents the coverage provided to bond holders on commercial contracts. </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rli_CommercialMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Commercial [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rli_CommercialMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Commercial </label>
<loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ParentCompanyMember" xlink:label="srt_ParentCompanyMember" xmlns="http://www.xbrl.org/2003/linkbase"/>
<labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ParentCompanyMember" xlink:to="srt_ParentCompanyMember_lbl" xmlns="http://www.xbrl.org/2003/linkbase"/>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ParentCompanyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> Parent Company [Member] </label>
<label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_ParentCompanyMember_lbl" xml:lang="en-US" xmlns="http://www.xbrl.org/2003/linkbase"> PARENT COMPANY </label>
</link:labelLink>
</link:linkbase>

Top
Filing Submission 0000084246-19-000013   –   Alternative Formats (Word / Rich Text, HTML, Plain Text, et al.)

Copyright © 2024 Fran Finnegan & Company LLC – All Rights Reserved.
AboutPrivacyRedactionsHelp — Fri., Apr. 26, 3:59:32.2pm ET