#BA5C97#BA5C97
#BA5C97 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.6% C 0.140 H 343.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5C97 |
|---|---|
| RGB | rgb(186, 92, 151) |
| HSL | hsl(322, 41%, 55%) |
| HSV | hsv(322, 51%, 73%) |
| CMYK | cmyk(0%, 50.5%, 18.8%, 27.1%) |
| CIE-LAB | lab(52.21, 45.15, -14.86) |
| CIE-LCH | lch(52.21, 47.54, 341.78°) |
| OKLab | oklab(60.62% 0.1343 -0.0394) |
| OKLCH | oklch(60.62% 0.14 343.6) |
| XYZ | xyz(29.6633, 20.3301, 31.6339) |
| Luminance | 0.2033 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.25
Light Plum
#9D5783
ΔE00 6.80
Pale Magenta
#D767AD
ΔE00 6.85
Purpleish
#98568D
ΔE00 7.72
Purplish
#94568C
ΔE00 8.57
Pinky Purple
#C94CBE
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5C97 #5CBA7F
analogous
#AE5CBA #BA5C97 #BA5C68
triadic
#BA5C97 #97BA5C #5C97BA
tetradic
#BA5C97 #BAAE5C #5CBA7F #5C68BA
square
#BA5C97 #BAAE5C #5CBA7F #5C68BA
split-complementary
#BA5C97 #68BA5C #5CBAAE
monochromatic
#6D2E56 #984078 #BA5C97 #CC87B2 #DEB2CE
Accessibility & contrast
On white
4.15
#BA5C97 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#BA5C97 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5C97
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5C97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5C97 | 1.00 | 4.15 | 5.07 | 5.07 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#637399
Deuteranopia (green-blind)
#7C8295
Tritanopia (blue-blind)
#C45C73
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #ba5c97; /* rgb */ color: rgb(186, 92, 151); /* oklch */ color: oklch(60.6% 0.140 343.6);
Tailwind
colors: {
custom: {
50: '#d18db5',
500: '#ba5c97',
950: '#000000',
},
}SCSS
$custom: #ba5c97; $custom-light: #d18db5; $custom-dark: #000000;
JSON
{
"hex": "#ba5c97",
"rgb": {
"r": 186,
"g": 92,
"b": 151
},
"hsl": {
"h": 322.34,
"s": 40.517,
"l": 54.51
},
"oklch": {
"l": 0.60617,
"c": 0.13993,
"h": 343.6
},
"luminance": 0.20328
}Semantic roles & 50–950 ramp
primary
#BA5C97
secondary
#A5CDB4
accent
#D08457
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80