#7F162D#7F162D
#7F162D is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.138 H 14.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7F162D |
|---|---|
| RGB | rgb(127, 22, 45) |
| HSL | hsl(347, 70%, 29%) |
| HSV | hsv(347, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 64.6%, 50.2%) |
| CIE-LAB | lab(27.51, 44.62, 14.61) |
| CIE-LCH | lch(27.51, 46.95, 18.13°) |
| OKLab | oklab(39.26% 0.1338 0.0355) |
| OKLCH | oklch(39.26% 0.138 14.9) |
| XYZ | xyz(9.5140, 5.2767, 2.9997) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.56
Bordeaux
#7B002C
ΔE00 3.01
Red Wine
#8C0034
ΔE00 3.55
Burgundy
#800020
ΔE00 3.60
Wine
#722F37
ΔE00 5.59
Maroon (survey)
#650021
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F162D #167F68
analogous
#7F1662 #7F162D #7F3416
triadic
#7F162D #2D7F16 #162D7F
tetradic
#7F162D #627F16 #167F68 #34167F
square
#7F162D #627F16 #167F68 #34167F
split-complementary
#7F162D #167F34 #16627F
monochromatic
#1A0509 #4B0D1B #7F162D #B31F3F #DC3458
Accessibility & contrast
On white
10.22
#7F162D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F162D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F162D
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F162D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F162D | 1.00 | 10.22 | 2.06 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35332D
Deuteranopia (green-blind)
#4F492A
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f162d; /* rgb */ color: rgb(127, 22, 45); /* oklch */ color: oklch(39.3% 0.138 14.9);
Tailwind
colors: {
custom: {
50: '#ab5f65',
500: '#7f162d',
950: '#000000',
},
}SCSS
$custom: #7f162d; $custom-light: #ab5f65; $custom-dark: #000000;
JSON
{
"hex": "#7f162d",
"rgb": {
"r": 127,
"g": 22,
"b": 45
},
"hsl": {
"h": 346.857,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.39261,
"c": 0.1384,
"h": 14.9
},
"luminance": 0.05275
}Semantic roles & 50–950 ramp
primary
#7F162D
secondary
#3DB49A
accent
#EDC63B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A