#7E2D5B#7E2D5B
#7E2D5B is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.0% C 0.124 H 348.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2D5B |
|---|---|
| RGB | rgb(126, 45, 91) |
| HSL | hsl(326, 47%, 34%) |
| HSV | hsv(326, 64%, 49%) |
| CMYK | cmyk(0%, 64.3%, 27.8%, 50.6%) |
| CIE-LAB | lab(31.96, 40.07, -9.48) |
| CIE-LCH | lch(31.96, 41.17, 346.69°) |
| OKLab | oklab(42.97% 0.1213 -0.0248) |
| OKLCH | oklch(42.97% 0.124 348.4) |
| XYZ | xyz(11.4314, 7.0689, 10.6579) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 5.35
Velvet
#750851
ΔE00 5.86
Reddish Purple
#910951
ΔE00 5.98
Bruise
#7E4071
ΔE00 6.13
Red Purple
#820747
ΔE00 6.20
Dark Magenta
#960056
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2D5B #2D7E50
analogous
#782D7E #7E2D5B #7E2D32
triadic
#7E2D5B #5B7E2D #2D5B7E
tetradic
#7E2D5B #7E782D #2D7E50 #2D327E
square
#7E2D5B #7E782D #2D7E50 #2D327E
split-complementary
#7E2D5B #327E2D #2D7E78
monochromatic
#240D1A #511D3A #7E2D5B #AB3D7C #C65F9A
Accessibility & contrast
On white
8.70
#7E2D5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#7E2D5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2D5B
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2D5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2D5B | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37425C
Deuteranopia (green-blind)
#4E5059
Tritanopia (blue-blind)
#872A40
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e2d5b; /* rgb */ color: rgb(126, 45, 91); /* oklch */ color: oklch(43.0% 0.124 348.4);
Tailwind
colors: {
custom: {
50: '#a66b89',
500: '#7e2d5b',
950: '#000000',
},
}SCSS
$custom: #7e2d5b; $custom-light: #a66b89; $custom-dark: #000000;
JSON
{
"hex": "#7e2d5b",
"rgb": {
"r": 126,
"g": 45,
"b": 91
},
"hsl": {
"h": 325.926,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.42974,
"c": 0.12383,
"h": 348.4
},
"luminance": 0.07068
}Semantic roles & 50–950 ramp
primary
#7E2D5B
secondary
#5AAC7E
accent
#D78B51
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070B
muted
#7F7A7C