#7F162C#7F162C
#7F162C is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.138 H 15.5°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7F162C |
|---|---|
| RGB | rgb(127, 22, 44) |
| HSL | hsl(347, 70%, 29%) |
| HSV | hsv(347, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 65.4%, 50.2%) |
| CIE-LAB | lab(27.49, 44.55, 15.26) |
| CIE-LCH | lch(27.49, 47.09, 18.90°) |
| OKLab | oklab(39.24% 0.1334 0.0369) |
| OKLCH | oklch(39.24% 0.138 15.5) |
| XYZ | xyz(9.4949, 5.2691, 2.8995) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.35
Bordeaux
#7B002C
ΔE00 3.27
Burgundy
#800020
ΔE00 3.29
Red Wine
#8C0034
ΔE00 3.81
Wine
#722F37
ΔE00 5.65
Claret
#680018
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F162C #167F69
analogous
#7F1661 #7F162C #7F3516
triadic
#7F162C #2C7F16 #162C7F
tetradic
#7F162C #617F16 #167F69 #35167F
square
#7F162C #617F16 #167F69 #35167F
split-complementary
#7F162C #167F35 #16617F
monochromatic
#1A0509 #4B0D1A #7F162C #B31F3E #DC3457
Accessibility & contrast
On white
10.23
#7F162C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F162C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F162C
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F162C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F162C | 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)
#35332C
Deuteranopia (green-blind)
#4F4929
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f162c; /* rgb */ color: rgb(127, 22, 44); /* oklch */ color: oklch(39.2% 0.138 15.5);
Tailwind
colors: {
custom: {
50: '#ab5f64',
500: '#7f162c',
950: '#000000',
},
}SCSS
$custom: #7f162c; $custom-light: #ab5f64; $custom-dark: #000000;
JSON
{
"hex": "#7f162c",
"rgb": {
"r": 127,
"g": 22,
"b": 44
},
"hsl": {
"h": 347.429,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.39239,
"c": 0.13837,
"h": 15.5
},
"luminance": 0.05268
}Semantic roles & 50–950 ramp
primary
#7F162C
secondary
#3DB49B
accent
#EDC83B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A