#4F171E#4F171E
#4F171E is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.8% C 0.084 H 16.5°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4F171E |
|---|---|
| RGB | rgb(79, 23, 30) |
| HSL | hsl(353, 55%, 20%) |
| HSV | hsv(353, 71%, 31%) |
| CMYK | cmyk(0%, 70.9%, 62%, 69%) |
| CIE-LAB | lab(17.32, 26.84, 9.64) |
| CIE-LCH | lch(17.32, 28.52, 19.75°) |
| OKLab | oklab(29.77% 0.0805 0.0239) |
| OKLCH | oklch(29.77% 0.084 16.5) |
| XYZ | xyz(3.7655, 2.3693, 1.4871) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.58
Deep Brown
#410200
ΔE00 6.09
Burgundy (survey)
#610023
ΔE00 6.11
Maroon (survey)
#650021
ΔE00 6.18
Dried Blood
#4B0101
ΔE00 6.57
Mahogany
#4A0100
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F171E #174F48
analogous
#4F173A #4F171E #4F2C17
triadic
#4F171E #1E4F17 #171E4F
tetradic
#4F171E #3A4F17 #174F48 #2C174F
square
#4F171E #3A4F17 #174F48 #2C174F
split-complementary
#4F171E #174F2C #173A4F
monochromatic
#180709 #20090C #4F171E #7E2530 #AE3342
Accessibility & contrast
On white
14.25
#4F171E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#4F171E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F171E
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F171E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F171E | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25231E
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#570C1A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #4f171e; /* rgb */ color: rgb(79, 23, 30); /* oklch */ color: oklch(29.8% 0.084 16.5);
Tailwind
colors: {
custom: {
50: '#845859',
500: '#4f171e',
950: '#000000',
},
}SCSS
$custom: #4f171e; $custom-light: #845859; $custom-dark: #000000;
JSON
{
"hex": "#4f171e",
"rgb": {
"r": 79,
"g": 23,
"b": 30
},
"hsl": {
"h": 352.5,
"s": 54.902,
"l": 20
},
"oklch": {
"l": 0.29765,
"c": 0.08396,
"h": 16.5
},
"luminance": 0.02369
}Semantic roles & 50–950 ramp
primary
#4F171E
secondary
#3C867D
accent
#DECC4A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0303
muted
#7C7878