#7F152A#7F152A
#7F152A is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.139 H 16.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7F152A |
|---|---|
| RGB | rgb(127, 21, 42) |
| HSL | hsl(348, 72%, 29%) |
| HSV | hsv(348, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 66.9%, 50.2%) |
| CIE-LAB | lab(27.34, 44.72, 16.41) |
| CIE-LCH | lch(27.34, 47.63, 20.15°) |
| OKLab | oklab(39.12% 0.1335 0.0393) |
| OKLCH | oklch(39.12% 0.139 16.4) |
| XYZ | xyz(9.4395, 5.2170, 2.7000) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.00
Burgundy
#800020
ΔE00 2.71
Bordeaux
#7B002C
ΔE00 3.70
Red Wine
#8C0034
ΔE00 4.26
Claret
#680018
ΔE00 5.54
Wine
#722F37
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F152A #157F6A
analogous
#7F155F #7F152A #7F3515
triadic
#7F152A #2A7F15 #152A7F
tetradic
#7F152A #5F7F15 #157F6A #35157F
square
#7F152A #5F7F15 #157F6A #35157F
split-complementary
#7F152A #157F35 #155F7F
monochromatic
#1A0409 #4A0C19 #7F152A #B41E3B #DD3153
Accessibility & contrast
On white
10.28
#7F152A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F152A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F152A
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F152A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F152A | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35322A
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f152a; /* rgb */ color: rgb(127, 21, 42); /* oklch */ color: oklch(39.1% 0.139 16.4);
Tailwind
colors: {
custom: {
50: '#ab5f63',
500: '#7f152a',
950: '#000000',
},
}SCSS
$custom: #7f152a; $custom-light: #ab5f63; $custom-dark: #000000;
JSON
{
"hex": "#7f152a",
"rgb": {
"r": 127,
"g": 21,
"b": 42
},
"hsl": {
"h": 348.113,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.39119,
"c": 0.13913,
"h": 16.4
},
"luminance": 0.05216
}Semantic roles & 50–950 ramp
primary
#7F152A
secondary
#3CB49C
accent
#EECB39
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979