#9B1F76#9B1F76
#9B1F76 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.180 H 343.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F76 |
|---|---|
| RGB | rgb(155, 31, 118) |
| HSL | hsl(318, 67%, 36%) |
| HSV | hsv(318, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 23.9%, 39.2%) |
| CIE-LAB | lab(36.48, 57.05, -19.31) |
| CIE-LCH | lch(36.48, 60.23, 341.30°) |
| OKLab | oklab(47.63% 0.1723 -0.0517) |
| OKLCH | oklch(47.63% 0.18 343.3) |
| XYZ | xyz(17.2783, 9.2584, 18.0132) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.45
Warm Purple
#952E8F
ΔE00 5.82
Deep Magenta
#A0025C
ΔE00 6.36
Dark Fuchsia
#9D0759
ΔE00 6.85
Barney Purple
#A00498
ΔE00 6.98
Dark Magenta
#960056
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F76 #1F9B44
analogous
#821F9B #9B1F76 #9B1F38
triadic
#9B1F76 #769B1F #1F769B
tetradic
#9B1F76 #9B821F #1F9B44 #1F389B
square
#9B1F76 #9B821F #1F9B44 #1F389B
split-complementary
#9B1F76 #389B1F #1F9B82
monochromatic
#350B28 #68154F #9B1F76 #CE299D #DD57B5
Accessibility & contrast
On white
7.36
#9B1F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#9B1F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F76
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F76 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4978
Deuteranopia (green-blind)
#555D73
Tritanopia (blue-blind)
#A51F49
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b1f76; /* rgb */ color: rgb(155, 31, 118); /* oklch */ color: oklch(47.6% 0.180 343.3);
Tailwind
colors: {
custom: {
50: '#bd6a9d',
500: '#9b1f76',
950: '#000000',
},
}SCSS
$custom: #9b1f76; $custom-light: #bd6a9d; $custom-dark: #000000;
JSON
{
"hex": "#9b1f76",
"rgb": {
"r": 155,
"g": 31,
"b": 118
},
"hsl": {
"h": 317.903,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.47631,
"c": 0.17989,
"h": 343.3
},
"luminance": 0.09257
}Semantic roles & 50–950 ramp
primary
#9B1F76
secondary
#55C175
accent
#EA713E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E