#4C1217#4C1217
#4C1217 is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.4% C 0.087 H 19.9°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1217 |
|---|---|
| RGB | rgb(76, 18, 23) |
| HSL | hsl(355, 62%, 18%) |
| HSV | hsv(355, 76%, 30%) |
| CMYK | cmyk(0%, 76.3%, 69.7%, 70.2%) |
| CIE-LAB | lab(15.65, 27.53, 12.33) |
| CIE-LCH | lch(15.65, 30.17, 24.12°) |
| OKLab | oklab(28.35% 0.0817 0.0296) |
| OKLCH | oklch(28.35% 0.087 19.9) |
| XYZ | xyz(3.3518, 2.0315, 1.0261) |
| Luminance | 0.0203 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 4.16
Dried Blood
#4B0101
ΔE00 4.59
Dark Maroon
#3C0008
ΔE00 4.62
Mahogany
#4A0100
ΔE00 4.66
Claret
#680018
ΔE00 6.59
Maroon (survey)
#650021
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1217 #124C47
analogous
#4C1234 #4C1217 #4C2A12
triadic
#4C1217 #174C12 #12174C
tetradic
#4C1217 #344C12 #124C47 #2A124C
square
#4C1217 #344C12 #124C47 #2A124C
split-complementary
#4C1217 #124C2A #12344C
monochromatic
#190607 #1B0608 #4C1217 #7D1E26 #AF2935
Accessibility & contrast
On white
14.93
#4C1217 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#4C1217 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1217
14.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1217 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1217 | 1.00 | 14.93 | 1.41 | 14.93 |
| #FFFFFF | 14.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#221F17
Deuteranopia (green-blind)
#302C15
Tritanopia (blue-blind)
#540414
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #4c1217; /* rgb */ color: rgb(76, 18, 23); /* oklch */ color: oklch(28.4% 0.087 19.9);
Tailwind
colors: {
custom: {
50: '#835453',
500: '#4c1217',
950: '#000000',
},
}SCSS
$custom: #4c1217; $custom-light: #835453; $custom-dark: #000000;
JSON
{
"hex": "#4c1217",
"rgb": {
"r": 76,
"g": 18,
"b": 23
},
"hsl": {
"h": 354.828,
"s": 61.702,
"l": 18.431
},
"oklch": {
"l": 0.28354,
"c": 0.08687,
"h": 19.9
},
"luminance": 0.02031
}Semantic roles & 50–950 ramp
primary
#4C1217
secondary
#35857E
accent
#E5D743
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0B0302
muted
#7C7878