#9E2D7B#9E2D7B
#9E2D7B is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.170 H 342.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2D7B |
|---|---|
| RGB | rgb(158, 45, 123) |
| HSL | hsl(319, 56%, 40%) |
| HSV | hsv(319, 72%, 62%) |
| CMYK | cmyk(0%, 71.5%, 22.2%, 38%) |
| CIE-LAB | lab(38.86, 53.90, -18.72) |
| CIE-LCH | lch(38.86, 57.06, 340.85°) |
| OKLab | oklab(49.53% 0.162 -0.0501) |
| OKLCH | oklch(49.53% 0.17 342.8) |
| XYZ | xyz(18.6147, 10.5778, 19.7964) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.04
Warm Purple
#952E8F
ΔE00 5.51
Light Eggplant
#894585
ΔE00 6.47
Magenta (survey)
#C20078
ΔE00 6.99
Bruise
#7E4071
ΔE00 7.07
Deep Magenta
#A0025C
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2D7B #2D9E50
analogous
#892D9E #9E2D7B #9E2D43
triadic
#9E2D7B #7B9E2D #2D7B9E
tetradic
#9E2D7B #9E892D #2D9E50 #2D439E
square
#9E2D7B #9E892D #2D9E50 #2D439E
split-complementary
#9E2D7B #439E2D #2D9E89
monochromatic
#3F1231 #6E1F56 #9E2D7B #C9409E #D66FB6
Accessibility & contrast
On white
6.74
#9E2D7B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9E2D7B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2D7B
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2D7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2D7B | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38507D
Deuteranopia (green-blind)
#5A6278
Tritanopia (blue-blind)
#A82E50
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9e2d7b; /* rgb */ color: rgb(158, 45, 123); /* oklch */ color: oklch(49.5% 0.170 342.8);
Tailwind
colors: {
custom: {
50: '#be70a1',
500: '#9e2d7b',
950: '#000000',
},
}SCSS
$custom: #9e2d7b; $custom-light: #be70a1; $custom-dark: #000000;
JSON
{
"hex": "#9e2d7b",
"rgb": {
"r": 158,
"g": 45,
"b": 123
},
"hsl": {
"h": 318.584,
"s": 55.665,
"l": 39.804
},
"oklch": {
"l": 0.49533,
"c": 0.16953,
"h": 342.8
},
"luminance": 0.10576
}Semantic roles & 50–950 ramp
primary
#9E2D7B
secondary
#69BD83
accent
#DF7749
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E