#9B216B#9B216B
#9B216B is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.172 H 348.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9B216B |
|---|---|
| RGB | rgb(155, 33, 107) |
| HSL | hsl(324, 65%, 37%) |
| HSV | hsv(324, 79%, 61%) |
| CMYK | cmyk(0%, 78.7%, 31%, 39.2%) |
| CIE-LAB | lab(36.21, 55.08, -12.78) |
| CIE-LCH | lch(36.21, 56.54, 346.94°) |
| OKLab | oklab(47.29% 0.1683 -0.0335) |
| OKLCH | oklch(47.29% 0.172 348.7) |
| XYZ | xyz(16.7162, 9.1198, 14.7871) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.23
Deep Magenta
#A0025C
ΔE00 3.99
Dark Fuchsia
#9D0759
ΔE00 4.40
Dark Magenta
#960056
ΔE00 4.80
Reddish Purple
#910951
ΔE00 5.76
Violet Red
#A50055
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B216B #219B51
analogous
#8E219B #9B216B #9B212E
triadic
#9B216B #6B9B21 #216B9B
tetradic
#9B216B #9B8E21 #219B51 #212E9B
square
#9B216B #9B8E21 #219B51 #212E9B
split-complementary
#9B216B #2E9B21 #219B8E
monochromatic
#360C25 #691648 #9B216B #CD2C8E #DC5AA9
Accessibility & contrast
On white
7.44
#9B216B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#9B216B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B216B
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B216B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B216B | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35486D
Deuteranopia (green-blind)
#595D68
Tritanopia (blue-blind)
#A71A43
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9b216b; /* rgb */ color: rgb(155, 33, 107); /* oklch */ color: oklch(47.3% 0.172 348.7);
Tailwind
colors: {
custom: {
50: '#bd6a95',
500: '#9b216b',
950: '#000000',
},
}SCSS
$custom: #9b216b; $custom-light: #bd6a95; $custom-dark: #000000;
JSON
{
"hex": "#9b216b",
"rgb": {
"r": 155,
"g": 33,
"b": 107
},
"hsl": {
"h": 323.607,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.47287,
"c": 0.17157,
"h": 348.7
},
"luminance": 0.09118
}Semantic roles & 50–950 ramp
primary
#9B216B
secondary
#58C081
accent
#E88240
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E