#9F2B7D#9F2B7D
#9F2B7D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.174 H 342.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2B7D |
|---|---|
| RGB | rgb(159, 43, 125) |
| HSL | hsl(318, 57%, 40%) |
| HSV | hsv(318, 73%, 62%) |
| CMYK | cmyk(0%, 73%, 21.4%, 37.6%) |
| CIE-LAB | lab(38.87, 55.16, -19.93) |
| CIE-LCH | lch(38.87, 58.66, 340.13°) |
| OKLab | oklab(49.6% 0.1655 -0.0535) |
| OKLCH | oklch(49.6% 0.174 342.1) |
| XYZ | xyz(18.8642, 10.5812, 20.4470) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.12
Red Violet
#9E0168
ΔE00 5.16
Light Eggplant
#894585
ΔE00 6.53
Barney Purple
#A00498
ΔE00 6.87
Magenta (survey)
#C20078
ΔE00 7.03
Bruise
#7E4071
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2B7D #2B9F4D
analogous
#872B9F #9F2B7D #9F2B43
triadic
#9F2B7D #7D9F2B #2B7D9F
tetradic
#9F2B7D #9F872B #2B9F4D #2B439F
square
#9F2B7D #9F872B #2B9F4D #2B439F
split-complementary
#9F2B7D #439F2B #2B9F87
monochromatic
#3F1131 #6F1E57 #9F2B7D #CA3DA1 #D76DB8
Accessibility & contrast
On white
6.74
#9F2B7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9F2B7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2B7D
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2B7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2B7D | 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)
#354F7F
Deuteranopia (green-blind)
#5A627A
Tritanopia (blue-blind)
#A92C50
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9f2b7d; /* rgb */ color: rgb(159, 43, 125); /* oklch */ color: oklch(49.6% 0.174 342.1);
Tailwind
colors: {
custom: {
50: '#bf6fa3',
500: '#9f2b7d',
950: '#000000',
},
}SCSS
$custom: #9f2b7d; $custom-light: #bf6fa3; $custom-dark: #000000;
JSON
{
"hex": "#9f2b7d",
"rgb": {
"r": 159,
"g": 43,
"b": 125
},
"hsl": {
"h": 317.586,
"s": 57.426,
"l": 39.608
},
"oklch": {
"l": 0.496,
"c": 0.17396,
"h": 342.1
},
"luminance": 0.10579
}Semantic roles & 50–950 ramp
primary
#9F2B7D
secondary
#67BE81
accent
#E17447
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F