#9D2F81#9D2F81
#9D2F81 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.170 H 339.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2F81 |
|---|---|
| RGB | rgb(157, 47, 129) |
| HSL | hsl(315, 54%, 40%) |
| HSV | hsv(315, 70%, 62%) |
| CMYK | cmyk(0%, 70.1%, 17.8%, 38.4%) |
| CIE-LAB | lab(39.22, 53.74, -21.89) |
| CIE-LCH | lch(39.22, 58.02, 337.84°) |
| OKLab | oklab(49.85% 0.1597 -0.0591) |
| OKLCH | oklch(49.85% 0.17 339.7) |
| XYZ | xyz(18.8841, 10.7879, 21.8523) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.19
Light Eggplant
#894585
ΔE00 5.65
Red Violet
#9E0168
ΔE00 6.14
Barney Purple
#A00498
ΔE00 6.34
Ugly Purple
#A442A0
ΔE00 6.67
Bruise
#7E4071
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2F81 #2F9D4B
analogous
#822F9D #9D2F81 #9D2F4A
triadic
#9D2F81 #819D2F #2F819D
tetradic
#9D2F81 #9D822F #2F9D4B #2F4A9D
square
#9D2F81 #9D822F #2F9D4B #2F4A9D
split-complementary
#9D2F81 #4A9D2F #2F9D82
monochromatic
#3F1334 #6E215A #9D2F81 #C743A5 #D572BB
Accessibility & contrast
On white
6.65
#9D2F81 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#9D2F81 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2F81
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2F81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2F81 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365183
Deuteranopia (green-blind)
#58637E
Tritanopia (blue-blind)
#A63254
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9d2f81; /* rgb */ color: rgb(157, 47, 129); /* oklch */ color: oklch(49.9% 0.170 339.7);
Tailwind
colors: {
custom: {
50: '#bd71a5',
500: '#9d2f81',
950: '#000000',
},
}SCSS
$custom: #9d2f81; $custom-light: #bd71a5; $custom-dark: #000000;
JSON
{
"hex": "#9d2f81",
"rgb": {
"r": 157,
"g": 47,
"b": 129
},
"hsl": {
"h": 315.273,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.4985,
"c": 0.17031,
"h": 339.7
},
"luminance": 0.10786
}Semantic roles & 50–950 ramp
primary
#9D2F81
secondary
#6BBC80
accent
#DD704B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F