#7E173A#7E173A
#7E173A is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.138 H 6.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7E173A |
|---|---|
| RGB | rgb(126, 23, 58) |
| HSL | hsl(340, 69%, 29%) |
| HSV | hsv(340, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 54%, 50.6%) |
| CIE-LAB | lab(27.72, 44.99, 6.10) |
| CIE-LCH | lch(27.72, 45.41, 7.72°) |
| OKLab | oklab(39.49% 0.1374 0.0158) |
| OKLCH | oklch(39.49% 0.138 6.6) |
| XYZ | xyz(9.6752, 5.3553, 4.5264) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.36
Bordeaux
#7B002C
ΔE00 3.67
Red Wine
#8C0034
ΔE00 3.87
Merlot
#730039
ΔE00 4.46
Red Purple
#820747
ΔE00 4.93
Purple Red
#990147
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E173A #177E5B
analogous
#7E176E #7E173A #7E2817
triadic
#7E173A #3A7E17 #173A7E
tetradic
#7E173A #6E7E17 #177E5B #28177E
square
#7E173A #6E7E17 #177E5B #28177E
split-complementary
#7E173A #177E28 #176E7E
monochromatic
#1A050C #4A0E22 #7E173A #B22052 #DA356D
Accessibility & contrast
On white
10.14
#7E173A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7E173A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E173A
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E173A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E173A | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#32343B
Deuteranopia (green-blind)
#4D4938
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e173a; /* rgb */ color: rgb(126, 23, 58); /* oklch */ color: oklch(39.5% 0.138 6.6);
Tailwind
colors: {
custom: {
50: '#a9606f',
500: '#7e173a',
950: '#000000',
},
}SCSS
$custom: #7e173a; $custom-light: #a9606f; $custom-dark: #000000;
JSON
{
"hex": "#7e173a",
"rgb": {
"r": 126,
"g": 23,
"b": 58
},
"hsl": {
"h": 339.612,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.39485,
"c": 0.13827,
"h": 6.6
},
"luminance": 0.05354
}Semantic roles & 50–950 ramp
primary
#7E173A
secondary
#3EB38B
accent
#ECB03C
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A