#7F152B#7F152B
#7F152B is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.139 H 15.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7F152B |
|---|---|
| RGB | rgb(127, 21, 43) |
| HSL | hsl(348, 72%, 29%) |
| HSV | hsv(348, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 66.1%, 50.2%) |
| CIE-LAB | lab(27.36, 44.78, 15.77) |
| CIE-LCH | lch(27.36, 47.47, 19.39°) |
| OKLab | oklab(39.14% 0.1339 0.038) |
| OKLCH | oklch(39.14% 0.139 15.8) |
| XYZ | xyz(9.4576, 5.2242, 2.7954) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.13
Burgundy
#800020
ΔE00 3.01
Bordeaux
#7B002C
ΔE00 3.39
Red Wine
#8C0034
ΔE00 3.97
Claret
#680018
ΔE00 5.68
Wine
#722F37
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F152B #157F69
analogous
#7F1560 #7F152B #7F3415
triadic
#7F152B #2B7F15 #152B7F
tetradic
#7F152B #607F15 #157F69 #34157F
square
#7F152B #607F15 #157F69 #34157F
split-complementary
#7F152B #157F34 #15607F
monochromatic
#1A0409 #4A0C19 #7F152B #B41E3D #DD3155
Accessibility & contrast
On white
10.27
#7F152B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F152B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F152B
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F152B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F152B | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35332B
Deuteranopia (green-blind)
#4F4828
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f152b; /* rgb */ color: rgb(127, 21, 43); /* oklch */ color: oklch(39.1% 0.139 15.8);
Tailwind
colors: {
custom: {
50: '#ab5f64',
500: '#7f152b',
950: '#000000',
},
}SCSS
$custom: #7f152b; $custom-light: #ab5f64; $custom-dark: #000000;
JSON
{
"hex": "#7f152b",
"rgb": {
"r": 127,
"g": 21,
"b": 43
},
"hsl": {
"h": 347.547,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.39141,
"c": 0.13915,
"h": 15.8
},
"luminance": 0.05223
}Semantic roles & 50–950 ramp
primary
#7F152B
secondary
#3CB49B
accent
#EEC939
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979