#7E174E#7E174E
#7E174E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.145 H 353.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7E174E |
|---|---|
| RGB | rgb(126, 23, 78) |
| HSL | hsl(328, 69%, 29%) |
| HSV | hsv(328, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 38.1%, 50.6%) |
| CIE-LAB | lab(28.38, 46.98, -6.35) |
| CIE-LCH | lch(28.38, 47.41, 352.30°) |
| OKLab | oklab(40.18% 0.1444 -0.0162) |
| OKLCH | oklch(40.18% 0.145 353.6) |
| XYZ | xyz(10.2864, 5.5998, 7.7454) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.36
Reddish Purple
#910951
ΔE00 3.75
Velvet
#750851
ΔE00 3.86
Wine (survey)
#80013F
ΔE00 4.21
Mulberry
#920A4E
ΔE00 4.34
Dark Magenta
#960056
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E174E #177E47
analogous
#7B177E #7E174E #7E171B
triadic
#7E174E #4E7E17 #174E7E
tetradic
#7E174E #7E7B17 #177E47 #171B7E
square
#7E174E #7E7B17 #177E47 #171B7E
split-complementary
#7E174E #1B7E17 #177E7B
monochromatic
#1A0510 #4A0E2E #7E174E #B2206E #DA358D
Accessibility & contrast
On white
9.91
#7E174E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7E174E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E174E
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E174E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E174E | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C374F
Deuteranopia (green-blind)
#494A4C
Tritanopia (blue-blind)
#880930
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e174e; /* rgb */ color: rgb(126, 23, 78); /* oklch */ color: oklch(40.2% 0.145 353.6);
Tailwind
colors: {
custom: {
50: '#a8617f',
500: '#7e174e',
950: '#000000',
},
}SCSS
$custom: #7e174e; $custom-light: #a8617f; $custom-dark: #000000;
JSON
{
"hex": "#7e174e",
"rgb": {
"r": 126,
"g": 23,
"b": 78
},
"hsl": {
"h": 327.961,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.40179,
"c": 0.1453,
"h": 353.6
},
"luminance": 0.05598
}Semantic roles & 50–950 ramp
primary
#7E174E
secondary
#3EB374
accent
#EC8E3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C