#9B2185#9B2185
#9B2185 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.188 H 336.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2185 |
|---|---|
| RGB | rgb(155, 33, 133) |
| HSL | hsl(311, 65%, 37%) |
| HSV | hsv(311, 79%, 61%) |
| CMYK | cmyk(0%, 78.7%, 14.2%, 39.2%) |
| CIE-LAB | lab(37.39, 58.55, -27.23) |
| CIE-LCH | lch(37.39, 64.58, 335.06°) |
| OKLab | oklab(48.52% 0.1724 -0.0742) |
| OKLCH | oklch(48.52% 0.188 336.7) |
| XYZ | xyz(18.2954, 9.7515, 23.1044) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.85
Barney Purple
#A00498
ΔE00 4.01
Darkmagenta
#8B008B
ΔE00 5.71
Red Violet
#9E0168
ΔE00 6.43
Light Eggplant
#894585
ΔE00 6.74
Purple
#800080
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2185 #219B37
analogous
#74219B #9B2185 #9B2148
triadic
#9B2185 #859B21 #21859B
tetradic
#9B2185 #9B7421 #219B37 #21489B
square
#9B2185 #9B7421 #219B37 #21489B
split-complementary
#9B2185 #489B21 #219B74
monochromatic
#360C2E #69165A #9B2185 #CD2CB0 #DC5AC5
Accessibility & contrast
On white
7.12
#9B2185 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9B2185 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B2185
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2185 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2185 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244C88
Deuteranopia (green-blind)
#505E82
Tritanopia (blue-blind)
#A32A52
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9b2185; /* rgb */ color: rgb(155, 33, 133); /* oklch */ color: oklch(48.5% 0.188 336.7);
Tailwind
colors: {
custom: {
50: '#bc6ba9',
500: '#9b2185',
950: '#000000',
},
}SCSS
$custom: #9b2185; $custom-light: #bc6ba9; $custom-dark: #000000;
JSON
{
"hex": "#9b2185",
"rgb": {
"r": 155,
"g": 33,
"b": 133
},
"hsl": {
"h": 310.82,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.48523,
"c": 0.18773,
"h": 336.7
},
"luminance": 0.0975
}Semantic roles & 50–950 ramp
primary
#9B2185
secondary
#58C06A
accent
#E85E40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F