#9B5271#9B5271
#9B5271 is a mid, moderate pink. Relative luminance 0.142; OKLCH L 53.5% C 0.104 H 354.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #9B5271 |
|---|---|
| RGB | rgb(155, 82, 113) |
| HSL | hsl(335, 31%, 46%) |
| HSV | hsv(335, 47%, 61%) |
| CMYK | cmyk(0%, 47.1%, 27.1%, 39.2%) |
| CIE-LAB | lab(44.51, 34.14, -4.06) |
| CIE-LCH | lch(44.51, 34.38, 353.22°) |
| OKLab | oklab(53.51% 0.103 -0.0103) |
| OKLCH | oklch(53.51% 0.104 354.3) |
| XYZ | xyz(19.5161, 14.1970, 17.3320) |
| Luminance | 0.1419 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.74
Dark Mauve
#874C62
ΔE00 5.07
Dusky Purple
#895B7B
ΔE00 6.23
Light Burgundy
#A8415B
ΔE00 7.35
Dull Purple
#84597E
ΔE00 7.86
Purpleish
#98568D
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B5271 #529B7C
analogous
#9B5296 #9B5271 #9B5852
triadic
#9B5271 #719B52 #52719B
tetradic
#9B5271 #969B52 #529B7C #58529B
square
#9B5271 #969B52 #529B7C #58529B
split-complementary
#9B5271 #529B58 #52969B
monochromatic
#4B2837 #733D54 #9B5271 #B67490 #CB9DB0
Accessibility & contrast
On white
5.47
#9B5271 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#9B5271 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B5271
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B5271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B5271 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6172
Deuteranopia (green-blind)
#6E6E6F
Tritanopia (blue-blind)
#A54F5D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9b5271; /* rgb */ color: rgb(155, 82, 113); /* oklch */ color: oklch(53.5% 0.104 354.3);
Tailwind
colors: {
custom: {
50: '#ba8499',
500: '#9b5271',
950: '#000000',
},
}SCSS
$custom: #9b5271; $custom-light: #ba8499; $custom-dark: #000000;
JSON
{
"hex": "#9b5271",
"rgb": {
"r": 155,
"g": 82,
"b": 113
},
"hsl": {
"h": 334.521,
"s": 30.802,
"l": 46.471
},
"oklch": {
"l": 0.53513,
"c": 0.10354,
"h": 354.3
},
"luminance": 0.14195
}Semantic roles & 50–950 ramp
primary
#9B5271
secondary
#91B8A7
accent
#C79C61
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#120B0E
muted
#817C7E