#4F1212#4F1212
#4F1212 is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.9% C 0.091 H 24.9°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #4F1212 |
|---|---|
| RGB | rgb(79, 18, 18) |
| HSL | hsl(0, 63%, 19%) |
| HSV | hsv(0, 77%, 31%) |
| CMYK | cmyk(0%, 77.2%, 77.2%, 69%) |
| CIE-LAB | lab(16.20, 28.34, 16.52) |
| CIE-LCH | lch(16.20, 32.80, 30.23°) |
| OKLab | oklab(28.85% 0.0826 0.0384) |
| OKLCH | oklch(28.85% 0.091 24.9) |
| XYZ | xyz(3.5503, 2.1391, 0.7981) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.07
Mahogany
#4A0100
ΔE00 3.14
Deep Brown
#410200
ΔE00 3.84
Rosewood
#65000B
ΔE00 5.76
Dark Maroon
#3C0008
ΔE00 6.19
Claret
#680018
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F1212 #124F4F
analogous
#4F1231 #4F1212 #4F3112
triadic
#4F1212 #124F12 #12124F
tetradic
#4F1212 #314F12 #124F4F #31124F
square
#4F1212 #314F12 #124F4F #31124F
split-complementary
#4F1212 #124F31 #12314F
monochromatic
#190606 #1D0707 #4F1212 #811D1D #B32929
Accessibility & contrast
On white
14.71
#4F1212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#4F1212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F1212
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F1212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F1212 | 1.00 | 14.71 | 1.43 | 14.71 |
| #FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232011
Deuteranopia (green-blind)
#332D10
Tritanopia (blue-blind)
#580113
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #4f1212; /* rgb */ color: rgb(79, 18, 18); /* oklch */ color: oklch(28.9% 0.091 24.9);
Tailwind
colors: {
custom: {
50: '#86554f',
500: '#4f1212',
950: '#000000',
},
}SCSS
$custom: #4f1212; $custom-light: #86554f; $custom-dark: #000000;
JSON
{
"hex": "#4f1212",
"rgb": {
"r": 79,
"g": 18,
"b": 18
},
"hsl": {
"h": 0,
"s": 62.887,
"l": 19.02
},
"oklch": {
"l": 0.28852,
"c": 0.09107,
"h": 24.9
},
"luminance": 0.02139
}Semantic roles & 50–950 ramp
primary
#4F1212
secondary
#358888
accent
#E6E642
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878