#9B1F7B#9B1F7B
#9B1F7B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.183 H 341.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F7B |
|---|---|
| RGB | rgb(155, 31, 123) |
| HSL | hsl(315, 67%, 36%) |
| HSV | hsv(315, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 20.6%, 39.2%) |
| CIE-LAB | lab(36.71, 57.72, -22.09) |
| CIE-LCH | lch(36.71, 61.80, 339.06°) |
| OKLab | oklab(47.87% 0.1731 -0.0595) |
| OKLCH | oklch(47.87% 0.183 341) |
| XYZ | xyz(17.5833, 9.3804, 19.6196) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.42
Warm Purple
#952E8F
ΔE00 4.77
Barney Purple
#A00498
ΔE00 5.91
Darkmagenta
#8B008B
ΔE00 6.99
Light Eggplant
#894585
ΔE00 7.31
Deep Magenta
#A0025C
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F7B #1F9B3F
analogous
#7D1F9B #9B1F7B #9B1F3D
triadic
#9B1F7B #7B9B1F #1F7B9B
tetradic
#9B1F7B #9B7D1F #1F9B3F #1F3D9B
square
#9B1F7B #9B7D1F #1F9B3F #1F3D9B
split-complementary
#9B1F7B #3D9B1F #1F9B7D
monochromatic
#350B2A #681553 #9B1F7B #CE29A3 #DD57BB
Accessibility & contrast
On white
7.30
#9B1F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9B1F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F7B
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F7B | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4A7D
Deuteranopia (green-blind)
#535D78
Tritanopia (blue-blind)
#A5224B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b1f7b; /* rgb */ color: rgb(155, 31, 123); /* oklch */ color: oklch(47.9% 0.183 341.0);
Tailwind
colors: {
custom: {
50: '#bc6aa1',
500: '#9b1f7b',
950: '#000000',
},
}SCSS
$custom: #9b1f7b; $custom-light: #bc6aa1; $custom-dark: #000000;
JSON
{
"hex": "#9b1f7b",
"rgb": {
"r": 155,
"g": 31,
"b": 123
},
"hsl": {
"h": 315.484,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.47871,
"c": 0.18301,
"h": 341
},
"luminance": 0.09379
}Semantic roles & 50–950 ramp
primary
#9B1F7B
secondary
#55C171
accent
#EA6A3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E