#7F152C#7F152C
#7F152C is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.2% C 0.139 H 15.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7F152C |
|---|---|
| RGB | rgb(127, 21, 44) |
| HSL | hsl(347, 72%, 29%) |
| HSV | hsv(347, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 65.4%, 50.2%) |
| CIE-LAB | lab(27.38, 44.84, 15.12) |
| CIE-LCH | lch(27.38, 47.32, 18.63°) |
| OKLab | oklab(39.16% 0.1343 0.0366) |
| OKLCH | oklch(39.16% 0.139 15.2) |
| XYZ | xyz(9.4762, 5.2317, 2.8932) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.32
Bordeaux
#7B002C
ΔE00 3.11
Burgundy
#800020
ΔE00 3.32
Red Wine
#8C0034
ΔE00 3.69
Wine
#722F37
ΔE00 5.73
Claret
#680018
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F152C #157F68
analogous
#7F1561 #7F152C #7F3315
triadic
#7F152C #2C7F15 #152C7F
tetradic
#7F152C #617F15 #157F68 #33157F
square
#7F152C #617F15 #157F68 #33157F
split-complementary
#7F152C #157F33 #15617F
monochromatic
#1A0409 #4A0C1A #7F152C #B41E3E #DD3157
Accessibility & contrast
On white
10.26
#7F152C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F152C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F152C
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F152C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F152C | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35332C
Deuteranopia (green-blind)
#4F4829
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f152c; /* rgb */ color: rgb(127, 21, 44); /* oklch */ color: oklch(39.2% 0.139 15.2);
Tailwind
colors: {
custom: {
50: '#ab5f64',
500: '#7f152c',
950: '#000000',
},
}SCSS
$custom: #7f152c; $custom-light: #ab5f64; $custom-dark: #000000;
JSON
{
"hex": "#7f152c",
"rgb": {
"r": 127,
"g": 21,
"b": 44
},
"hsl": {
"h": 346.981,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.39163,
"c": 0.13919,
"h": 15.2
},
"luminance": 0.0523
}Semantic roles & 50–950 ramp
primary
#7F152C
secondary
#3CB49A
accent
#EEC739
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A