#9B1F75#9B1F75
#9B1F75 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.179 H 343.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F75 |
|---|---|
| RGB | rgb(155, 31, 117) |
| HSL | hsl(318, 67%, 36%) |
| HSV | hsv(318, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 24.5%, 39.2%) |
| CIE-LAB | lab(36.43, 56.92, -18.76) |
| CIE-LCH | lch(36.43, 59.93, 341.76°) |
| OKLab | oklab(47.58% 0.1721 -0.0501) |
| OKLCH | oklch(47.58% 0.179 343.8) |
| XYZ | xyz(17.2191, 9.2348, 17.7018) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.27
Warm Purple
#952E8F
ΔE00 6.04
Deep Magenta
#A0025C
ΔE00 6.14
Dark Fuchsia
#9D0759
ΔE00 6.63
Dark Magenta
#960056
ΔE00 6.79
Barney Purple
#A00498
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F75 #1F9B45
analogous
#831F9B #9B1F75 #9B1F37
triadic
#9B1F75 #759B1F #1F759B
tetradic
#9B1F75 #9B831F #1F9B45 #1F379B
square
#9B1F75 #9B831F #1F9B45 #1F379B
split-complementary
#9B1F75 #379B1F #1F9B83
monochromatic
#350B28 #68154F #9B1F75 #CE299B #DD57B4
Accessibility & contrast
On white
7.38
#9B1F75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#9B1F75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F75
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F75 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4977
Deuteranopia (green-blind)
#555D72
Tritanopia (blue-blind)
#A51E48
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b1f75; /* rgb */ color: rgb(155, 31, 117); /* oklch */ color: oklch(47.6% 0.179 343.8);
Tailwind
colors: {
custom: {
50: '#bd6a9d',
500: '#9b1f75',
950: '#000000',
},
}SCSS
$custom: #9b1f75; $custom-light: #bd6a9d; $custom-dark: #000000;
JSON
{
"hex": "#9b1f75",
"rgb": {
"r": 155,
"g": 31,
"b": 117
},
"hsl": {
"h": 318.387,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.47584,
"c": 0.17928,
"h": 343.8
},
"luminance": 0.09233
}Semantic roles & 50–950 ramp
primary
#9B1F75
secondary
#55C176
accent
#EA733E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E