#9E2D7C#9E2D7C
#9E2D7C is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.170 H 342.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2D7C |
|---|---|
| RGB | rgb(158, 45, 124) |
| HSL | hsl(318, 56%, 40%) |
| HSV | hsv(318, 72%, 62%) |
| CMYK | cmyk(0%, 71.5%, 21.5%, 38%) |
| CIE-LAB | lab(38.90, 54.04, -19.27) |
| CIE-LCH | lch(38.90, 57.37, 340.37°) |
| OKLab | oklab(49.58% 0.1621 -0.0516) |
| OKLCH | oklch(49.58% 0.17 342.3) |
| XYZ | xyz(18.6776, 10.6030, 20.1278) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.18
Warm Purple
#952E8F
ΔE00 5.29
Light Eggplant
#894585
ΔE00 6.37
Bruise
#7E4071
ΔE00 7.08
Magenta (survey)
#C20078
ΔE00 7.09
Barney Purple
#A00498
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2D7C #2D9E4F
analogous
#882D9E #9E2D7C #9E2D44
triadic
#9E2D7C #7C9E2D #2D7C9E
tetradic
#9E2D7C #9E882D #2D9E4F #2D449E
square
#9E2D7C #9E882D #2D9E4F #2D449E
split-complementary
#9E2D7C #449E2D #2D9E88
monochromatic
#3F1231 #6E1F57 #9E2D7C #C9409F #D66FB7
Accessibility & contrast
On white
6.73
#9E2D7C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9E2D7C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2D7C
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2D7C | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37507E
Deuteranopia (green-blind)
#5A6279
Tritanopia (blue-blind)
#A82E50
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e2d7c; /* rgb */ color: rgb(158, 45, 124); /* oklch */ color: oklch(49.6% 0.170 342.3);
Tailwind
colors: {
custom: {
50: '#be70a2',
500: '#9e2d7c',
950: '#000000',
},
}SCSS
$custom: #9e2d7c; $custom-light: #be70a2; $custom-dark: #000000;
JSON
{
"hex": "#9e2d7c",
"rgb": {
"r": 158,
"g": 45,
"b": 124
},
"hsl": {
"h": 318.053,
"s": 55.665,
"l": 39.804
},
"oklch": {
"l": 0.49579,
"c": 0.17018,
"h": 342.3
},
"luminance": 0.10601
}Semantic roles & 50–950 ramp
primary
#9E2D7C
secondary
#69BD83
accent
#DF7649
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E