#2F020C#2F020C
#2F020C is a very dark, moderate red. Relative luminance 0.007; OKLCH L 19.8% C 0.074 H 12.7°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2F020C |
|---|---|
| RGB | rgb(47, 2, 12) |
| HSL | hsl(347, 92%, 10%) |
| HSV | hsv(347, 96%, 18%) |
| CMYK | cmyk(0%, 95.7%, 74.5%, 81.6%) |
| CIE-LAB | lab(6.09, 23.12, 4.62) |
| CIE-LCH | lch(6.09, 23.58, 11.29°) |
| OKLab | oklab(19.84% 0.072 0.0162) |
| OKLCH | oklch(19.84% 0.074 12.7) |
| XYZ | xyz(1.2605, 0.6745, 0.4116) |
| Luminance | 0.0067 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 4.67
Deep Brown
#410200
ΔE00 7.84
Very Dark Brown
#1D0200
ΔE00 9.38
Mahogany
#4A0100
ΔE00 10.08
Dried Blood
#4B0101
ΔE00 10.16
Dark Plum
#3F012C
ΔE00 10.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F020C #022F25
analogous
#2F0223 #2F020C #2F0F02
triadic
#2F020C #0C2F02 #020C2F
tetradic
#2F020C #232F02 #022F25 #0F022F
square
#2F020C #232F02 #022F25 #0F022F
split-complementary
#2F020C #022F0F #02232F
monochromatic
#1D0107 #1D0107 #2F020C #6A041B #A4072A
Accessibility & contrast
On white
18.51
#2F020C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.13
#2F020C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F020C
18.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F020C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F020C | 1.00 | 18.51 | 1.13 | 18.51 |
| #FFFFFF | 18.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E0D0C
Deuteranopia (green-blind)
#1A170B
Tritanopia (blue-blind)
#350006
Achromatopsia (no color)
#131313
Design tokens & code
CSS
--color: #2f020c; /* rgb */ color: rgb(47, 2, 12); /* oklch */ color: oklch(19.8% 0.074 12.7);
Tailwind
colors: {
custom: {
50: '#6b474c',
500: '#2f020c',
950: '#000000',
},
}SCSS
$custom: #2f020c; $custom-light: #6b474c; $custom-dark: #000000;
JSON
{
"hex": "#2f020c",
"rgb": {
"r": 47,
"g": 2,
"b": 12
},
"hsl": {
"h": 346.667,
"s": 91.837,
"l": 9.608
},
"oklch": {
"l": 0.19838,
"c": 0.07378,
"h": 12.7
},
"luminance": 0.00674
}Semantic roles & 50–950 ramp
primary
#2F020C
secondary
#197460
accent
#FFCF29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777