#BA5771#BA5771
#BA5771 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 58.6% C 0.130 H 5.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5771 |
|---|---|
| RGB | rgb(186, 87, 113) |
| HSL | hsl(344, 42%, 54%) |
| HSV | hsv(344, 53%, 73%) |
| CMYK | cmyk(0%, 53.2%, 39.2%, 27.1%) |
| CIE-LAB | lab(50.04, 42.57, 4.55) |
| CIE-LCH | lch(50.04, 42.81, 6.10°) |
| OKLab | oklab(58.6% 0.1295 0.0123) |
| OKLCH | oklch(58.6% 0.13 5.4) |
| XYZ | xyz(26.6400, 18.4505, 17.7779) |
| Luminance | 0.1845 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Rose
#C74767
ΔE00 4.11
Dark Pink
#CB416B
ΔE00 4.74
Dark Rose
#B5485D
ΔE00 5.30
Dusky Rose
#BA6873
ΔE00 5.52
Rose (survey)
#CF6275
ΔE00 6.08
Darkish Pink
#DA467D
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5771 #57BAA0
analogous
#BA57A2 #BA5771 #BA6E57
triadic
#BA5771 #71BA57 #5771BA
tetradic
#BA5771 #A2BA57 #57BAA0 #6E57BA
square
#BA5771 #A2BA57 #57BAA0 #6E57BA
split-complementary
#BA5771 #57BA6E #57A2BA
monochromatic
#6B2C3C #963E55 #BA5771 #CC8296 #DEAEBA
Accessibility & contrast
On white
4.48
#BA5771 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#BA5771 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5771
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5771 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5771 | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#696B72
Deuteranopia (green-blind)
#827E6F
Tritanopia (blue-blind)
#C84D61
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #ba5771; /* rgb */ color: rgb(186, 87, 113); /* oklch */ color: oklch(58.6% 0.130 5.4);
Tailwind
colors: {
custom: {
50: '#d28a99',
500: '#ba5771',
950: '#000000',
},
}SCSS
$custom: #ba5771; $custom-light: #d28a99; $custom-dark: #000000;
JSON
{
"hex": "#ba5771",
"rgb": {
"r": 186,
"g": 87,
"b": 113
},
"hsl": {
"h": 344.242,
"s": 41.772,
"l": 53.529
},
"oklch": {
"l": 0.58595,
"c": 0.13003,
"h": 5.4
},
"luminance": 0.18448
}Semantic roles & 50–950 ramp
primary
#BA5771
secondary
#A1CCC0
accent
#D2B156
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150C0E
muted
#837D7E