#7F172C#7F172C
#7F172C is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.138 H 15.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7F172C |
|---|---|
| RGB | rgb(127, 23, 44) |
| HSL | hsl(348, 69%, 29%) |
| HSV | hsv(348, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 65.4%, 50.2%) |
| CIE-LAB | lab(27.60, 44.25, 15.40) |
| CIE-LCH | lch(27.60, 46.85, 19.18°) |
| OKLab | oklab(39.32% 0.1324 0.0372) |
| OKLCH | oklch(39.32% 0.138 15.7) |
| XYZ | xyz(9.5144, 5.3081, 2.9060) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.40
Burgundy
#800020
ΔE00 3.26
Bordeaux
#7B002C
ΔE00 3.44
Red Wine
#8C0034
ΔE00 3.94
Wine
#722F37
ΔE00 5.57
Claret
#680018
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F172C #177F6A
analogous
#7F1760 #7F172C #7F3617
triadic
#7F172C #2C7F17 #172C7F
tetradic
#7F172C #607F17 #177F6A #36177F
square
#7F172C #607F17 #177F6A #36177F
split-complementary
#7F172C #177F36 #17607F
monochromatic
#1A0509 #4B0E1A #7F172C #B3203E #DB3657
Accessibility & contrast
On white
10.19
#7F172C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F172C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F172C
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F172C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F172C | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35332C
Deuteranopia (green-blind)
#504929
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f172c; /* rgb */ color: rgb(127, 23, 44); /* oklch */ color: oklch(39.3% 0.138 15.7);
Tailwind
colors: {
custom: {
50: '#ab6064',
500: '#7f172c',
950: '#000000',
},
}SCSS
$custom: #7f172c; $custom-light: #ab6064; $custom-dark: #000000;
JSON
{
"hex": "#7f172c",
"rgb": {
"r": 127,
"g": 23,
"b": 44
},
"hsl": {
"h": 347.885,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.39318,
"c": 0.13752,
"h": 15.7
},
"luminance": 0.05307
}Semantic roles & 50–950 ramp
primary
#7F172C
secondary
#3EB49C
accent
#ECC93C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A