#7E154E#7E154E
#7E154E is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.147 H 353.4°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7E154E |
|---|---|
| RGB | rgb(126, 21, 78) |
| HSL | hsl(327, 71%, 29%) |
| HSV | hsv(327, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 38.1%, 50.6%) |
| CIE-LAB | lab(28.18, 47.56, -6.66) |
| CIE-LCH | lch(28.18, 48.03, 352.03°) |
| OKLab | oklab(40.03% 0.1462 -0.017) |
| OKLCH | oklch(40.03% 0.147 353.4) |
| XYZ | xyz(10.2482, 5.5233, 7.7327) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.36
Velvet
#750851
ΔE00 3.65
Reddish Purple
#910951
ΔE00 3.79
Wine (survey)
#80013F
ΔE00 4.24
Mulberry
#920A4E
ΔE00 4.41
Dark Magenta
#960056
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E154E #157E45
analogous
#7A157E #7E154E #7E1519
triadic
#7E154E #4E7E15 #154E7E
tetradic
#7E154E #7E7A15 #157E45 #15197E
square
#7E154E #7E7A15 #157E45 #15197E
split-complementary
#7E154E #197E15 #157E7A
monochromatic
#1A0410 #4A0C2E #7E154E #B21E6E #DD318E
Accessibility & contrast
On white
9.98
#7E154E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E154E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E154E
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E154E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E154E | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B364F
Deuteranopia (green-blind)
#49494C
Tritanopia (blue-blind)
#880630
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e154e; /* rgb */ color: rgb(126, 21, 78); /* oklch */ color: oklch(40.0% 0.147 353.4);
Tailwind
colors: {
custom: {
50: '#a8607f',
500: '#7e154e',
950: '#000000',
},
}SCSS
$custom: #7e154e; $custom-light: #a8607f; $custom-dark: #000000;
JSON
{
"hex": "#7e154e",
"rgb": {
"r": 126,
"g": 21,
"b": 78
},
"hsl": {
"h": 327.429,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.40032,
"c": 0.14722,
"h": 353.4
},
"luminance": 0.05522
}Semantic roles & 50–950 ramp
primary
#7E154E
secondary
#3CB372
accent
#EE8C3A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C