#4F170D#4F170D
#4F170D is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.087 H 32.4°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).
Color values
| HEX | #4F170D |
|---|---|
| RGB | rgb(79, 23, 13) |
| HSL | hsl(9, 72%, 18%) |
| HSV | hsv(9, 84%, 31%) |
| CMYK | cmyk(0%, 70.9%, 83.5%, 69%) |
| CIE-LAB | lab(17.01, 25.69, 20.23) |
| CIE-LCH | lch(17.01, 32.70, 38.23°) |
| OKLab | oklab(29.44% 0.0731 0.0463) |
| OKLCH | oklch(29.44% 0.087 32.4) |
| XYZ | xyz(3.6039, 2.3046, 0.6358) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mahogany
#4A0100
ΔE00 4.75
Dried Blood
#4B0101
ΔE00 4.78
Deep Brown
#410200
ΔE00 5.78
Chocolate Brown
#411900
ΔE00 5.86
Rosewood
#65000B
ΔE00 6.48
Reddy Brown
#6E1005
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F170D #0D454F
analogous
#4F0D24 #4F170D #4F380D
triadic
#4F170D #0D4F17 #170D4F
tetradic
#4F170D #244F0D #0D454F #380D4F
square
#4F170D #244F0D #0D454F #380D4F
split-complementary
#4F170D #0D4F38 #0D244F
monochromatic
#1A0804 #1A0804 #4F170D #842616 #B8361E
Accessibility & contrast
On white
14.38
#4F170D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#4F170D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F170D
14.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F170D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F170D | 1.00 | 14.38 | 1.46 | 14.38 |
| #FFFFFF | 14.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27220C
Deuteranopia (green-blind)
#352E0B
Tritanopia (blue-blind)
#580815
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #4f170d; /* rgb */ color: rgb(79, 23, 13); /* oklch */ color: oklch(29.4% 0.087 32.4);
Tailwind
colors: {
custom: {
50: '#86574c',
500: '#4f170d',
950: '#000000',
},
}SCSS
$custom: #4f170d; $custom-light: #86574c; $custom-dark: #000000;
JSON
{
"hex": "#4f170d",
"rgb": {
"r": 79,
"g": 23,
"b": 13
},
"hsl": {
"h": 9.091,
"s": 71.739,
"l": 18.039
},
"oklch": {
"l": 0.29437,
"c": 0.08651,
"h": 32.4
},
"luminance": 0.02304
}Semantic roles & 50–950 ramp
primary
#4F170D
secondary
#2E7C8A
accent
#D3EE39
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877