#7F162B#7F162B
#7F162B is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.138 H 16.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7F162B |
|---|---|
| RGB | rgb(127, 22, 43) |
| HSL | hsl(348, 70%, 29%) |
| HSV | hsv(348, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 66.1%, 50.2%) |
| CIE-LAB | lab(27.47, 44.49, 15.90) |
| CIE-LCH | lch(27.47, 47.24, 19.67°) |
| OKLab | oklab(39.22% 0.1329 0.0383) |
| OKLCH | oklch(39.22% 0.138 16.1) |
| XYZ | xyz(9.4764, 5.2617, 2.8017) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.19
Burgundy
#800020
ΔE00 2.98
Bordeaux
#7B002C
ΔE00 3.56
Red Wine
#8C0034
ΔE00 4.09
Claret
#680018
ΔE00 5.70
Wine
#722F37
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F162B #167F6A
analogous
#7F1660 #7F162B #7F3616
triadic
#7F162B #2B7F16 #162B7F
tetradic
#7F162B #607F16 #167F6A #36167F
square
#7F162B #607F16 #167F6A #36167F
split-complementary
#7F162B #167F36 #16607F
monochromatic
#1A0509 #4B0D19 #7F162B #B31F3D #DC3455
Accessibility & contrast
On white
10.23
#7F162B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F162B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F162B
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F162B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F162B | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35332B
Deuteranopia (green-blind)
#504928
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f162b; /* rgb */ color: rgb(127, 22, 43); /* oklch */ color: oklch(39.2% 0.138 16.1);
Tailwind
colors: {
custom: {
50: '#ab5f64',
500: '#7f162b',
950: '#000000',
},
}SCSS
$custom: #7f162b; $custom-light: #ab5f64; $custom-dark: #000000;
JSON
{
"hex": "#7f162b",
"rgb": {
"r": 127,
"g": 22,
"b": 43
},
"hsl": {
"h": 348,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.39217,
"c": 0.13834,
"h": 16.1
},
"luminance": 0.0526
}Semantic roles & 50–950 ramp
primary
#7F162B
secondary
#3DB49C
accent
#EDCA3B
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979