#BA577A#BA577A
#BA577A is a mid, vivid pink. Relative luminance 0.187; OKLCH L 58.9% C 0.133 H 359.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #BA577A |
|---|---|
| RGB | rgb(186, 87, 122) |
| HSL | hsl(339, 42%, 54%) |
| HSV | hsv(339, 53%, 73%) |
| CMYK | cmyk(0%, 53.2%, 34.4%, 27.1%) |
| CIE-LAB | lab(50.29, 43.64, -0.48) |
| CIE-LCH | lch(50.29, 43.65, 359.37°) |
| OKLab | oklab(58.87% 0.1327 -0.0007) |
| OKLCH | oklch(58.87% 0.133 359.7) |
| XYZ | xyz(27.1721, 18.6633, 20.5799) |
| Luminance | 0.1866 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.64
Deep Rose
#C74767
ΔE00 5.89
Darkish Pink
#DA467D
ΔE00 5.95
Dusky Rose
#BA6873
ΔE00 7.33
Dark Rose
#B5485D
ΔE00 7.44
Rose (survey)
#CF6275
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA577A #57BA97
analogous
#BA57AB #BA577A #BA6557
triadic
#BA577A #7ABA57 #577ABA
tetradic
#BA577A #ABBA57 #57BA97 #6557BA
square
#BA577A #ABBA57 #57BA97 #6557BA
split-complementary
#BA577A #57BA65 #57ABBA
monochromatic
#6B2C42 #963E5D #BA577A #CC829C #DEAEBF
Accessibility & contrast
On white
4.44
#BA577A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#BA577A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA577A
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA577A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA577A | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#676C7B
Deuteranopia (green-blind)
#817F78
Tritanopia (blue-blind)
#C84F64
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ba577a; /* rgb */ color: rgb(186, 87, 122); /* oklch */ color: oklch(58.9% 0.133 359.7);
Tailwind
colors: {
custom: {
50: '#d28aa0',
500: '#ba577a',
950: '#000000',
},
}SCSS
$custom: #ba577a; $custom-light: #d28aa0; $custom-dark: #000000;
JSON
{
"hex": "#ba577a",
"rgb": {
"r": 186,
"g": 87,
"b": 122
},
"hsl": {
"h": 338.788,
"s": 41.772,
"l": 53.529
},
"oklch": {
"l": 0.58868,
"c": 0.13273,
"h": 359.7
},
"luminance": 0.18661
}Semantic roles & 50–950 ramp
primary
#BA577A
secondary
#A1CCBD
accent
#D2A656
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E