#9B1D7F#9B1D7F
#9B1D7F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.187 H 339.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1D7F |
|---|---|
| RGB | rgb(155, 29, 127) |
| HSL | hsl(313, 68%, 36%) |
| HSV | hsv(313, 81%, 61%) |
| CMYK | cmyk(0%, 81.3%, 18.1%, 39.2%) |
| CIE-LAB | lab(36.71, 58.81, -24.58) |
| CIE-LCH | lch(36.71, 63.74, 337.32°) |
| OKLab | oklab(47.94% 0.1752 -0.0666) |
| OKLCH | oklch(47.94% 0.187 339.2) |
| XYZ | xyz(17.7882, 9.3814, 20.9485) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.03
Barney Purple
#A00498
ΔE00 4.97
Red Violet
#9E0168
ΔE00 5.20
Darkmagenta
#8B008B
ΔE00 6.18
Light Eggplant
#894585
ΔE00 7.25
Purple
#800080
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1D7F #1D9B39
analogous
#781D9B #9B1D7F #9B1D40
triadic
#9B1D7F #7F9B1D #1D7F9B
tetradic
#9B1D7F #9B781D #1D9B39 #1D409B
square
#9B1D7F #9B781D #1D9B39 #1D409B
split-complementary
#9B1D7F #409B1D #1D9B78
monochromatic
#340A2B #671355 #9B1D7F #CF27A9 #DF53C0
Accessibility & contrast
On white
7.30
#9B1D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9B1D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1D7F
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1D7F | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264A82
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#A4234D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b1d7f; /* rgb */ color: rgb(155, 29, 127); /* oklch */ color: oklch(47.9% 0.187 339.2);
Tailwind
colors: {
custom: {
50: '#bc69a4',
500: '#9b1d7f',
950: '#000000',
},
}SCSS
$custom: #9b1d7f; $custom-light: #bc69a4; $custom-dark: #000000;
JSON
{
"hex": "#9b1d7f",
"rgb": {
"r": 155,
"g": 29,
"b": 127
},
"hsl": {
"h": 313.333,
"s": 68.478,
"l": 36.078
},
"oklch": {
"l": 0.47935,
"c": 0.18744,
"h": 339.2
},
"luminance": 0.0938
}Semantic roles & 50–950 ramp
primary
#9B1D7F
secondary
#52C26B
accent
#EB633C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F