#9B1F66#9B1F66
#9B1F66 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.171 H 351.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F66 |
|---|---|
| RGB | rgb(155, 31, 102) |
| HSL | hsl(326, 67%, 36%) |
| HSV | hsv(326, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 34.2%, 39.2%) |
| CIE-LAB | lab(35.81, 55.08, -10.21) |
| CIE-LCH | lch(35.81, 56.02, 349.50°) |
| OKLab | oklab(46.93% 0.1689 -0.0265) |
| OKLCH | oklch(46.93% 0.171 351.1) |
| XYZ | xyz(16.4068, 8.9098, 13.4236) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.27
Deep Magenta
#A0025C
ΔE00 2.93
Dark Fuchsia
#9D0759
ΔE00 3.28
Dark Magenta
#960056
ΔE00 3.81
Reddish Purple
#910951
ΔE00 4.73
Violet Red
#A50055
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F66 #1F9B54
analogous
#921F9B #9B1F66 #9B1F28
triadic
#9B1F66 #669B1F #1F669B
tetradic
#9B1F66 #9B921F #1F9B54 #1F289B
square
#9B1F66 #9B921F #1F9B54 #1F289B
split-complementary
#9B1F66 #289B1F #1F9B92
monochromatic
#350B23 #681544 #9B1F66 #CE2988 #DD57A4
Accessibility & contrast
On white
7.55
#9B1F66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#9B1F66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F66
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F66 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364668
Deuteranopia (green-blind)
#5A5C63
Tritanopia (blue-blind)
#A71340
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9b1f66; /* rgb */ color: rgb(155, 31, 102); /* oklch */ color: oklch(46.9% 0.171 351.1);
Tailwind
colors: {
custom: {
50: '#bd6991',
500: '#9b1f66',
950: '#000000',
},
}SCSS
$custom: #9b1f66; $custom-light: #bd6991; $custom-dark: #000000;
JSON
{
"hex": "#9b1f66",
"rgb": {
"r": 155,
"g": 31,
"b": 102
},
"hsl": {
"h": 325.645,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.46929,
"c": 0.17096,
"h": 351.1
},
"luminance": 0.08908
}Semantic roles & 50–950 ramp
primary
#9B1F66
secondary
#55C183
accent
#EA873E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D