#BA4570#BA4570
#BA4570 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.2% C 0.156 H 0.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4570 |
|---|---|
| RGB | rgb(186, 69, 112) |
| HSL | hsl(338, 46%, 50%) |
| HSV | hsv(338, 63%, 73%) |
| CMYK | cmyk(0%, 62.9%, 39.8%, 27.1%) |
| CIE-LAB | lab(46.80, 50.96, 0.46) |
| CIE-LCH | lch(46.80, 50.96, 0.52°) |
| OKLab | oklab(56.16% 0.1557 0.0018) |
| OKLCH | oklch(56.16% 0.156 0.7) |
| XYZ | xyz(25.3041, 15.8681, 17.0564) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.16
Deep Rose
#C74767
ΔE00 5.04
Light Burgundy
#A8415B
ΔE00 5.71
Dark Rose
#B5485D
ΔE00 5.91
Deep Pink
#CB0162
ΔE00 6.37
Darkish Pink
#DA467D
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4570 #45BA8F
analogous
#BA45AA #BA4570 #BA5545
triadic
#BA4570 #70BA45 #4570BA
tetradic
#BA4570 #AABA45 #45BA8F #5545BA
square
#BA4570 #AABA45 #45BA8F #5545BA
split-complementary
#BA4570 #45BA55 #45AABA
monochromatic
#61243A #8D3455 #BA4570 #CB7292 #DB9EB5
Accessibility & contrast
On white
5.03
#BA4570 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#BA4570 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4570
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4570 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4570 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6171
Deuteranopia (green-blind)
#7A776D
Tritanopia (blue-blind)
#C93956
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ba4570; /* rgb */ color: rgb(186, 69, 112); /* oklch */ color: oklch(56.2% 0.156 0.7);
Tailwind
colors: {
custom: {
50: '#d37f98',
500: '#ba4570',
950: '#000000',
},
}SCSS
$custom: #ba4570; $custom-light: #d37f98; $custom-dark: #000000;
JSON
{
"hex": "#ba4570",
"rgb": {
"r": 186,
"g": 69,
"b": 112
},
"hsl": {
"h": 337.949,
"s": 45.882,
"l": 50
},
"oklch": {
"l": 0.56164,
"c": 0.15569,
"h": 0.7
},
"luminance": 0.15865
}Semantic roles & 50–950 ramp
primary
#BA4570
secondary
#93C8B4
accent
#D6A552
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0D
muted
#837C7E