#4D171F#4D171F
#4D171F is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.081 H 14.9°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4D171F |
|---|---|
| RGB | rgb(77, 23, 31) |
| HSL | hsl(351, 54%, 20%) |
| HSV | hsv(351, 70%, 30%) |
| CMYK | cmyk(0%, 70.1%, 59.7%, 69.8%) |
| CIE-LAB | lab(16.94, 26.16, 8.35) |
| CIE-LCH | lch(16.94, 27.46, 17.70°) |
| OKLab | oklab(29.42% 0.0787 0.0209) |
| OKLCH | oklch(29.42% 0.081 14.9) |
| XYZ | xyz(3.6146, 2.2900, 1.5477) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.51
Burgundy (survey)
#610023
ΔE00 6.20
Maroon (survey)
#650021
ΔE00 6.50
Deep Brown
#410200
ΔE00 6.50
Dried Blood
#4B0101
ΔE00 7.23
Mahogany
#4A0100
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D171F #174D45
analogous
#4D173A #4D171F #4D2A17
triadic
#4D171F #1F4D17 #171F4D
tetradic
#4D171F #3A4D17 #174D45 #2A174D
square
#4D171F #3A4D17 #174D45 #2A174D
split-complementary
#4D171F #174D2A #173A4D
monochromatic
#180709 #1E090C #4D171F #7C2532 #AB3345
Accessibility & contrast
On white
14.40
#4D171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#4D171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D171F
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D171F | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24231F
Deuteranopia (green-blind)
#322E1E
Tritanopia (blue-blind)
#550D1A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #4d171f; /* rgb */ color: rgb(77, 23, 31); /* oklch */ color: oklch(29.4% 0.081 14.9);
Tailwind
colors: {
custom: {
50: '#83575a',
500: '#4d171f',
950: '#000000',
},
}SCSS
$custom: #4d171f; $custom-light: #83575a; $custom-dark: #000000;
JSON
{
"hex": "#4d171f",
"rgb": {
"r": 77,
"g": 23,
"b": 31
},
"hsl": {
"h": 351.111,
"s": 54,
"l": 19.608
},
"oklch": {
"l": 0.29415,
"c": 0.08145,
"h": 14.9
},
"luminance": 0.0229
}Semantic roles & 50–950 ramp
primary
#4D171F
secondary
#3C8479
accent
#DDC84A
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878