#7F172E#7F172E
#7F172E is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.4% C 0.138 H 14.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7F172E |
|---|---|
| RGB | rgb(127, 23, 46) |
| HSL | hsl(347, 69%, 29%) |
| HSV | hsv(347, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 63.8%, 50.2%) |
| CIE-LAB | lab(27.64, 44.38, 14.11) |
| CIE-LCH | lch(27.64, 46.57, 17.64°) |
| OKLab | oklab(39.36% 0.1332 0.0344) |
| OKLCH | oklch(39.36% 0.138 14.5) |
| XYZ | xyz(9.5529, 5.3235, 3.1088) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.81
Bordeaux
#7B002C
ΔE00 2.94
Red Wine
#8C0034
ΔE00 3.43
Burgundy
#800020
ΔE00 3.89
Wine
#722F37
ΔE00 5.45
Cranberry
#9E003A
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F172E #177F68
analogous
#7F1762 #7F172E #7F3417
triadic
#7F172E #2E7F17 #172E7F
tetradic
#7F172E #627F17 #177F68 #34177F
square
#7F172E #627F17 #177F68 #34177F
split-complementary
#7F172E #177F34 #17627F
monochromatic
#1A0509 #4B0E1B #7F172E #B32041 #DB365A
Accessibility & contrast
On white
10.17
#7F172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F172E
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F172E | 1.00 | 10.17 | 2.06 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35342E
Deuteranopia (green-blind)
#4F492B
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f172e; /* rgb */ color: rgb(127, 23, 46); /* oklch */ color: oklch(39.4% 0.138 14.5);
Tailwind
colors: {
custom: {
50: '#ab6066',
500: '#7f172e',
950: '#000000',
},
}SCSS
$custom: #7f172e; $custom-light: #ab6066; $custom-dark: #000000;
JSON
{
"hex": "#7f172e",
"rgb": {
"r": 127,
"g": 23,
"b": 46
},
"hsl": {
"h": 346.731,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.39363,
"c": 0.1376,
"h": 14.5
},
"luminance": 0.05322
}Semantic roles & 50–950 ramp
primary
#7F172E
secondary
#3EB49A
accent
#ECC53C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A