#7E174B#7E174B
#7E174B is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.144 H 355.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7E174B |
|---|---|
| RGB | rgb(126, 23, 75) |
| HSL | hsl(330, 69%, 29%) |
| HSV | hsv(330, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 40.5%, 50.6%) |
| CIE-LAB | lab(28.27, 46.65, -4.52) |
| CIE-LCH | lch(28.27, 46.87, 354.46°) |
| OKLab | oklab(40.06% 0.1435 -0.0113) |
| OKLCH | oklch(40.06% 0.144 355.5) |
| XYZ | xyz(10.1813, 5.5577, 7.1919) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.74
Wine (survey)
#80013F
ΔE00 3.42
Reddish Purple
#910951
ΔE00 3.59
Mulberry
#920A4E
ΔE00 3.98
Merlot
#730039
ΔE00 4.34
Dark Magenta
#960056
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E174B #177E4A
analogous
#7E177E #7E174B #7E1717
triadic
#7E174B #4B7E17 #174B7E
tetradic
#7E174B #7E7E17 #177E4A #17177E
square
#7E174B #7E7E17 #177E4A #17177E
split-complementary
#7E174B #177E17 #177E7E
monochromatic
#1A050F #4A0E2C #7E174B #B2206A #DA3589
Accessibility & contrast
On white
9.95
#7E174B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7E174B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E174B
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E174B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E174B | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D374C
Deuteranopia (green-blind)
#4A4949
Tritanopia (blue-blind)
#89072F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e174b; /* rgb */ color: rgb(126, 23, 75); /* oklch */ color: oklch(40.1% 0.144 355.5);
Tailwind
colors: {
custom: {
50: '#a8607d',
500: '#7e174b',
950: '#000000',
},
}SCSS
$custom: #7e174b; $custom-light: #a8607d; $custom-dark: #000000;
JSON
{
"hex": "#7e174b",
"rgb": {
"r": 126,
"g": 23,
"b": 75
},
"hsl": {
"h": 329.709,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.40062,
"c": 0.14393,
"h": 355.5
},
"luminance": 0.05556
}Semantic roles & 50–950 ramp
primary
#7E174B
secondary
#3EB378
accent
#EC933C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B