#7F162E#7F162E
#7F162E is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.138 H 14.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7F162E |
|---|---|
| RGB | rgb(127, 22, 46) |
| HSL | hsl(346, 70%, 29%) |
| HSV | hsv(346, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 63.8%, 50.2%) |
| CIE-LAB | lab(27.53, 44.68, 13.97) |
| CIE-LCH | lch(27.53, 46.81, 17.36°) |
| OKLab | oklab(39.28% 0.1342 0.0341) |
| OKLCH | oklch(39.28% 0.138 14.2) |
| XYZ | xyz(9.5335, 5.2845, 3.1023) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.77
Wine Red
#7B0323
ΔE00 2.80
Red Wine
#8C0034
ΔE00 3.31
Burgundy
#800020
ΔE00 3.93
Wine
#722F37
ΔE00 5.55
Maroon (survey)
#650021
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F162E #167F67
analogous
#7F1663 #7F162E #7F3316
triadic
#7F162E #2E7F16 #162E7F
tetradic
#7F162E #637F16 #167F67 #33167F
square
#7F162E #637F16 #167F67 #33167F
split-complementary
#7F162E #167F33 #16637F
monochromatic
#1A0509 #4B0D1B #7F162E #B31F41 #DC345A
Accessibility & contrast
On white
10.21
#7F162E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F162E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F162E
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F162E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F162E | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35332E
Deuteranopia (green-blind)
#4F492B
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f162e; /* rgb */ color: rgb(127, 22, 46); /* oklch */ color: oklch(39.3% 0.138 14.2);
Tailwind
colors: {
custom: {
50: '#ab5f66',
500: '#7f162e',
950: '#000000',
},
}SCSS
$custom: #7f162e; $custom-light: #ab5f66; $custom-dark: #000000;
JSON
{
"hex": "#7f162e",
"rgb": {
"r": 127,
"g": 22,
"b": 46
},
"hsl": {
"h": 346.286,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.39284,
"c": 0.13846,
"h": 14.2
},
"luminance": 0.05283
}Semantic roles & 50–950 ramp
primary
#7F162E
secondary
#3DB499
accent
#EDC43B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A