#BA5B97#BA5B97
#BA5B97 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.5% C 0.142 H 343.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5B97 |
|---|---|
| RGB | rgb(186, 91, 151) |
| HSL | hsl(322, 41%, 54%) |
| HSV | hsv(322, 51%, 73%) |
| CMYK | cmyk(0%, 51.1%, 18.8%, 27.1%) |
| CIE-LAB | lab(52.02, 45.66, -15.16) |
| CIE-LCH | lch(52.02, 48.11, 341.64°) |
| OKLab | oklab(60.47% 0.1358 -0.0402) |
| OKLCH | oklch(60.47% 0.142 343.5) |
| XYZ | xyz(29.5773, 20.1579, 31.6052) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.26
Light Plum
#9D5783
ΔE00 6.74
Pale Magenta
#D767AD
ΔE00 6.98
Purpleish
#98568D
ΔE00 7.60
Pinky Purple
#C94CBE
ΔE00 8.44
Purplish
#94568C
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5B97 #5BBA7E
analogous
#AE5BBA #BA5B97 #BA5B68
triadic
#BA5B97 #97BA5B #5B97BA
tetradic
#BA5B97 #BAAE5B #5BBA7E #5B68BA
square
#BA5B97 #BAAE5B #5BBA7E #5B68BA
split-complementary
#BA5B97 #68BA5B #5BBAAE
monochromatic
#6D2E56 #984077 #BA5B97 #CC86B2 #DEB1CE
Accessibility & contrast
On white
4.17
#BA5B97 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#BA5B97 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5B97
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5B97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5B97 | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#627299
Deuteranopia (green-blind)
#7C8295
Tritanopia (blue-blind)
#C45B72
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #ba5b97; /* rgb */ color: rgb(186, 91, 151); /* oklch */ color: oklch(60.5% 0.142 343.5);
Tailwind
colors: {
custom: {
50: '#d18db5',
500: '#ba5b97',
950: '#000000',
},
}SCSS
$custom: #ba5b97; $custom-light: #d18db5; $custom-dark: #000000;
JSON
{
"hex": "#ba5b97",
"rgb": {
"r": 186,
"g": 91,
"b": 151
},
"hsl": {
"h": 322.105,
"s": 40.773,
"l": 54.314
},
"oklch": {
"l": 0.60473,
"c": 0.1416,
"h": 343.5
},
"luminance": 0.20156
}Semantic roles & 50–950 ramp
primary
#BA5B97
secondary
#A4CDB3
accent
#D18457
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80