#4D171C#4D171C
#4D171C is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.3% C 0.081 H 18.3°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #4D171C |
|---|---|
| RGB | rgb(77, 23, 28) |
| HSL | hsl(354, 54%, 20%) |
| HSV | hsv(354, 70%, 30%) |
| CMYK | cmyk(0%, 70.1%, 63.6%, 69.8%) |
| CIE-LAB | lab(16.87, 25.88, 10.39) |
| CIE-LCH | lch(16.87, 27.89, 21.87°) |
| OKLab | oklab(29.34% 0.0773 0.0256) |
| OKLCH | oklch(29.34% 0.081 18.3) |
| XYZ | xyz(3.5769, 2.2749, 1.3491) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.38
Deep Brown
#410200
ΔE00 5.54
Dried Blood
#4B0101
ΔE00 6.08
Mahogany
#4A0100
ΔE00 6.14
Maroon (survey)
#650021
ΔE00 6.80
Burgundy (survey)
#610023
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D171C #174D48
analogous
#4D1737 #4D171C #4D2D17
triadic
#4D171C #1C4D17 #171C4D
tetradic
#4D171C #374D17 #174D48 #2D174D
square
#4D171C #374D17 #174D48 #2D174D
split-complementary
#4D171C #174D2D #17374D
monochromatic
#180709 #1E090B #4D171C #7C252D #AB333E
Accessibility & contrast
On white
14.43
#4D171C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#4D171C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D171C
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D171C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D171C | 1.00 | 14.43 | 1.45 | 14.43 |
| #FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24221C
Deuteranopia (green-blind)
#322E1B
Tritanopia (blue-blind)
#550D19
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #4d171c; /* rgb */ color: rgb(77, 23, 28); /* oklch */ color: oklch(29.3% 0.081 18.3);
Tailwind
colors: {
custom: {
50: '#835757',
500: '#4d171c',
950: '#000000',
},
}SCSS
$custom: #4d171c; $custom-light: #835757; $custom-dark: #000000;
JSON
{
"hex": "#4d171c",
"rgb": {
"r": 77,
"g": 23,
"b": 28
},
"hsl": {
"h": 354.444,
"s": 54,
"l": 19.608
},
"oklch": {
"l": 0.29338,
"c": 0.08143,
"h": 18.3
},
"luminance": 0.02274
}Semantic roles & 50–950 ramp
primary
#4D171C
secondary
#3C847D
accent
#DDD04A
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878