#7F152F#7F152F
#7F152F is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.139 H 13.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7F152F |
|---|---|
| RGB | rgb(127, 21, 47) |
| HSL | hsl(345, 72%, 29%) |
| HSV | hsv(345, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 63%, 50.2%) |
| CIE-LAB | lab(27.45, 45.04, 13.19) |
| CIE-LCH | lch(27.45, 46.93, 16.32°) |
| OKLab | oklab(39.23% 0.1356 0.0323) |
| OKLCH | oklch(39.23% 0.139 13.4) |
| XYZ | xyz(9.5347, 5.2550, 3.2010) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.42
Red Wine
#8C0034
ΔE00 3.01
Wine Red
#7B0323
ΔE00 3.09
Burgundy
#800020
ΔE00 4.32
Wine
#722F37
ΔE00 5.63
Maroon (survey)
#650021
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F152F #157F65
analogous
#7F1564 #7F152F #7F3015
triadic
#7F152F #2F7F15 #152F7F
tetradic
#7F152F #647F15 #157F65 #30157F
square
#7F152F #647F15 #157F65 #30157F
split-complementary
#7F152F #157F30 #15647F
monochromatic
#1A040A #4A0C1C #7F152F #B41E42 #DD315B
Accessibility & contrast
On white
10.24
#7F152F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F152F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F152F
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F152F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F152F | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34332F
Deuteranopia (green-blind)
#4F492C
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f152f; /* rgb */ color: rgb(127, 21, 47); /* oklch */ color: oklch(39.2% 0.139 13.4);
Tailwind
colors: {
custom: {
50: '#ab5f67',
500: '#7f152f',
950: '#000000',
},
}SCSS
$custom: #7f152f; $custom-light: #ab5f67; $custom-dark: #000000;
JSON
{
"hex": "#7f152f",
"rgb": {
"r": 127,
"g": 21,
"b": 47
},
"hsl": {
"h": 345.283,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.39231,
"c": 0.13937,
"h": 13.4
},
"luminance": 0.05254
}Semantic roles & 50–950 ramp
primary
#7F152F
secondary
#3CB497
accent
#EEC239
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A