#4F171D#4F171D
#4F171D is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.7% C 0.084 H 17.6°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4F171D |
|---|---|
| RGB | rgb(79, 23, 29) |
| HSL | hsl(354, 55%, 20%) |
| HSV | hsv(354, 71%, 31%) |
| CMYK | cmyk(0%, 70.9%, 63.3%, 69%) |
| CIE-LAB | lab(17.29, 26.76, 10.32) |
| CIE-LCH | lch(17.29, 28.68, 21.08°) |
| OKLab | oklab(29.74% 0.08 0.0254) |
| OKLCH | oklch(29.74% 0.084 17.6) |
| XYZ | xyz(3.7530, 2.3643, 1.4209) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.56
Deep Brown
#410200
ΔE00 5.79
Dried Blood
#4B0101
ΔE00 6.20
Mahogany
#4A0100
ΔE00 6.28
Maroon (survey)
#650021
ΔE00 6.31
Burgundy (survey)
#610023
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F171D #174F49
analogous
#4F1739 #4F171D #4F2D17
triadic
#4F171D #1D4F17 #171D4F
tetradic
#4F171D #394F17 #174F49 #2D174F
square
#4F171D #394F17 #174F49 #2D174F
split-complementary
#4F171D #174F2D #17394F
monochromatic
#180709 #20090C #4F171D #7E252E #AE3340
Accessibility & contrast
On white
14.26
#4F171D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#4F171D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F171D
14.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F171D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F171D | 1.00 | 14.26 | 1.47 | 14.26 |
| #FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25231D
Deuteranopia (green-blind)
#332F1C
Tritanopia (blue-blind)
#570C1A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #4f171d; /* rgb */ color: rgb(79, 23, 29); /* oklch */ color: oklch(29.7% 0.084 17.6);
Tailwind
colors: {
custom: {
50: '#855858',
500: '#4f171d',
950: '#000000',
},
}SCSS
$custom: #4f171d; $custom-light: #855858; $custom-dark: #000000;
JSON
{
"hex": "#4f171d",
"rgb": {
"r": 79,
"g": 23,
"b": 29
},
"hsl": {
"h": 353.571,
"s": 54.902,
"l": 20
},
"oklch": {
"l": 0.29739,
"c": 0.08396,
"h": 17.6
},
"luminance": 0.02364
}Semantic roles & 50–950 ramp
primary
#4F171D
secondary
#3C867E
accent
#DECE4A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878