#2C040C#2C040C
#2C040C is a very dark, moderate red. Relative luminance 0.006; OKLCH L 19.5% C 0.066 H 13.2°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2C040C |
|---|---|
| RGB | rgb(44, 4, 12) |
| HSL | hsl(348, 83%, 9%) |
| HSV | hsv(348, 91%, 17%) |
| CMYK | cmyk(0%, 90.9%, 72.7%, 82.7%) |
| CIE-LAB | lab(5.86, 20.51, 4.21) |
| CIE-LCH | lch(5.86, 20.93, 11.60°) |
| OKLab | oklab(19.5% 0.0647 0.0151) |
| OKLCH | oklch(19.5% 0.066 13.2) |
| XYZ | xyz(1.1486, 0.6490, 0.4125) |
| Luminance | 0.0065 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.68
Very Dark Brown
#1D0200
ΔE00 8.01
Deep Brown
#410200
ΔE00 8.42
Mahogany
#4A0100
ΔE00 10.69
Dried Blood
#4B0101
ΔE00 10.78
Dark Plum
#3F012C
ΔE00 10.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C040C #042C24
analogous
#2C0420 #2C040C #2C1004
triadic
#2C040C #0C2C04 #040C2C
tetradic
#2C040C #202C04 #042C24 #10042C
square
#2C040C #202C04 #042C24 #10042C
split-complementary
#2C040C #042C10 #04202C
monochromatic
#1C0308 #1C0308 #2C040C #64091B #9C0E2B
Accessibility & contrast
On white
18.59
#2C040C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.13
#2C040C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C040C
18.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C040C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C040C | 1.00 | 18.59 | 1.13 | 18.59 |
| #FFFFFF | 18.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E0D0C
Deuteranopia (green-blind)
#19160B
Tritanopia (blue-blind)
#310007
Achromatopsia (no color)
#131313
Design tokens & code
CSS
--color: #2c040c; /* rgb */ color: rgb(44, 4, 12); /* oklch */ color: oklch(19.5% 0.066 13.2);
Tailwind
colors: {
custom: {
50: '#68484c',
500: '#2c040c',
950: '#000000',
},
}SCSS
$custom: #2c040c; $custom-light: #68484c; $custom-dark: #000000;
JSON
{
"hex": "#2c040c",
"rgb": {
"r": 44,
"g": 4,
"b": 12
},
"hsl": {
"h": 348,
"s": 83.333,
"l": 9.412
},
"oklch": {
"l": 0.19498,
"c": 0.06645,
"h": 13.2
},
"luminance": 0.00649
}Semantic roles & 50–950 ramp
primary
#2C040C
secondary
#1D6F5E
accent
#FAD12E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777