#7F172D#7F172D
#7F172D is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.138 H 15.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7F172D |
|---|---|
| RGB | rgb(127, 23, 45) |
| HSL | hsl(347, 69%, 29%) |
| HSV | hsv(347, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 64.6%, 50.2%) |
| CIE-LAB | lab(27.62, 44.31, 14.75) |
| CIE-LCH | lch(27.62, 46.70, 18.41°) |
| OKLab | oklab(39.34% 0.1328 0.0358) |
| OKLCH | oklch(39.34% 0.138 15.1) |
| XYZ | xyz(9.5335, 5.3157, 3.0062) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.59
Bordeaux
#7B002C
ΔE00 3.18
Burgundy
#800020
ΔE00 3.57
Red Wine
#8C0034
ΔE00 3.67
Wine
#722F37
ΔE00 5.50
Claret
#680018
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F172D #177F69
analogous
#7F1761 #7F172D #7F3517
triadic
#7F172D #2D7F17 #172D7F
tetradic
#7F172D #617F17 #177F69 #35177F
square
#7F172D #617F17 #177F69 #35177F
split-complementary
#7F172D #177F35 #17617F
monochromatic
#1A0509 #4B0E1B #7F172D #B3203F #DB3659
Accessibility & contrast
On white
10.18
#7F172D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F172D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F172D
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F172D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F172D | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35332D
Deuteranopia (green-blind)
#50492A
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f172d; /* rgb */ color: rgb(127, 23, 45); /* oklch */ color: oklch(39.3% 0.138 15.1);
Tailwind
colors: {
custom: {
50: '#ab6065',
500: '#7f172d',
950: '#000000',
},
}SCSS
$custom: #7f172d; $custom-light: #ab6065; $custom-dark: #000000;
JSON
{
"hex": "#7f172d",
"rgb": {
"r": 127,
"g": 23,
"b": 45
},
"hsl": {
"h": 347.308,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.3934,
"c": 0.13755,
"h": 15.1
},
"luminance": 0.05314
}Semantic roles & 50–950 ramp
primary
#7F172D
secondary
#3EB49B
accent
#ECC73C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A