#7F151A#7F151A
#7F151A is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.140 H 24.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7F151A |
|---|---|
| RGB | rgb(127, 21, 26) |
| HSL | hsl(357, 72%, 29%) |
| HSV | hsv(357, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 79.5%, 50.2%) |
| CIE-LAB | lab(27.09, 43.92, 26.54) |
| CIE-LCH | lch(27.09, 51.32, 31.14°) |
| OKLab | oklab(38.85% 0.1271 0.0587) |
| OKLCH | oklch(38.85% 0.14 24.8) |
| XYZ | xyz(9.2081, 5.1244, 1.4814) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.79
Burgundy
#800020
ΔE00 4.32
Blood
#770001
ΔE00 4.87
Maroon
#800000
ΔE00 5.29
Reddy Brown
#6E1005
ΔE00 5.45
Dark Red
#840000
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F151A #157F7A
analogous
#7F154F #7F151A #7F4515
triadic
#7F151A #1A7F15 #151A7F
tetradic
#7F151A #4F7F15 #157F7A #45157F
square
#7F151A #4F7F15 #157F7A #45157F
split-complementary
#7F151A #157F45 #154F7F
monochromatic
#1A0405 #4A0C0F #7F151A #B41E25 #DD3139
Accessibility & contrast
On white
10.37
#7F151A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7F151A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F151A
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F151A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F151A | 1.00 | 10.37 | 2.02 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373119
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#8C0018
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f151a; /* rgb */ color: rgb(127, 21, 26); /* oklch */ color: oklch(38.8% 0.140 24.8);
Tailwind
colors: {
custom: {
50: '#ac5e57',
500: '#7f151a',
950: '#000000',
},
}SCSS
$custom: #7f151a; $custom-light: #ac5e57; $custom-dark: #000000;
JSON
{
"hex": "#7f151a",
"rgb": {
"r": 127,
"g": 21,
"b": 26
},
"hsl": {
"h": 357.17,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.38846,
"c": 0.14,
"h": 24.8
},
"luminance": 0.05123
}Semantic roles & 50–950 ramp
primary
#7F151A
secondary
#3CB4AE
accent
#EEE639
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978