#7F1518#7F1518
#7F1518 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.140 H 25.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1518 |
|---|---|
| RGB | rgb(127, 21, 24) |
| HSL | hsl(358, 72%, 29%) |
| HSV | hsv(358, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 81.1%, 50.2%) |
| CIE-LAB | lab(27.06, 43.85, 27.75) |
| CIE-LCH | lch(27.06, 51.89, 32.33°) |
| OKLab | oklab(38.82% 0.1264 0.0607) |
| OKLCH | oklch(38.82% 0.14 25.6) |
| XYZ | xyz(9.1866, 5.1158, 1.3677) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.35
Blood
#770001
ΔE00 4.30
Maroon
#800000
ΔE00 4.64
Dark Red
#840000
ΔE00 4.92
Reddy Brown
#6E1005
ΔE00 4.94
Burgundy
#800020
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1518 #157F7C
analogous
#7F154D #7F1518 #7F4715
triadic
#7F1518 #187F15 #15187F
tetradic
#7F1518 #4D7F15 #157F7C #47157F
square
#7F1518 #4D7F15 #157F7C #47157F
split-complementary
#7F1518 #157F47 #154D7F
monochromatic
#1A0405 #4A0C0E #7F1518 #B41E22 #DD3136
Accessibility & contrast
On white
10.38
#7F1518 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7F1518 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1518
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1518 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1518 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373117
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#8C0018
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1518; /* rgb */ color: rgb(127, 21, 24); /* oklch */ color: oklch(38.8% 0.140 25.6);
Tailwind
colors: {
custom: {
50: '#ac5e55',
500: '#7f1518',
950: '#000000',
},
}SCSS
$custom: #7f1518; $custom-light: #ac5e55; $custom-dark: #000000;
JSON
{
"hex": "#7f1518",
"rgb": {
"r": 127,
"g": 21,
"b": 24
},
"hsl": {
"h": 358.302,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.3882,
"c": 0.14022,
"h": 25.6
},
"luminance": 0.05114
}Semantic roles & 50–950 ramp
primary
#7F1518
secondary
#3CB4B1
accent
#EEE939
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978