#7F1718#7F1718
#7F1718 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 26.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1718 |
|---|---|
| RGB | rgb(127, 23, 24) |
| HSL | hsl(359, 69%, 29%) |
| HSV | hsv(359, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 81.1%, 50.2%) |
| CIE-LAB | lab(27.28, 43.25, 27.98) |
| CIE-LCH | lch(27.28, 51.51, 32.90°) |
| OKLab | oklab(38.98% 0.1245 0.0612) |
| OKLCH | oklch(38.98% 0.139 26.2) |
| XYZ | xyz(9.2248, 5.1922, 1.3805) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.30
Blood
#770001
ΔE00 4.23
Maroon
#800000
ΔE00 4.49
Dark Red
#840000
ΔE00 4.75
Indian Red
#850E04
ΔE00 4.78
Reddy Brown
#6E1005
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1718 #177F7E
analogous
#7F174C #7F1718 #7F4A17
triadic
#7F1718 #187F17 #17187F
tetradic
#7F1718 #4C7F17 #177F7E #4A177F
square
#7F1718 #4C7F17 #177F7E #4A177F
split-complementary
#7F1718 #177F4A #174C7F
monochromatic
#1A0505 #4B0E0E #7F1718 #B32022 #DB3637
Accessibility & contrast
On white
10.30
#7F1718 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F1718 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1718
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1718 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383217
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#8C0019
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1718; /* rgb */ color: rgb(127, 23, 24); /* oklch */ color: oklch(39.0% 0.139 26.2);
Tailwind
colors: {
custom: {
50: '#ac5f55',
500: '#7f1718',
950: '#000000',
},
}SCSS
$custom: #7f1718; $custom-light: #ac5f55; $custom-dark: #000000;
JSON
{
"hex": "#7f1718",
"rgb": {
"r": 127,
"g": 23,
"b": 24
},
"hsl": {
"h": 359.423,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.38979,
"c": 0.13873,
"h": 26.2
},
"luminance": 0.05191
}Semantic roles & 50–950 ramp
primary
#7F1718
secondary
#3EB4B2
accent
#ECEA3C
background
#FBF5F5
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978