#BA577E#BA577E
#BA577E is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.0% C 0.134 H 357.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BA577E |
|---|---|
| RGB | rgb(186, 87, 126) |
| HSL | hsl(336, 42%, 54%) |
| HSV | hsv(336, 53%, 73%) |
| CMYK | cmyk(0%, 53.2%, 32.3%, 27.1%) |
| CIE-LAB | lab(50.41, 44.15, -2.70) |
| CIE-LCH | lch(50.41, 44.23, 356.50°) |
| OKLab | oklab(59% 0.1341 -0.0065) |
| OKLCH | oklch(59% 0.134 357.2) |
| XYZ | xyz(27.4250, 18.7645, 21.9122) |
| Luminance | 0.1876 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 6.08
Dark Pink
#CB416B
ΔE00 6.36
Deep Rose
#C74767
ΔE00 6.85
Light Plum
#9D5783
ΔE00 7.44
Blush
#DE5D83
ΔE00 8.02
Dusky Rose
#BA6873
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA577E #57BA93
analogous
#BA57AF #BA577E #BA6157
triadic
#BA577E #7EBA57 #577EBA
tetradic
#BA577E #AFBA57 #57BA93 #6157BA
square
#BA577E #AFBA57 #57BA93 #6157BA
split-complementary
#BA577E #57BA61 #57AFBA
monochromatic
#6B2C45 #963E61 #BA577E #CC829F #DEAEC1
Accessibility & contrast
On white
4.42
#BA577E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#BA577E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA577E
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA577E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA577E | 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)
#666D7F
Deuteranopia (green-blind)
#807F7C
Tritanopia (blue-blind)
#C75066
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ba577e; /* rgb */ color: rgb(186, 87, 126); /* oklch */ color: oklch(59.0% 0.134 357.2);
Tailwind
colors: {
custom: {
50: '#d28aa3',
500: '#ba577e',
950: '#000000',
},
}SCSS
$custom: #ba577e; $custom-light: #d28aa3; $custom-dark: #000000;
JSON
{
"hex": "#ba577e",
"rgb": {
"r": 186,
"g": 87,
"b": 126
},
"hsl": {
"h": 336.364,
"s": 41.772,
"l": 53.529
},
"oklch": {
"l": 0.58997,
"c": 0.13428,
"h": 357.2
},
"luminance": 0.18762
}Semantic roles & 50–950 ramp
primary
#BA577E
secondary
#A1CCBB
accent
#D2A156
background
#FDF8FA
surface
#FAF0F3
border
#D3CBCD
text
#140C0F
muted
#837D7F