#9F1B82#9F1B82
#9F1B82 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.193 H 339.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1B82 |
|---|---|
| RGB | rgb(159, 27, 130) |
| HSL | hsl(313, 71%, 36%) |
| HSV | hsv(313, 83%, 62%) |
| CMYK | cmyk(0%, 83%, 18.2%, 37.6%) |
| CIE-LAB | lab(37.42, 60.64, -25.28) |
| CIE-LCH | lch(37.42, 65.69, 337.37°) |
| OKLab | oklab(48.63% 0.1808 -0.0685) |
| OKLCH | oklch(48.63% 0.193 339.2) |
| XYZ | xyz(18.7198, 9.7684, 22.0144) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.95
Barney Purple
#A00498
ΔE00 4.63
Red Violet
#9E0168
ΔE00 5.48
Darkmagenta
#8B008B
ΔE00 6.41
Light Eggplant
#894585
ΔE00 7.44
Purple
#800080
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1B82 #1B9F38
analogous
#7A1B9F #9F1B82 #9F1B40
triadic
#9F1B82 #829F1B #1B829F
tetradic
#9F1B82 #9F7A1B #1B9F38 #1B409F
square
#9F1B82 #9F7A1B #1B9F38 #1B409F
split-complementary
#9F1B82 #409F1B #1B9F7A
monochromatic
#36092C #6B1257 #9F1B82 #D324AD #E253C2
Accessibility & contrast
On white
7.11
#9F1B82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9F1B82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1B82
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1B82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1B82 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254B85
Deuteranopia (green-blind)
#535F7F
Tritanopia (blue-blind)
#A9224E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f1b82; /* rgb */ color: rgb(159, 27, 130); /* oklch */ color: oklch(48.6% 0.193 339.2);
Tailwind
colors: {
custom: {
50: '#c069a6',
500: '#9f1b82',
950: '#000000',
},
}SCSS
$custom: #9f1b82; $custom-light: #c069a6; $custom-dark: #000000;
JSON
{
"hex": "#9f1b82",
"rgb": {
"r": 159,
"g": 27,
"b": 130
},
"hsl": {
"h": 313.182,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.48633,
"c": 0.19334,
"h": 339.2
},
"luminance": 0.09767
}Semantic roles & 50–950 ramp
primary
#9F1B82
secondary
#51C56B
accent
#EE623A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F