#7E173B#7E173B
#7E173B is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.138 H 5.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7E173B |
|---|---|
| RGB | rgb(126, 23, 59) |
| HSL | hsl(339, 69%, 29%) |
| HSV | hsv(339, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 53.2%, 50.6%) |
| CIE-LAB | lab(27.75, 45.08, 5.47) |
| CIE-LCH | lch(27.75, 45.41, 6.91°) |
| OKLab | oklab(39.52% 0.1378 0.0143) |
| OKLCH | oklch(39.52% 0.138 5.9) |
| XYZ | xyz(9.7009, 5.3655, 4.6617) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.06
Bordeaux
#7B002C
ΔE00 3.95
Red Wine
#8C0034
ΔE00 4.12
Merlot
#730039
ΔE00 4.23
Red Purple
#820747
ΔE00 4.59
Purple Red
#990147
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E173B #177E5A
analogous
#7E176F #7E173B #7E2617
triadic
#7E173B #3B7E17 #173B7E
tetradic
#7E173B #6F7E17 #177E5A #26177E
square
#7E173B #6F7E17 #177E5A #26177E
split-complementary
#7E173B #177E26 #176F7E
monochromatic
#1A050C #4A0E23 #7E173B #B22053 #DA356F
Accessibility & contrast
On white
10.13
#7E173B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7E173B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E173B
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E173B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E173B | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#32343C
Deuteranopia (green-blind)
#4D4939
Tritanopia (blue-blind)
#8A0027
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e173b; /* rgb */ color: rgb(126, 23, 59); /* oklch */ color: oklch(39.5% 0.138 5.9);
Tailwind
colors: {
custom: {
50: '#a96070',
500: '#7e173b',
950: '#000000',
},
}SCSS
$custom: #7e173b; $custom-light: #a96070; $custom-dark: #000000;
JSON
{
"hex": "#7e173b",
"rgb": {
"r": 126,
"g": 23,
"b": 59
},
"hsl": {
"h": 339.029,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.39515,
"c": 0.13849,
"h": 5.9
},
"luminance": 0.05364
}Semantic roles & 50–950 ramp
primary
#7E173B
secondary
#3EB38A
accent
#ECAE3C
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A