#BA5D8B#BA5D8B
#BA5D8B is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.3% C 0.131 H 350.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5D8B |
|---|---|
| RGB | rgb(186, 93, 139) |
| HSL | hsl(330, 40%, 55%) |
| HSV | hsv(330, 50%, 73%) |
| CMYK | cmyk(0%, 50%, 25.3%, 27.1%) |
| CIE-LAB | lab(51.99, 42.87, -8.10) |
| CIE-LCH | lch(51.99, 43.63, 349.30°) |
| OKLab | oklab(60.32% 0.1292 -0.021) |
| OKLCH | oklch(60.32% 0.131 350.8) |
| XYZ | xyz(28.8251, 20.1343, 26.7893) |
| Luminance | 0.2013 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.74
Darkish Pink
#DA467D
ΔE00 7.60
Purplish Pink
#CE5DAE
ΔE00 7.70
Pale Magenta
#D767AD
ΔE00 8.11
Mauve (survey)
#AE7181
ΔE00 8.48
Blush
#DE5D83
ΔE00 8.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5D8B #5DBA8C
analogous
#BA5DB9 #BA5D8B #BA5E5D
triadic
#BA5D8B #8BBA5D #5D8BBA
tetradic
#BA5D8B #B9BA5D #5DBA8C #5E5DBA
square
#BA5D8B #B9BA5D #5DBA8C #5E5DBA
split-complementary
#BA5D8B #5DBA5E #5DB9BA
monochromatic
#6E2F4E #99416C #BA5D8B #CC88AA #DFB3C8
Accessibility & contrast
On white
4.18
#BA5D8B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#BA5D8B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5D8B
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5D8B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5D8B | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 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)
#68728D
Deuteranopia (green-blind)
#808289
Tritanopia (blue-blind)
#C65A6E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #ba5d8b; /* rgb */ color: rgb(186, 93, 139); /* oklch */ color: oklch(60.3% 0.131 350.8);
Tailwind
colors: {
custom: {
50: '#d18eac',
500: '#ba5d8b',
950: '#000000',
},
}SCSS
$custom: #ba5d8b; $custom-light: #d18eac; $custom-dark: #000000;
JSON
{
"hex": "#ba5d8b",
"rgb": {
"r": 186,
"g": 93,
"b": 139
},
"hsl": {
"h": 330.323,
"s": 40.26,
"l": 54.706
},
"oklch": {
"l": 0.60316,
"c": 0.13085,
"h": 350.8
},
"luminance": 0.20132
}Semantic roles & 50–950 ramp
primary
#BA5D8B
secondary
#A6CDBA
accent
#D09558
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F