#9B1D7D#9B1D7D
#9B1D7D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.186 H 340.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1D7D |
|---|---|
| RGB | rgb(155, 29, 125) |
| HSL | hsl(314, 68%, 36%) |
| HSV | hsv(314, 81%, 61%) |
| CMYK | cmyk(0%, 81.3%, 19.4%, 39.2%) |
| CIE-LAB | lab(36.61, 58.53, -23.49) |
| CIE-LCH | lch(36.61, 63.07, 338.14°) |
| OKLab | oklab(47.83% 0.175 -0.0635) |
| OKLCH | oklch(47.83% 0.186 340.1) |
| XYZ | xyz(17.6591, 9.3298, 20.2689) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.40
Red Violet
#9E0168
ΔE00 4.80
Barney Purple
#A00498
ΔE00 5.38
Darkmagenta
#8B008B
ΔE00 6.50
Light Eggplant
#894585
ΔE00 7.35
Purple
#800080
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1D7D #1D9B3B
analogous
#7A1D9B #9B1D7D #9B1D3E
triadic
#9B1D7D #7D9B1D #1D7D9B
tetradic
#9B1D7D #9B7A1D #1D9B3B #1D3E9B
square
#9B1D7D #9B7A1D #1D9B3B #1D3E9B
split-complementary
#9B1D7D #3E9B1D #1D9B7A
monochromatic
#340A2A #671353 #9B1D7D #CF27A7 #DF53BE
Accessibility & contrast
On white
7.33
#9B1D7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9B1D7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1D7D
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1D7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1D7D | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28497F
Deuteranopia (green-blind)
#525D7A
Tritanopia (blue-blind)
#A5224C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b1d7d; /* rgb */ color: rgb(155, 29, 125); /* oklch */ color: oklch(47.8% 0.186 340.1);
Tailwind
colors: {
custom: {
50: '#bd69a3',
500: '#9b1d7d',
950: '#000000',
},
}SCSS
$custom: #9b1d7d; $custom-light: #bd69a3; $custom-dark: #000000;
JSON
{
"hex": "#9b1d7d",
"rgb": {
"r": 155,
"g": 29,
"b": 125
},
"hsl": {
"h": 314.286,
"s": 68.478,
"l": 36.078
},
"oklch": {
"l": 0.47834,
"c": 0.18614,
"h": 340.1
},
"luminance": 0.09328
}Semantic roles & 50–950 ramp
primary
#9B1D7D
secondary
#52C26C
accent
#EB663C
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F