#4F171B#4F171B
#4F171B is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.7% C 0.084 H 19.8°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4F171B |
|---|---|
| RGB | rgb(79, 23, 27) |
| HSL | hsl(356, 55%, 20%) |
| HSV | hsv(356, 71%, 31%) |
| CMYK | cmyk(0%, 70.9%, 65.8%, 69%) |
| CIE-LAB | lab(17.25, 26.59, 11.67) |
| CIE-LCH | lch(17.25, 29.04, 23.71°) |
| OKLab | oklab(29.69% 0.0791 0.0284) |
| OKLCH | oklch(29.69% 0.084 19.8) |
| XYZ | xyz(3.7290, 2.3547, 1.2948) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 5.27
Dried Blood
#4B0101
ΔE00 5.50
Mahogany
#4A0100
ΔE00 5.58
Dark Maroon
#3C0008
ΔE00 5.65
Claret
#680018
ΔE00 6.64
Maroon (survey)
#650021
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F171B #174F4B
analogous
#4F1737 #4F171B #4F2F17
triadic
#4F171B #1B4F17 #171B4F
tetradic
#4F171B #374F17 #174F4B #2F174F
square
#4F171B #374F17 #174F4B #2F174F
split-complementary
#4F171B #174F2F #17374F
monochromatic
#180708 #20090B #4F171B #7E252B #AE333B
Accessibility & contrast
On white
14.28
#4F171B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#4F171B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F171B
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F171B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F171B | 1.00 | 14.28 | 1.47 | 14.28 |
| #FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25231B
Deuteranopia (green-blind)
#332F1A
Tritanopia (blue-blind)
#570B19
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #4f171b; /* rgb */ color: rgb(79, 23, 27); /* oklch */ color: oklch(29.7% 0.084 19.8);
Tailwind
colors: {
custom: {
50: '#855857',
500: '#4f171b',
950: '#000000',
},
}SCSS
$custom: #4f171b; $custom-light: #855857; $custom-dark: #000000;
JSON
{
"hex": "#4f171b",
"rgb": {
"r": 79,
"g": 23,
"b": 27
},
"hsl": {
"h": 355.714,
"s": 54.902,
"l": 20
},
"oklch": {
"l": 0.29691,
"c": 0.08404,
"h": 19.8
},
"luminance": 0.02354
}Semantic roles & 50–950 ramp
primary
#4F171B
secondary
#3C8681
accent
#DED44A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878