#7F1917#7F1917
#7F1917 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.137 H 27.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1917 |
|---|---|
| RGB | rgb(127, 25, 23) |
| HSL | hsl(1, 69%, 29%) |
| HSV | hsv(1, 82%, 50%) |
| CMYK | cmyk(0%, 80.3%, 81.9%, 50.2%) |
| CIE-LAB | lab(27.49, 42.57, 28.81) |
| CIE-LCH | lch(27.49, 51.40, 34.09°) |
| OKLab | oklab(39.14% 0.1222 0.0626) |
| OKLCH | oklch(39.14% 0.137 27.1) |
| XYZ | xyz(9.2558, 5.2706, 1.3404) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.18
Blood
#770001
ΔE00 3.97
Maroon
#800000
ΔE00 4.08
Indian Red
#850E04
ΔE00 4.22
Dark Red
#840000
ΔE00 4.30
Reddy Brown
#6E1005
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1917 #177D7F
analogous
#7F1749 #7F1917 #7F4D17
triadic
#7F1917 #177F19 #19177F
tetradic
#7F1917 #497F17 #177D7F #4D177F
square
#7F1917 #497F17 #177D7F #4D177F
split-complementary
#7F1917 #177F4D #17497F
monochromatic
#1A0505 #4B0F0E #7F1917 #B32320 #DB3936
Accessibility & contrast
On white
10.22
#7F1917 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F1917 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1917
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1917 | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393315
Deuteranopia (green-blind)
#524912
Tritanopia (blue-blind)
#8C001A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1917; /* rgb */ color: rgb(127, 25, 23); /* oklch */ color: oklch(39.1% 0.137 27.1);
Tailwind
colors: {
custom: {
50: '#ac6054',
500: '#7f1917',
950: '#000000',
},
}SCSS
$custom: #7f1917; $custom-light: #ac6054; $custom-dark: #000000;
JSON
{
"hex": "#7f1917",
"rgb": {
"r": 127,
"g": 25,
"b": 23
},
"hsl": {
"h": 1.154,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.39136,
"c": 0.13728,
"h": 27.1
},
"luminance": 0.05269
}Semantic roles & 50–950 ramp
primary
#7F1917
secondary
#3EB1B4
accent
#E9EC3C
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978