#7E2A62#7E2A62
#7E2A62 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 42.9% C 0.133 H 343.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A62 |
|---|---|
| RGB | rgb(126, 42, 98) |
| HSL | hsl(320, 50%, 33%) |
| HSV | hsv(320, 67%, 49%) |
| CMYK | cmyk(0%, 66.7%, 22.2%, 50.6%) |
| CIE-LAB | lab(31.75, 42.46, -14.32) |
| CIE-LCH | lch(31.75, 44.81, 341.36°) |
| OKLab | oklab(42.91% 0.1273 -0.0382) |
| OKLCH | oklch(42.91% 0.133 343.3) |
| XYZ | xyz(11.6371, 6.9745, 12.2862) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.60
Velvet
#750851
ΔE00 5.34
Bruise
#7E4071
ΔE00 5.43
Rich Purple
#720058
ΔE00 6.17
Red Violet
#9E0168
ΔE00 6.39
Dark Magenta
#960056
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A62 #2A7E46
analogous
#702A7E #7E2A62 #7E2A38
triadic
#7E2A62 #627E2A #2A627E
tetradic
#7E2A62 #7E702A #2A7E46 #2A387E
square
#7E2A62 #7E702A #2A7E46 #2A387E
split-complementary
#7E2A62 #387E2A #2A7E70
monochromatic
#220B1B #501B3E #7E2A62 #AC3986 #C85AA3
Accessibility & contrast
On white
8.77
#7E2A62 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#7E2A62 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A62
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A62 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314264
Deuteranopia (green-blind)
#4A5060
Tritanopia (blue-blind)
#862A42
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e2a62; /* rgb */ color: rgb(126, 42, 98); /* oklch */ color: oklch(42.9% 0.133 343.3);
Tailwind
colors: {
custom: {
50: '#a66a8e',
500: '#7e2a62',
950: '#000000',
},
}SCSS
$custom: #7e2a62; $custom-light: #a66a8e; $custom-dark: #000000;
JSON
{
"hex": "#7e2a62",
"rgb": {
"r": 126,
"g": 42,
"b": 98
},
"hsl": {
"h": 320,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.42911,
"c": 0.13295,
"h": 343.3
},
"luminance": 0.06973
}Semantic roles & 50–950 ramp
primary
#7E2A62
secondary
#56AE73
accent
#DA7D4E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D