#7F162A#7F162A
#7F162A is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.138 H 16.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7F162A |
|---|---|
| RGB | rgb(127, 22, 42) |
| HSL | hsl(349, 70%, 29%) |
| HSV | hsv(349, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 66.9%, 50.2%) |
| CIE-LAB | lab(27.45, 44.43, 16.54) |
| CIE-LCH | lch(27.45, 47.41, 20.42°) |
| OKLab | oklab(39.2% 0.1325 0.0396) |
| OKLCH | oklch(39.2% 0.138 16.6) |
| XYZ | xyz(9.4583, 5.2545, 2.7062) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.09
Burgundy
#800020
ΔE00 2.70
Bordeaux
#7B002C
ΔE00 3.86
Red Wine
#8C0034
ΔE00 4.39
Claret
#680018
ΔE00 5.57
Wine
#722F37
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F162A #167F6B
analogous
#7F165F #7F162A #7F3616
triadic
#7F162A #2A7F16 #162A7F
tetradic
#7F162A #5F7F16 #167F6B #36167F
square
#7F162A #5F7F16 #167F6B #36167F
split-complementary
#7F162A #167F36 #165F7F
monochromatic
#1A0509 #4B0D19 #7F162A #B31F3B #DC3454
Accessibility & contrast
On white
10.24
#7F162A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F162A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F162A
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F162A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F162A | 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)
#35332A
Deuteranopia (green-blind)
#504927
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f162a; /* rgb */ color: rgb(127, 22, 42); /* oklch */ color: oklch(39.2% 0.138 16.6);
Tailwind
colors: {
custom: {
50: '#ab5f63',
500: '#7f162a',
950: '#000000',
},
}SCSS
$custom: #7f162a; $custom-light: #ab5f63; $custom-dark: #000000;
JSON
{
"hex": "#7f162a",
"rgb": {
"r": 127,
"g": 22,
"b": 42
},
"hsl": {
"h": 348.571,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.39196,
"c": 0.13832,
"h": 16.6
},
"luminance": 0.05253
}Semantic roles & 50–950 ramp
primary
#7F162A
secondary
#3DB49D
accent
#EDCB3B
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979