#7E2A61#7E2A61
#7E2A61 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 42.9% C 0.132 H 343.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A61 |
|---|---|
| RGB | rgb(126, 42, 97) |
| HSL | hsl(321, 50%, 33%) |
| HSV | hsv(321, 67%, 49%) |
| CMYK | cmyk(0%, 66.7%, 23%, 50.6%) |
| CIE-LAB | lab(31.71, 42.32, -13.74) |
| CIE-LCH | lch(31.71, 44.49, 342.01°) |
| OKLab | oklab(42.86% 0.1271 -0.0366) |
| OKLCH | oklch(42.86% 0.132 343.9) |
| XYZ | xyz(11.5902, 6.9557, 12.0391) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.67
Velvet
#750851
ΔE00 5.28
Bruise
#7E4071
ΔE00 5.53
Rich Purple
#720058
ΔE00 6.23
Red Violet
#9E0168
ΔE00 6.37
Dark Magenta
#960056
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A61 #2A7E47
analogous
#712A7E #7E2A61 #7E2A37
triadic
#7E2A61 #617E2A #2A617E
tetradic
#7E2A61 #7E712A #2A7E47 #2A377E
square
#7E2A61 #7E712A #2A7E47 #2A377E
split-complementary
#7E2A61 #377E2A #2A7E71
monochromatic
#220B1A #501B3E #7E2A61 #AC3984 #C85AA2
Accessibility & contrast
On white
8.78
#7E2A61 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#7E2A61 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A61
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A61 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A61 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324263
Deuteranopia (green-blind)
#4A505F
Tritanopia (blue-blind)
#862A41
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e2a61; /* rgb */ color: rgb(126, 42, 97); /* oklch */ color: oklch(42.9% 0.132 343.9);
Tailwind
colors: {
custom: {
50: '#a66a8e',
500: '#7e2a61',
950: '#000000',
},
}SCSS
$custom: #7e2a61; $custom-light: #a66a8e; $custom-dark: #000000;
JSON
{
"hex": "#7e2a61",
"rgb": {
"r": 126,
"g": 42,
"b": 97
},
"hsl": {
"h": 320.714,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.42865,
"c": 0.13227,
"h": 343.9
},
"luminance": 0.06955
}Semantic roles & 50–950 ramp
primary
#7E2A61
secondary
#56AE74
accent
#DA7E4E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D