#7E2A56#7E2A56
#7E2A56 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.4% C 0.126 H 351.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A56 |
|---|---|
| RGB | rgb(126, 42, 86) |
| HSL | hsl(329, 50%, 33%) |
| HSV | hsv(329, 67%, 49%) |
| CMYK | cmyk(0%, 66.7%, 31.7%, 50.6%) |
| CIE-LAB | lab(31.26, 40.76, -7.29) |
| CIE-LCH | lch(31.26, 41.41, 349.87°) |
| OKLab | oklab(42.4% 0.1241 -0.0189) |
| OKLCH | oklch(42.4% 0.126 351.4) |
| XYZ | xyz(11.1124, 6.7646, 9.5228) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.06
Reddish Purple
#910951
ΔE00 5.13
Dark Magenta
#960056
ΔE00 5.63
Mulberry
#920A4E
ΔE00 5.64
Velvet
#750851
ΔE00 5.65
Grape
#6C3461
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A56 #2A7E52
analogous
#7C2A7E #7E2A56 #7E2A2C
triadic
#7E2A56 #567E2A #2A567E
tetradic
#7E2A56 #7E7C2A #2A7E52 #2A2C7E
square
#7E2A56 #7E7C2A #2A7E52 #2A2C7E
split-complementary
#7E2A56 #2C7E2A #2A7E7C
monochromatic
#220B17 #501B37 #7E2A56 #AC3975 #C85A94
Accessibility & contrast
On white
8.93
#7E2A56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#7E2A56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A56
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A56 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364057
Deuteranopia (green-blind)
#4E4F54
Tritanopia (blue-blind)
#87253C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e2a56; /* rgb */ color: rgb(126, 42, 86); /* oklch */ color: oklch(42.4% 0.126 351.4);
Tailwind
colors: {
custom: {
50: '#a76985',
500: '#7e2a56',
950: '#000000',
},
}SCSS
$custom: #7e2a56; $custom-light: #a76985; $custom-dark: #000000;
JSON
{
"hex": "#7e2a56",
"rgb": {
"r": 126,
"g": 42,
"b": 86
},
"hsl": {
"h": 328.571,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.42396,
"c": 0.12552,
"h": 351.4
},
"luminance": 0.06763
}Semantic roles & 50–950 ramp
primary
#7E2A56
secondary
#56AE80
accent
#DA914E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C