#7E1D56#7E1D56
#7E1D56 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.143 H 349.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1D56 |
|---|---|
| RGB | rgb(126, 29, 86) |
| HSL | hsl(325, 63%, 30%) |
| HSV | hsv(325, 77%, 49%) |
| CMYK | cmyk(0%, 77%, 31.7%, 50.6%) |
| CIE-LAB | lab(29.38, 46.00, -10.13) |
| CIE-LCH | lch(29.38, 47.10, 347.58°) |
| OKLab | oklab(41.01% 0.1405 -0.0265) |
| OKLCH | oklch(41.01% 0.143 349.3) |
| XYZ | xyz(10.7238, 5.9875, 9.3933) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.32
Red Purple
#820747
ΔE00 4.35
Reddish Purple
#910951
ΔE00 4.75
Dark Magenta
#960056
ΔE00 5.00
Rich Purple
#720058
ΔE00 5.40
Mulberry
#920A4E
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1D56 #1D7E45
analogous
#751D7E #7E1D56 #7E1D26
triadic
#7E1D56 #567E1D #1D567E
tetradic
#7E1D56 #7E751D #1D7E45 #1D267E
square
#7E1D56 #7E751D #1D7E45 #1D267E
split-complementary
#7E1D56 #267E1D #1D7E75
monochromatic
#1B0612 #4C1234 #7E1D56 #B02878 #D34297
Accessibility & contrast
On white
9.56
#7E1D56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7E1D56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1D56
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1D56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1D56 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3A58
Deuteranopia (green-blind)
#494B54
Tritanopia (blue-blind)
#881737
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1d56; /* rgb */ color: rgb(126, 29, 86); /* oklch */ color: oklch(41.0% 0.143 349.3);
Tailwind
colors: {
custom: {
50: '#a76385',
500: '#7e1d56',
950: '#000000',
},
}SCSS
$custom: #7e1d56; $custom-light: #a76385; $custom-dark: #000000;
JSON
{
"hex": "#7e1d56",
"rgb": {
"r": 126,
"g": 29,
"b": 86
},
"hsl": {
"h": 324.742,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.41013,
"c": 0.14293,
"h": 349.3
},
"luminance": 0.05986
}Semantic roles & 50–950 ramp
primary
#7E1D56
secondary
#45B172
accent
#E68642
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C