#7E2A52#7E2A52
#7E2A52 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.2% C 0.123 H 354.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A52 |
|---|---|
| RGB | rgb(126, 42, 82) |
| HSL | hsl(331, 50%, 33%) |
| HSV | hsv(331, 67%, 49%) |
| CMYK | cmyk(0%, 66.7%, 34.9%, 50.6%) |
| CIE-LAB | lab(31.12, 40.24, -4.90) |
| CIE-LCH | lch(31.12, 40.53, 353.06°) |
| OKLab | oklab(42.24% 0.1228 -0.0124) |
| OKLCH | oklch(42.24% 0.123 354.2) |
| XYZ | xyz(10.9557, 6.7019, 8.6977) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.59
Reddish Purple
#910951
ΔE00 4.87
Mulberry
#920A4E
ΔE00 5.16
Dark Magenta
#960056
ΔE00 5.62
Wine (survey)
#80013F
ΔE00 5.86
Velvet
#750851
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A52 #2A7E56
analogous
#7E2A7C #7E2A52 #7E2C2A
triadic
#7E2A52 #527E2A #2A527E
tetradic
#7E2A52 #7C7E2A #2A7E56 #2C2A7E
square
#7E2A52 #7C7E2A #2A7E56 #2C2A7E
split-complementary
#7E2A52 #2A7E2C #2A7C7E
monochromatic
#220B16 #501B34 #7E2A52 #AC3970 #C85A8F
Accessibility & contrast
On white
8.97
#7E2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#7E2A52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A52
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A52 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373F53
Deuteranopia (green-blind)
#4F4F50
Tritanopia (blue-blind)
#88243A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e2a52; /* rgb */ color: rgb(126, 42, 82); /* oklch */ color: oklch(42.2% 0.123 354.2);
Tailwind
colors: {
custom: {
50: '#a76982',
500: '#7e2a52',
950: '#000000',
},
}SCSS
$custom: #7e2a52; $custom-light: #a76982; $custom-dark: #000000;
JSON
{
"hex": "#7e2a52",
"rgb": {
"r": 126,
"g": 42,
"b": 82
},
"hsl": {
"h": 331.429,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.42239,
"c": 0.12346,
"h": 354.2
},
"luminance": 0.06701
}Semantic roles & 50–950 ramp
primary
#7E2A52
secondary
#56AE84
accent
#DA974E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C