#BA4572#BA4572
#BA4572 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.2% C 0.156 H 359.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4572 |
|---|---|
| RGB | rgb(186, 69, 114) |
| HSL | hsl(337, 46%, 50%) |
| HSV | hsv(337, 63%, 73%) |
| CMYK | cmyk(0%, 62.9%, 38.7%, 27.1%) |
| CIE-LAB | lab(46.86, 51.18, -0.67) |
| CIE-LCH | lch(46.86, 51.18, 359.25°) |
| OKLab | oklab(56.23% 0.1564 -0.0011) |
| OKLCH | oklch(56.23% 0.156 359.6) |
| XYZ | xyz(25.4167, 15.9131, 17.6494) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.54
Deep Rose
#C74767
ΔE00 5.51
Light Burgundy
#A8415B
ΔE00 6.13
Dark Rose
#B5485D
ΔE00 6.47
Deep Pink
#CB0162
ΔE00 6.53
Darkish Pink
#DA467D
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4572 #45BA8D
analogous
#BA45AC #BA4572 #BA5345
triadic
#BA4572 #72BA45 #4572BA
tetradic
#BA4572 #ACBA45 #45BA8D #5345BA
square
#BA4572 #ACBA45 #45BA8D #5345BA
split-complementary
#BA4572 #45BA53 #45ACBA
monochromatic
#61243B #8D3457 #BA4572 #CB7294 #DB9EB6
Accessibility & contrast
On white
5.02
#BA4572 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#BA4572 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4572
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4572 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4572 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A6173
Deuteranopia (green-blind)
#7A776F
Tritanopia (blue-blind)
#C93A57
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ba4572; /* rgb */ color: rgb(186, 69, 114); /* oklch */ color: oklch(56.2% 0.156 359.6);
Tailwind
colors: {
custom: {
50: '#d37f9a',
500: '#ba4572',
950: '#000000',
},
}SCSS
$custom: #ba4572; $custom-light: #d37f9a; $custom-dark: #000000;
JSON
{
"hex": "#ba4572",
"rgb": {
"r": 186,
"g": 69,
"b": 114
},
"hsl": {
"h": 336.923,
"s": 45.882,
"l": 50
},
"oklch": {
"l": 0.56228,
"c": 0.15637,
"h": 359.6
},
"luminance": 0.1591
}Semantic roles & 50–950 ramp
primary
#BA4572
secondary
#93C8B3
accent
#D6A352
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E