#9B1F71#9B1F71
#9B1F71 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.177 H 345.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F71 |
|---|---|
| RGB | rgb(155, 31, 113) |
| HSL | hsl(320, 67%, 36%) |
| HSV | hsv(320, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 27.1%, 39.2%) |
| CIE-LAB | lab(36.26, 56.40, -16.51) |
| CIE-LCH | lch(36.26, 58.77, 343.69°) |
| OKLab | oklab(47.4% 0.1714 -0.0439) |
| OKLCH | oklch(47.4% 0.177 345.6) |
| XYZ | xyz(16.9890, 9.1427, 16.4896) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.59
Deep Magenta
#A0025C
ΔE00 5.27
Dark Fuchsia
#9D0759
ΔE00 5.74
Dark Magenta
#960056
ΔE00 5.96
Warm Purple
#952E8F
ΔE00 6.92
Reddish Purple
#910951
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F71 #1F9B49
analogous
#871F9B #9B1F71 #9B1F33
triadic
#9B1F71 #719B1F #1F719B
tetradic
#9B1F71 #9B871F #1F9B49 #1F339B
square
#9B1F71 #9B871F #1F9B49 #1F339B
split-complementary
#9B1F71 #339B1F #1F9B87
monochromatic
#350B27 #68154C #9B1F71 #CE2996 #DD57B0
Accessibility & contrast
On white
7.43
#9B1F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#9B1F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F71
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F71 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#575D6E
Tritanopia (blue-blind)
#A61C46
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9b1f71; /* rgb */ color: rgb(155, 31, 113); /* oklch */ color: oklch(47.4% 0.177 345.6);
Tailwind
colors: {
custom: {
50: '#bd699a',
500: '#9b1f71',
950: '#000000',
},
}SCSS
$custom: #9b1f71; $custom-light: #bd699a; $custom-dark: #000000;
JSON
{
"hex": "#9b1f71",
"rgb": {
"r": 155,
"g": 31,
"b": 113
},
"hsl": {
"h": 320.323,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.474,
"c": 0.1769,
"h": 345.6
},
"luminance": 0.09141
}Semantic roles & 50–950 ramp
primary
#9B1F71
secondary
#55C179
accent
#EA783E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E