#4F0C12#4F0C12
#4F0C12 is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.2% C 0.097 H 21.8°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).
Color values
| HEX | #4F0C12 |
|---|---|
| RGB | rgb(79, 12, 18) |
| HSL | hsl(355, 74%, 18%) |
| HSV | hsv(355, 85%, 31%) |
| CMYK | cmyk(0%, 84.8%, 77.2%, 69%) |
| CIE-LAB | lab(15.33, 30.77, 15.41) |
| CIE-LCH | lch(15.33, 34.42, 26.60°) |
| OKLab | oklab(28.2% 0.0903 0.0361) |
| OKLCH | oklch(28.2% 0.097 21.8) |
| XYZ | xyz(3.4655, 1.9694, 0.7698) |
| Luminance | 0.0197 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 2.87
Mahogany
#4A0100
ΔE00 3.00
Deep Brown
#410200
ΔE00 3.42
Dark Maroon
#3C0008
ΔE00 5.07
Claret
#680018
ΔE00 5.41
Rosewood
#65000B
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F0C12 #0C4F49
analogous
#4F0C33 #4F0C12 #4F270C
triadic
#4F0C12 #124F0C #0C124F
tetradic
#4F0C12 #334F0C #0C4F49 #270C4F
square
#4F0C12 #334F0C #0C4F49 #270C4F
split-complementary
#4F0C12 #0C4F27 #0C334F
monochromatic
#1B0406 #1B0406 #4F0C12 #84141E #B91C2A
Accessibility & contrast
On white
15.07
#4F0C12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#4F0C12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F0C12
15.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F0C12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F0C12 | 1.00 | 15.07 | 1.39 | 15.07 |
| #FFFFFF | 15.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#201D12
Deuteranopia (green-blind)
#312B10
Tritanopia (blue-blind)
#58000F
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #4f0c12; /* rgb */ color: rgb(79, 12, 18); /* oklch */ color: oklch(28.2% 0.097 21.8);
Tailwind
colors: {
custom: {
50: '#86524f',
500: '#4f0c12',
950: '#000000',
},
}SCSS
$custom: #4f0c12; $custom-light: #86524f; $custom-dark: #000000;
JSON
{
"hex": "#4f0c12",
"rgb": {
"r": 79,
"g": 12,
"b": 18
},
"hsl": {
"h": 354.627,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.28201,
"c": 0.09725,
"h": 21.8
},
"luminance": 0.01969
}Semantic roles & 50–950 ramp
primary
#4F0C12
secondary
#2C8B82
accent
#F0E038
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0202
muted
#7D7878