#7F162F#7F162F
#7F162F is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.139 H 13.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #7F162F |
|---|---|
| RGB | rgb(127, 22, 47) |
| HSL | hsl(346, 70%, 29%) |
| HSV | hsv(346, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 63%, 50.2%) |
| CIE-LAB | lab(27.55, 44.75, 13.32) |
| CIE-LCH | lch(27.55, 46.69, 16.58°) |
| OKLab | oklab(39.31% 0.1346 0.0327) |
| OKLCH | oklch(39.31% 0.139 13.6) |
| XYZ | xyz(9.5534, 5.2925, 3.2073) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.57
Wine Red
#7B0323
ΔE00 3.07
Red Wine
#8C0034
ΔE00 3.11
Burgundy
#800020
ΔE00 4.27
Wine
#722F37
ΔE00 5.52
Cranberry
#9E003A
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F162F #167F66
analogous
#7F1664 #7F162F #7F3116
triadic
#7F162F #2F7F16 #162F7F
tetradic
#7F162F #647F16 #167F66 #31167F
square
#7F162F #647F16 #167F66 #31167F
split-complementary
#7F162F #167F31 #16647F
monochromatic
#1A050A #4B0D1C #7F162F #B31F42 #DC345C
Accessibility & contrast
On white
10.20
#7F162F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F162F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F162F
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F162F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F162F | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34332F
Deuteranopia (green-blind)
#4F492C
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f162f; /* rgb */ color: rgb(127, 22, 47); /* oklch */ color: oklch(39.3% 0.139 13.6);
Tailwind
colors: {
custom: {
50: '#ab5f67',
500: '#7f162f',
950: '#000000',
},
}SCSS
$custom: #7f162f; $custom-light: #ab5f67; $custom-dark: #000000;
JSON
{
"hex": "#7f162f",
"rgb": {
"r": 127,
"g": 22,
"b": 47
},
"hsl": {
"h": 345.714,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.39307,
"c": 0.13852,
"h": 13.6
},
"luminance": 0.05291
}Semantic roles & 50–950 ramp
primary
#7F162F
secondary
#3DB498
accent
#EDC33B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A