#9B2166#9B2166
#9B2166 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.169 H 351.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2166 |
|---|---|
| RGB | rgb(155, 33, 102) |
| HSL | hsl(326, 65%, 37%) |
| HSV | hsv(326, 79%, 61%) |
| CMYK | cmyk(0%, 78.7%, 34.2%, 39.2%) |
| CIE-LAB | lab(36.02, 54.49, -9.90) |
| CIE-LCH | lch(36.02, 55.38, 349.70°) |
| OKLab | oklab(47.08% 0.167 -0.0257) |
| OKLCH | oklch(47.08% 0.169 351.3) |
| XYZ | xyz(16.4607, 9.0176, 13.4415) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.53
Deep Magenta
#A0025C
ΔE00 3.00
Dark Fuchsia
#9D0759
ΔE00 3.33
Dark Magenta
#960056
ΔE00 3.93
Reddish Purple
#910951
ΔE00 4.80
Violet Red
#A50055
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2166 #219B56
analogous
#93219B #9B2166 #9B2129
triadic
#9B2166 #669B21 #21669B
tetradic
#9B2166 #9B9321 #219B56 #21299B
square
#9B2166 #9B9321 #219B56 #21299B
split-complementary
#9B2166 #299B21 #219B93
monochromatic
#360C24 #691645 #9B2166 #CD2C87 #DC5AA4
Accessibility & contrast
On white
7.49
#9B2166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#9B2166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2166
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2166 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374768
Deuteranopia (green-blind)
#5A5D63
Tritanopia (blue-blind)
#A71641
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9b2166; /* rgb */ color: rgb(155, 33, 102); /* oklch */ color: oklch(47.1% 0.169 351.3);
Tailwind
colors: {
custom: {
50: '#bd6a91',
500: '#9b2166',
950: '#000000',
},
}SCSS
$custom: #9b2166; $custom-light: #bd6a91; $custom-dark: #000000;
JSON
{
"hex": "#9b2166",
"rgb": {
"r": 155,
"g": 33,
"b": 102
},
"hsl": {
"h": 326.066,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.4708,
"c": 0.16897,
"h": 351.3
},
"luminance": 0.09016
}Semantic roles & 50–950 ramp
primary
#9B2166
secondary
#58C085
accent
#E88940
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D