#7E174A#7E174A
#7E174A is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.143 H 356.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7E174A |
|---|---|
| RGB | rgb(126, 23, 74) |
| HSL | hsl(330, 69%, 29%) |
| HSV | hsv(330, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 41.3%, 50.6%) |
| CIE-LAB | lab(28.23, 46.54, -3.91) |
| CIE-LCH | lch(28.23, 46.71, 355.20°) |
| OKLab | oklab(40.02% 0.1432 -0.0097) |
| OKLCH | oklch(40.02% 0.143 356.1) |
| XYZ | xyz(10.1473, 5.5441, 7.0130) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.60
Wine (survey)
#80013F
ΔE00 3.16
Reddish Purple
#910951
ΔE00 3.59
Mulberry
#920A4E
ΔE00 3.89
Merlot
#730039
ΔE00 4.15
Dark Magenta
#960056
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E174A #177E4B
analogous
#7E177E #7E174A #7E1717
triadic
#7E174A #4A7E17 #174A7E
tetradic
#7E174A #7E7E17 #177E4B #17177E
square
#7E174A #7E7E17 #177E4B #17177E
split-complementary
#7E174A #177E17 #177E7E
monochromatic
#1A050F #4A0E2C #7E174A #B22068 #DA3587
Accessibility & contrast
On white
9.96
#7E174A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7E174A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E174A
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E174A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E174A | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D364B
Deuteranopia (green-blind)
#4A4948
Tritanopia (blue-blind)
#89062E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e174a; /* rgb */ color: rgb(126, 23, 74); /* oklch */ color: oklch(40.0% 0.143 356.1);
Tailwind
colors: {
custom: {
50: '#a8607c',
500: '#7e174a',
950: '#000000',
},
}SCSS
$custom: #7e174a; $custom-light: #a8607c; $custom-dark: #000000;
JSON
{
"hex": "#7e174a",
"rgb": {
"r": 126,
"g": 23,
"b": 74
},
"hsl": {
"h": 330.291,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.40024,
"c": 0.14349,
"h": 356.1
},
"luminance": 0.05543
}Semantic roles & 50–950 ramp
primary
#7E174A
secondary
#3EB379
accent
#EC953C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B