#7E173E#7E173E
#7E173E is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.139 H 3.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7E173E |
|---|---|
| RGB | rgb(126, 23, 62) |
| HSL | hsl(337, 69%, 29%) |
| HSV | hsv(337, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 50.8%, 50.6%) |
| CIE-LAB | lab(27.84, 45.35, 3.57) |
| CIE-LCH | lch(27.84, 45.49, 4.50°) |
| OKLab | oklab(39.61% 0.1389 0.0096) |
| OKLCH | oklch(39.61% 0.139 3.9) |
| XYZ | xyz(9.7809, 5.3976, 5.0833) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.32
Red Purple
#820747
ΔE00 3.62
Merlot
#730039
ΔE00 3.69
Mulberry
#920A4E
ΔE00 4.80
Bordeaux
#7B002C
ΔE00 4.85
Red Wine
#8C0034
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E173E #177E57
analogous
#7E1772 #7E173E #7E2417
triadic
#7E173E #3E7E17 #173E7E
tetradic
#7E173E #727E17 #177E57 #24177E
square
#7E173E #727E17 #177E57 #24177E
split-complementary
#7E173E #177E24 #17727E
monochromatic
#1A050D #4A0E25 #7E173E #B22057 #DA3574
Accessibility & contrast
On white
10.10
#7E173E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7E173E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E173E
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E173E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E173E | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31353F
Deuteranopia (green-blind)
#4C493C
Tritanopia (blue-blind)
#8A0028
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e173e; /* rgb */ color: rgb(126, 23, 62); /* oklch */ color: oklch(39.6% 0.139 3.9);
Tailwind
colors: {
custom: {
50: '#a96073',
500: '#7e173e',
950: '#000000',
},
}SCSS
$custom: #7e173e; $custom-light: #a96073; $custom-dark: #000000;
JSON
{
"hex": "#7e173e",
"rgb": {
"r": 126,
"g": 23,
"b": 62
},
"hsl": {
"h": 337.282,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.39607,
"c": 0.13925,
"h": 3.9
},
"luminance": 0.05396
}Semantic roles & 50–950 ramp
primary
#7E173E
secondary
#3EB387
accent
#ECA93C
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110508
muted
#807A7B