#9B1F78#9B1F78
#9B1F78 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.181 H 342.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F78 |
|---|---|
| RGB | rgb(155, 31, 120) |
| HSL | hsl(317, 67%, 36%) |
| HSV | hsv(317, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 22.6%, 39.2%) |
| CIE-LAB | lab(36.57, 57.31, -20.43) |
| CIE-LCH | lch(36.57, 60.84, 340.38°) |
| OKLab | oklab(47.73% 0.1726 -0.0549) |
| OKLCH | oklch(47.73% 0.181 342.4) |
| XYZ | xyz(17.3984, 9.3065, 18.6457) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.84
Warm Purple
#952E8F
ΔE00 5.39
Barney Purple
#A00498
ΔE00 6.55
Deep Magenta
#A0025C
ΔE00 6.79
Dark Fuchsia
#9D0759
ΔE00 7.28
Dark Magenta
#960056
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F78 #1F9B42
analogous
#801F9B #9B1F78 #9B1F3A
triadic
#9B1F78 #789B1F #1F789B
tetradic
#9B1F78 #9B801F #1F9B42 #1F3A9B
square
#9B1F78 #9B801F #1F9B42 #1F3A9B
split-complementary
#9B1F78 #3A9B1F #1F9B80
monochromatic
#350B29 #681551 #9B1F78 #CE299F #DD57B7
Accessibility & contrast
On white
7.34
#9B1F78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9B1F78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F78
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F78 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D497A
Deuteranopia (green-blind)
#545D75
Tritanopia (blue-blind)
#A5204A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b1f78; /* rgb */ color: rgb(155, 31, 120); /* oklch */ color: oklch(47.7% 0.181 342.4);
Tailwind
colors: {
custom: {
50: '#bd6a9f',
500: '#9b1f78',
950: '#000000',
},
}SCSS
$custom: #9b1f78; $custom-light: #bd6a9f; $custom-dark: #000000;
JSON
{
"hex": "#9b1f78",
"rgb": {
"r": 155,
"g": 31,
"b": 120
},
"hsl": {
"h": 316.935,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.47726,
"c": 0.18112,
"h": 342.4
},
"luminance": 0.09305
}Semantic roles & 50–950 ramp
primary
#9B1F78
secondary
#55C173
accent
#EA6F3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E