#BA5877#BA5877
#BA5877 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 58.9% C 0.130 H 1.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5877 |
|---|---|
| RGB | rgb(186, 88, 119) |
| HSL | hsl(341, 42%, 54%) |
| HSV | hsv(341, 53%, 73%) |
| CMYK | cmyk(0%, 52.7%, 36%, 27.1%) |
| CIE-LAB | lab(50.40, 42.78, 1.47) |
| CIE-LCH | lch(50.40, 42.80, 1.97°) |
| OKLab | oklab(58.92% 0.1301 0.0044) |
| OKLCH | oklch(58.92% 0.13 1.9) |
| XYZ | xyz(27.0706, 18.7531, 19.6432) |
| Luminance | 0.1875 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Rose
#C74767
ΔE00 5.24
Dark Pink
#CB416B
ΔE00 5.31
Darkish Pink
#DA467D
ΔE00 6.07
Dusky Rose
#BA6873
ΔE00 6.38
Dark Rose
#B5485D
ΔE00 6.71
Rose (survey)
#CF6275
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5877 #58BA9B
analogous
#BA58A8 #BA5877 #BA6A58
triadic
#BA5877 #77BA58 #5877BA
tetradic
#BA5877 #A8BA58 #58BA9B #6A58BA
square
#BA5877 #A8BA58 #58BA9B #6A58BA
split-complementary
#BA5877 #58BA6A #58A8BA
monochromatic
#6B2C40 #973E5A #BA5877 #CC839A #DEAFBE
Accessibility & contrast
On white
4.42
#BA5877 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#BA5877 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5877
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5877 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5877 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#686C78
Deuteranopia (green-blind)
#827F75
Tritanopia (blue-blind)
#C85063
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ba5877; /* rgb */ color: rgb(186, 88, 119); /* oklch */ color: oklch(58.9% 0.130 1.9);
Tailwind
colors: {
custom: {
50: '#d28a9e',
500: '#ba5877',
950: '#000000',
},
}SCSS
$custom: #ba5877; $custom-light: #d28a9e; $custom-dark: #000000;
JSON
{
"hex": "#ba5877",
"rgb": {
"r": 186,
"g": 88,
"b": 119
},
"hsl": {
"h": 341.02,
"s": 41.525,
"l": 53.725
},
"oklch": {
"l": 0.58919,
"c": 0.13017,
"h": 1.9
},
"luminance": 0.1875
}Semantic roles & 50–950 ramp
primary
#BA5877
secondary
#A2CCBF
accent
#D1AA56
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E