#7E2D5C#7E2D5C
#7E2D5C is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.0% C 0.124 H 347.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2D5C |
|---|---|
| RGB | rgb(126, 45, 92) |
| HSL | hsl(325, 47%, 34%) |
| HSV | hsv(325, 64%, 49%) |
| CMYK | cmyk(0%, 64.3%, 27%, 50.6%) |
| CIE-LAB | lab(32.00, 40.21, -10.06) |
| CIE-LCH | lch(32.00, 41.45, 345.95°) |
| OKLab | oklab(43.02% 0.1216 -0.0265) |
| OKLCH | oklch(43.02% 0.124 347.7) |
| XYZ | xyz(11.4748, 7.0862, 10.8866) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 5.17
Velvet
#750851
ΔE00 5.81
Bruise
#7E4071
ΔE00 5.94
Reddish Purple
#910951
ΔE00 6.12
Dark Magenta
#960056
ΔE00 6.33
Red Purple
#820747
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2D5C #2D7E4F
analogous
#772D7E #7E2D5C #7E2D33
triadic
#7E2D5C #5C7E2D #2D5C7E
tetradic
#7E2D5C #7E772D #2D7E4F #2D337E
square
#7E2D5C #7E772D #2D7E4F #2D337E
split-complementary
#7E2D5C #337E2D #2D7E77
monochromatic
#240D1A #511D3B #7E2D5C #AB3D7D #C65F9B
Accessibility & contrast
On white
8.69
#7E2D5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#7E2D5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2D5C
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2D5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2D5C | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36425D
Deuteranopia (green-blind)
#4D505A
Tritanopia (blue-blind)
#872B40
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e2d5c; /* rgb */ color: rgb(126, 45, 92); /* oklch */ color: oklch(43.0% 0.124 347.7);
Tailwind
colors: {
custom: {
50: '#a66b8a',
500: '#7e2d5c',
950: '#000000',
},
}SCSS
$custom: #7e2d5c; $custom-light: #a66b8a; $custom-dark: #000000;
JSON
{
"hex": "#7e2d5c",
"rgb": {
"r": 126,
"g": 45,
"b": 92
},
"hsl": {
"h": 325.185,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.43016,
"c": 0.12445,
"h": 347.7
},
"luminance": 0.07085
}Semantic roles & 50–950 ramp
primary
#7E2D5C
secondary
#5AAC7D
accent
#D78951
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070B
muted
#7F7A7C