#9B1D7E#9B1D7E
#9B1D7E is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.187 H 339.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1D7E |
|---|---|
| RGB | rgb(155, 29, 126) |
| HSL | hsl(314, 68%, 36%) |
| HSV | hsv(314, 81%, 61%) |
| CMYK | cmyk(0%, 81.3%, 18.7%, 39.2%) |
| CIE-LAB | lab(36.66, 58.67, -24.04) |
| CIE-LCH | lch(36.66, 63.40, 337.72°) |
| OKLab | oklab(47.88% 0.1751 -0.0651) |
| OKLCH | oklch(47.88% 0.187 339.6) |
| XYZ | xyz(17.7233, 9.3555, 20.6070) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.21
Red Violet
#9E0168
ΔE00 5.00
Barney Purple
#A00498
ΔE00 5.17
Darkmagenta
#8B008B
ΔE00 6.34
Light Eggplant
#894585
ΔE00 7.29
Purple
#800080
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1D7E #1D9B3A
analogous
#791D9B #9B1D7E #9B1D3F
triadic
#9B1D7E #7E9B1D #1D7E9B
tetradic
#9B1D7E #9B791D #1D9B3A #1D3F9B
square
#9B1D7E #9B791D #1D9B3A #1D3F9B
split-complementary
#9B1D7E #3F9B1D #1D9B79
monochromatic
#340A2A #671354 #9B1D7E #CF27A8 #DF53BF
Accessibility & contrast
On white
7.32
#9B1D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9B1D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1D7E
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1D7E | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#525D7B
Tritanopia (blue-blind)
#A4234D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b1d7e; /* rgb */ color: rgb(155, 29, 126); /* oklch */ color: oklch(47.9% 0.187 339.6);
Tailwind
colors: {
custom: {
50: '#bd69a3',
500: '#9b1d7e',
950: '#000000',
},
}SCSS
$custom: #9b1d7e; $custom-light: #bd69a3; $custom-dark: #000000;
JSON
{
"hex": "#9b1d7e",
"rgb": {
"r": 155,
"g": 29,
"b": 126
},
"hsl": {
"h": 313.81,
"s": 68.478,
"l": 36.078
},
"oklch": {
"l": 0.47884,
"c": 0.18679,
"h": 339.6
},
"luminance": 0.09354
}Semantic roles & 50–950 ramp
primary
#9B1D7E
secondary
#52C26C
accent
#EB653C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F