#7F1618#7F1618
#7F1618 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.139 H 25.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1618 |
|---|---|
| RGB | rgb(127, 22, 24) |
| HSL | hsl(359, 70%, 29%) |
| HSV | hsv(359, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 81.1%, 50.2%) |
| CIE-LAB | lab(27.17, 43.55, 27.86) |
| CIE-LCH | lch(27.17, 51.70, 32.61°) |
| OKLab | oklab(38.9% 0.1255 0.0609) |
| OKLCH | oklch(38.9% 0.139 25.9) |
| XYZ | xyz(9.2053, 5.1533, 1.3740) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.32
Blood
#770001
ΔE00 4.26
Maroon
#800000
ΔE00 4.56
Dark Red
#840000
ΔE00 4.83
Reddy Brown
#6E1005
ΔE00 4.87
Indian Red
#850E04
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1618 #167F7D
analogous
#7F164D #7F1618 #7F4916
triadic
#7F1618 #187F16 #16187F
tetradic
#7F1618 #4D7F16 #167F7D #49167F
square
#7F1618 #4D7F16 #167F7D #49167F
split-complementary
#7F1618 #167F49 #164D7F
monochromatic
#1A0505 #4B0D0E #7F1618 #B31F22 #DC3437
Accessibility & contrast
On white
10.34
#7F1618 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7F1618 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1618
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1618 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1618 | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383217
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#8C0018
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1618; /* rgb */ color: rgb(127, 22, 24); /* oklch */ color: oklch(38.9% 0.139 25.9);
Tailwind
colors: {
custom: {
50: '#ac5f55',
500: '#7f1618',
950: '#000000',
},
}SCSS
$custom: #7f1618; $custom-light: #ac5f55; $custom-dark: #000000;
JSON
{
"hex": "#7f1618",
"rgb": {
"r": 127,
"g": 22,
"b": 24
},
"hsl": {
"h": 358.857,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.38898,
"c": 0.13948,
"h": 25.9
},
"luminance": 0.05152
}Semantic roles & 50–950 ramp
primary
#7F1618
secondary
#3DB4B2
accent
#EDEA3B
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978