#BA4571#BA4571
#BA4571 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.2% C 0.156 H 0.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4571 |
|---|---|
| RGB | rgb(186, 69, 113) |
| HSL | hsl(337, 46%, 50%) |
| HSV | hsv(337, 63%, 73%) |
| CMYK | cmyk(0%, 62.9%, 39.2%, 27.1%) |
| CIE-LAB | lab(46.83, 51.07, -0.10) |
| CIE-LCH | lch(46.83, 51.07, 359.88°) |
| OKLab | oklab(56.2% 0.156 0.0004) |
| OKLCH | oklch(56.2% 0.156 0.1) |
| XYZ | xyz(25.3601, 15.8905, 17.3512) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.34
Deep Rose
#C74767
ΔE00 5.27
Light Burgundy
#A8415B
ΔE00 5.92
Dark Rose
#B5485D
ΔE00 6.19
Deep Pink
#CB0162
ΔE00 6.45
Darkish Pink
#DA467D
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4571 #45BA8E
analogous
#BA45AB #BA4571 #BA5445
triadic
#BA4571 #71BA45 #4571BA
tetradic
#BA4571 #ABBA45 #45BA8E #5445BA
square
#BA4571 #ABBA45 #45BA8E #5445BA
split-complementary
#BA4571 #45BA54 #45ABBA
monochromatic
#61243B #8D3456 #BA4571 #CB7293 #DB9EB5
Accessibility & contrast
On white
5.03
#BA4571 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#BA4571 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4571
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4571 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4571 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6172
Deuteranopia (green-blind)
#7A776E
Tritanopia (blue-blind)
#C93956
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ba4571; /* rgb */ color: rgb(186, 69, 113); /* oklch */ color: oklch(56.2% 0.156 0.1);
Tailwind
colors: {
custom: {
50: '#d37f99',
500: '#ba4571',
950: '#000000',
},
}SCSS
$custom: #ba4571; $custom-light: #d37f99; $custom-dark: #000000;
JSON
{
"hex": "#ba4571",
"rgb": {
"r": 186,
"g": 69,
"b": 113
},
"hsl": {
"h": 337.436,
"s": 45.882,
"l": 50
},
"oklch": {
"l": 0.56196,
"c": 0.15603,
"h": 0.1
},
"luminance": 0.15888
}Semantic roles & 50–950 ramp
primary
#BA4571
secondary
#93C8B4
accent
#D6A452
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E