#7E1A52#7E1A52
#7E1A52 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.144 H 351.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A52 |
|---|---|
| RGB | rgb(126, 26, 82) |
| HSL | hsl(326, 66%, 30%) |
| HSV | hsv(326, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 34.9%, 50.6%) |
| CIE-LAB | lab(28.86, 46.52, -8.28) |
| CIE-LCH | lch(28.86, 47.25, 349.91°) |
| OKLab | oklab(40.58% 0.1426 -0.0214) |
| OKLCH | oklch(40.58% 0.144 351.4) |
| XYZ | xyz(10.4972, 5.7849, 8.5448) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.35
Velvet
#750851
ΔE00 3.42
Reddish Purple
#910951
ΔE00 4.17
Dark Magenta
#960056
ΔE00 4.64
Mulberry
#920A4E
ΔE00 4.90
Wine (survey)
#80013F
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A52 #1A7E46
analogous
#781A7E #7E1A52 #7E1A20
triadic
#7E1A52 #527E1A #1A527E
tetradic
#7E1A52 #7E781A #1A7E46 #1A207E
square
#7E1A52 #7E781A #1A7E46 #1A207E
split-complementary
#7E1A52 #207E1A #1A7E78
monochromatic
#190511 #4B1031 #7E1A52 #B12473 #D73C93
Accessibility & contrast
On white
9.74
#7E1A52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E1A52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A52
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A52 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3953
Deuteranopia (green-blind)
#494A50
Tritanopia (blue-blind)
#881134
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1a52; /* rgb */ color: rgb(126, 26, 82); /* oklch */ color: oklch(40.6% 0.144 351.4);
Tailwind
colors: {
custom: {
50: '#a76282',
500: '#7e1a52',
950: '#000000',
},
}SCSS
$custom: #7e1a52; $custom-light: #a76282; $custom-dark: #000000;
JSON
{
"hex": "#7e1a52",
"rgb": {
"r": 126,
"g": 26,
"b": 82
},
"hsl": {
"h": 326.4,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.40583,
"c": 0.14416,
"h": 351.4
},
"luminance": 0.05784
}Semantic roles & 50–950 ramp
primary
#7E1A52
secondary
#42B273
accent
#E98A3F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C