#331111 color
#331111 is a very dark muted red colour. It is rgb(51, 17, 17) in RGB and hsl(0, 50%, 13%) in HSL. Text in white reads better on it: the contrast is 17.09:1 against white and 1.23:1 against black.
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{#331111}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{11}_{16}=17,\ B=\mathrm{11}_{16}=17 - 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.
0^\circ + 180^\circ = 180^\circ ;\Rightarrow; \mathrm{#113333} - 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{#331111} = \mathrm{rgb}(51, 17, 17) \]
\[ \mathrm{#331111}:\quad R=\mathrm{33}_{16}=51,\ G=\mathrm{11}_{16}=17,\ B=\mathrm{11}_{16}=17 \]
\[ H=0^\circ,\quad S=50\%,\quad L=13\% \]
\[ 0^\circ + 180^\circ = 180^\circ ;\Rightarrow; \mathrm{#113333} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 17.09:1\ \text{(on white)} \]#331111 in every colour format
| Format | Value |
|---|---|
| HEX | #331111 |
| RGB | rgb(51, 17, 17) |
| RGB (percent) | rgb(20.0%, 6.7%, 6.7%) |
| HSL | hsl(0, 50%, 13%) |
| HSV / HSB | hsv(0, 67%, 20%) |
| CMYK | cmyk(0%, 67%, 67%, 80%) |
| Decimal | 3346705 |
| Description | very dark muted red |
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 | 17.09:1 | pass | pass | pass | pass |
| Black text | 1.23:1 | fail | fail | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #080303 #110606 #1A0909 #220B0B #2B0E0E |
| This colour | #331111 |
| Tints (mixed with white) | #553939 #776060 #998888 #BBB0B0 #DDD7D7 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #191711 | 18 |
| Deuteranopia | #221E10 | 19 |
| Tritanopia | #380B11 | 5 |
| Grayscale | #1C1C1C | - |
Nearest named colours
| Name | Hex |
|---|---|
| Black | #000000 |
| Dark slate gray | #2F4F4F |
| Dim gray | #696969 |
| Saddle brown | #8B4513 |
Questions
What is the RGB value of #331111?
rgb(51, 17, 17): red 51, green 17, blue 17.
What is the HSL value of #331111?
hsl(0, 50%, 13%): a hue of 0°, 50% saturation and 13% lightness.
What is the complementary colour of #331111?
#113333, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #CCEEEE.
Should I use white or black text on #331111?
White. White gives 17.09:1 and black 1.23:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #331111?
cmyk(0%, 67%, 67%, 80%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #331111?
Black (#000000).