#9F2F81#9F2F81
#9F2F81 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.172 H 340.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2F81 |
|---|---|
| RGB | rgb(159, 47, 129) |
| HSL | hsl(316, 54%, 40%) |
| HSV | hsv(316, 70%, 62%) |
| CMYK | cmyk(0%, 70.4%, 18.9%, 37.6%) |
| CIE-LAB | lab(39.56, 54.27, -21.33) |
| CIE-LCH | lch(39.56, 58.31, 338.54°) |
| OKLab | oklab(50.17% 0.1618 -0.0574) |
| OKLCH | oklch(50.17% 0.172 340.4) |
| XYZ | xyz(19.2776, 10.9908, 21.8708) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.53
Light Eggplant
#894585
ΔE00 5.89
Red Violet
#9E0168
ΔE00 6.10
Barney Purple
#A00498
ΔE00 6.56
Ugly Purple
#A442A0
ΔE00 6.67
Bruise
#7E4071
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2F81 #2F9F4D
analogous
#852F9F #9F2F81 #9F2F49
triadic
#9F2F81 #819F2F #2F819F
tetradic
#9F2F81 #9F852F #2F9F4D #2F499F
square
#9F2F81 #9F852F #2F9F4D #2F499F
split-complementary
#9F2F81 #499F2F #2F9F85
monochromatic
#411334 #70215B #9F2F81 #C844A4 #D673BB
Accessibility & contrast
On white
6.57
#9F2F81 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#9F2F81 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2F81
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2F81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2F81 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375283
Deuteranopia (green-blind)
#5A647E
Tritanopia (blue-blind)
#A83254
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9f2f81; /* rgb */ color: rgb(159, 47, 129); /* oklch */ color: oklch(50.2% 0.172 340.4);
Tailwind
colors: {
custom: {
50: '#bf71a5',
500: '#9f2f81',
950: '#000000',
},
}SCSS
$custom: #9f2f81; $custom-light: #bf71a5; $custom-dark: #000000;
JSON
{
"hex": "#9f2f81",
"rgb": {
"r": 159,
"g": 47,
"b": 129
},
"hsl": {
"h": 316.071,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.50166,
"c": 0.17167,
"h": 340.4
},
"luminance": 0.10989
}Semantic roles & 50–950 ramp
primary
#9F2F81
secondary
#6DBD82
accent
#DE724A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F