#7F151F#7F151F
#7F151F is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.140 H 22.4°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7F151F |
|---|---|
| RGB | rgb(127, 21, 31) |
| HSL | hsl(354, 72%, 29%) |
| HSV | hsv(354, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 75.6%, 50.2%) |
| CIE-LAB | lab(27.15, 44.13, 23.44) |
| CIE-LCH | lch(27.15, 49.97, 27.97°) |
| OKLab | oklab(38.92% 0.129 0.0532) |
| OKLCH | oklch(38.92% 0.14 22.4) |
| XYZ | xyz(9.2690, 5.1488, 1.8018) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.77
Wine Red
#7B0323
ΔE00 4.11
Crimson (survey)
#8C000F
ΔE00 5.22
Claret
#680018
ΔE00 5.68
Rosewood
#65000B
ΔE00 6.02
Blood
#770001
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F151F #157F75
analogous
#7F1554 #7F151F #7F4015
triadic
#7F151F #1F7F15 #151F7F
tetradic
#7F151F #547F15 #157F75 #40157F
square
#7F151F #547F15 #157F75 #40157F
split-complementary
#7F151F #157F40 #15547F
monochromatic
#1A0406 #4A0C12 #7F151F #B41E2C #DD3142
Accessibility & contrast
On white
10.35
#7F151F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7F151F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F151F
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F151F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F151F | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36321E
Deuteranopia (green-blind)
#51481B
Tritanopia (blue-blind)
#8C001A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f151f; /* rgb */ color: rgb(127, 21, 31); /* oklch */ color: oklch(38.9% 0.140 22.4);
Tailwind
colors: {
custom: {
50: '#ac5f5a',
500: '#7f151f',
950: '#000000',
},
}SCSS
$custom: #7f151f; $custom-light: #ac5f5a; $custom-dark: #000000;
JSON
{
"hex": "#7f151f",
"rgb": {
"r": 127,
"g": 21,
"b": 31
},
"hsl": {
"h": 354.34,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.38918,
"c": 0.13953,
"h": 22.4
},
"luminance": 0.05147
}Semantic roles & 50–950 ramp
primary
#7F151F
secondary
#3CB4A9
accent
#EEDD39
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979