#9E2D72#9E2D72
#9E2D72 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.164 H 347.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2D72 |
|---|---|
| RGB | rgb(158, 45, 114) |
| HSL | hsl(323, 56%, 40%) |
| HSV | hsv(323, 72%, 62%) |
| CMYK | cmyk(0%, 71.5%, 27.8%, 38%) |
| CIE-LAB | lab(38.49, 52.69, -13.68) |
| CIE-LCH | lch(38.49, 54.44, 345.45°) |
| OKLab | oklab(49.14% 0.16 -0.0361) |
| OKLCH | oklch(49.14% 0.164 347.3) |
| XYZ | xyz(18.0770, 10.3627, 16.9645) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.16
Deep Magenta
#A0025C
ΔE00 5.61
Dark Fuchsia
#9D0759
ΔE00 6.03
Magenta (survey)
#C20078
ΔE00 6.37
Dark Magenta
#960056
ΔE00 6.72
Bruise
#7E4071
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2D72 #2D9E59
analogous
#922D9E #9E2D72 #9E2D39
triadic
#9E2D72 #729E2D #2D729E
tetradic
#9E2D72 #9E922D #2D9E59 #2D399E
square
#9E2D72 #9E922D #2D9E59 #2D399E
split-complementary
#9E2D72 #399E2D #2D9E92
monochromatic
#3F122D #6E1F50 #9E2D72 #C94093 #D66FAE
Accessibility & contrast
On white
6.84
#9E2D72 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#9E2D72 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2D72
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2D72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2D72 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4E74
Deuteranopia (green-blind)
#5D626F
Tritanopia (blue-blind)
#A9294B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9e2d72; /* rgb */ color: rgb(158, 45, 114); /* oklch */ color: oklch(49.1% 0.164 347.3);
Tailwind
colors: {
custom: {
50: '#be709a',
500: '#9e2d72',
950: '#000000',
},
}SCSS
$custom: #9e2d72; $custom-light: #be709a; $custom-dark: #000000;
JSON
{
"hex": "#9e2d72",
"rgb": {
"r": 158,
"g": 45,
"b": 114
},
"hsl": {
"h": 323.363,
"s": 55.665,
"l": 39.804
},
"oklch": {
"l": 0.49138,
"c": 0.16403,
"h": 347.3
},
"luminance": 0.10361
}Semantic roles & 50–950 ramp
primary
#9E2D72
secondary
#69BD8A
accent
#DF8349
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E