#CC5522 color
#CC5522 is a orange colour. It is rgb(204, 85, 34) in RGB and hsl(18, 71%, 47%) in HSL. Text in black reads better on it: the contrast is 4.89:1 against black and 4.29:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#CC5522}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{55}_{16}=85,\ B=\mathrm{22}_{16}=34 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
18^\circ + 180^\circ = 198^\circ ;\Rightarrow; \mathrm{#2299CC} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#CC5522} = \mathrm{rgb}(204, 85, 34) \]
\[ \mathrm{#CC5522}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{55}_{16}=85,\ B=\mathrm{22}_{16}=34 \]
\[ H=18^\circ,\quad S=71\%,\quad L=47\% \]
\[ 18^\circ + 180^\circ = 198^\circ ;\Rightarrow; \mathrm{#2299CC} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.29:1\ \text{(on white)} \]#CC5522 in every colour format
| Format | Value |
|---|---|
| HEX | #CC5522 |
| RGB | rgb(204, 85, 34) |
| RGB (percent) | rgb(80.0%, 33.3%, 13.3%) |
| HSL | hsl(18, 71%, 47%) |
| HSV / HSB | hsv(18, 83%, 80%) |
| CMYK | cmyk(0%, 58%, 83%, 20%) |
| Decimal | 13391138 |
| Description | orange |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 4.29:1 | fail | pass | fail | fail |
| Black text | 4.89:1 | pass | pass | fail | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #220E06 #441C0B #662B11 #883917 #AA471C |
| This colour | #CC5522 |
| Tints (mixed with white) | #D57147 #DD8E6C #E6AA91 #EEC6B5 #F7E3DA |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #77691A | 50 |
| Deuteranopia | #94841D | 50 |
| Tritanopia | #E0384B | 29 |
| Grayscale | #7A7A7A | - |
Nearest named colours
| Name | Hex |
|---|---|
| Chocolate | #D2691E |
| Coral | #FF7F50 |
| Tomato | #FF6347 |
| Firebrick | #B22222 |
Questions
What is the RGB value of #CC5522?
rgb(204, 85, 34): red 204, green 85, blue 34.
What is the HSL value of #CC5522?
hsl(18, 71%, 47%): a hue of 18°, 71% saturation and 47% lightness.
What is the complementary colour of #CC5522?
#2299CC, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #33AADD.
Should I use white or black text on #CC5522?
Black. White gives 4.29:1 and black 4.89:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #CC5522?
cmyk(0%, 58%, 83%, 20%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #CC5522?
Chocolate (#D2691E).