#4F171F#4F171F
#4F171F is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.8% C 0.084 H 15.4°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4F171F |
|---|---|
| RGB | rgb(79, 23, 31) |
| HSL | hsl(351, 55%, 20%) |
| HSV | hsv(351, 71%, 31%) |
| CMYK | cmyk(0%, 70.9%, 60.8%, 69%) |
| CIE-LAB | lab(17.34, 26.93, 8.96) |
| CIE-LCH | lch(17.34, 28.38, 18.39°) |
| OKLab | oklab(29.79% 0.0809 0.0223) |
| OKLCH | oklch(29.79% 0.084 15.4) |
| XYZ | xyz(3.7785, 2.3745, 1.5554) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.64
Burgundy (survey)
#610023
ΔE00 5.90
Maroon (survey)
#650021
ΔE00 6.09
Deep Brown
#410200
ΔE00 6.42
Dried Blood
#4B0101
ΔE00 6.96
Mahogany
#4A0100
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F171F #174F47
analogous
#4F173B #4F171F #4F2B17
triadic
#4F171F #1F4F17 #171F4F
tetradic
#4F171F #3B4F17 #174F47 #2B174F
square
#4F171F #3B4F17 #174F47 #2B174F
split-complementary
#4F171F #174F2B #173B4F
monochromatic
#180709 #20090C #4F171F #7E2532 #AE3344
Accessibility & contrast
On white
14.24
#4F171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#4F171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F171F
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F171F | 1.00 | 14.24 | 1.47 | 14.24 |
| #FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25231F
Deuteranopia (green-blind)
#332F1E
Tritanopia (blue-blind)
#570D1A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #4f171f; /* rgb */ color: rgb(79, 23, 31); /* oklch */ color: oklch(29.8% 0.084 15.4);
Tailwind
colors: {
custom: {
50: '#84585a',
500: '#4f171f',
950: '#000000',
},
}SCSS
$custom: #4f171f; $custom-light: #84585a; $custom-dark: #000000;
JSON
{
"hex": "#4f171f",
"rgb": {
"r": 79,
"g": 23,
"b": 31
},
"hsl": {
"h": 351.429,
"s": 54.902,
"l": 20
},
"oklch": {
"l": 0.29791,
"c": 0.08397,
"h": 15.4
},
"luminance": 0.02374
}Semantic roles & 50–950 ramp
primary
#4F171F
secondary
#3C867C
accent
#DEC94A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0303
muted
#7C7878