#7E2A5B#7E2A5B
#7E2A5B is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.128 H 347.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A5B |
|---|---|
| RGB | rgb(126, 42, 91) |
| HSL | hsl(325, 50%, 33%) |
| HSV | hsv(325, 67%, 49%) |
| CMYK | cmyk(0%, 66.7%, 27.8%, 50.6%) |
| CIE-LAB | lab(31.46, 41.45, -10.24) |
| CIE-LCH | lch(31.46, 42.69, 346.12°) |
| OKLab | oklab(42.6% 0.1256 -0.0269) |
| OKLCH | oklch(42.6% 0.128 347.9) |
| XYZ | xyz(11.3209, 6.8480, 10.6211) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 5.23
Grape
#6C3461
ΔE00 5.39
Reddish Purple
#910951
ΔE00 5.78
Red Purple
#820747
ΔE00 5.94
Dark Magenta
#960056
ΔE00 5.98
Bruise
#7E4071
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A5B #2A7E4D
analogous
#772A7E #7E2A5B #7E2A31
triadic
#7E2A5B #5B7E2A #2A5B7E
tetradic
#7E2A5B #7E772A #2A7E4D #2A317E
square
#7E2A5B #7E772A #2A7E4D #2A317E
split-complementary
#7E2A5B #317E2A #2A7E77
monochromatic
#220B19 #501B3A #7E2A5B #AC397C #C85A9A
Accessibility & contrast
On white
8.86
#7E2A5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#7E2A5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A5B
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A5B | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34415C
Deuteranopia (green-blind)
#4C4F59
Tritanopia (blue-blind)
#87273E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e2a5b; /* rgb */ color: rgb(126, 42, 91); /* oklch */ color: oklch(42.6% 0.128 347.9);
Tailwind
colors: {
custom: {
50: '#a66989',
500: '#7e2a5b',
950: '#000000',
},
}SCSS
$custom: #7e2a5b; $custom-light: #a66989; $custom-dark: #000000;
JSON
{
"hex": "#7e2a5b",
"rgb": {
"r": 126,
"g": 42,
"b": 91
},
"hsl": {
"h": 325,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.42602,
"c": 0.12841,
"h": 347.9
},
"luminance": 0.06847
}Semantic roles & 50–950 ramp
primary
#7E2A5B
secondary
#56AE7B
accent
#DA884E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070B
muted
#7F7A7C