#9B1F77#9B1F77
#9B1F77 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.181 H 342.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F77 |
|---|---|
| RGB | rgb(155, 31, 119) |
| HSL | hsl(317, 67%, 36%) |
| HSV | hsv(317, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 23.2%, 39.2%) |
| CIE-LAB | lab(36.52, 57.18, -19.87) |
| CIE-LCH | lch(36.52, 60.53, 340.83°) |
| OKLab | oklab(47.68% 0.1725 -0.0533) |
| OKLCH | oklch(47.68% 0.181 342.8) |
| XYZ | xyz(17.3380, 9.2823, 18.3278) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.64
Warm Purple
#952E8F
ΔE00 5.60
Deep Magenta
#A0025C
ΔE00 6.57
Barney Purple
#A00498
ΔE00 6.77
Dark Fuchsia
#9D0759
ΔE00 7.07
Dark Magenta
#960056
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F77 #1F9B43
analogous
#811F9B #9B1F77 #9B1F39
triadic
#9B1F77 #779B1F #1F779B
tetradic
#9B1F77 #9B811F #1F9B43 #1F399B
square
#9B1F77 #9B811F #1F9B43 #1F399B
split-complementary
#9B1F77 #399B1F #1F9B81
monochromatic
#350B29 #681550 #9B1F77 #CE299E #DD57B6
Accessibility & contrast
On white
7.35
#9B1F77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9B1F77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F77
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F77 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4979
Deuteranopia (green-blind)
#555D74
Tritanopia (blue-blind)
#A52049
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b1f77; /* rgb */ color: rgb(155, 31, 119); /* oklch */ color: oklch(47.7% 0.181 342.8);
Tailwind
colors: {
custom: {
50: '#bd6a9e',
500: '#9b1f77',
950: '#000000',
},
}SCSS
$custom: #9b1f77; $custom-light: #bd6a9e; $custom-dark: #000000;
JSON
{
"hex": "#9b1f77",
"rgb": {
"r": 155,
"g": 31,
"b": 119
},
"hsl": {
"h": 317.419,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.47678,
"c": 0.18051,
"h": 342.8
},
"luminance": 0.0928
}Semantic roles & 50–950 ramp
primary
#9B1F77
secondary
#55C174
accent
#EA703E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E