#BA2B5A#BA2B5A
#BA2B5A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.180 H 6.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2B5A |
|---|---|
| RGB | rgb(186, 43, 90) |
| HSL | hsl(340, 62%, 45%) |
| HSV | hsv(340, 77%, 73%) |
| CMYK | cmyk(0%, 76.9%, 51.6%, 27.1%) |
| CIE-LAB | lab(42.62, 58.71, 8.06) |
| CIE-LCH | lch(42.62, 59.26, 7.82°) |
| OKLab | oklab(52.87% 0.1792 0.0209) |
| OKLCH | oklch(52.87% 0.18 6.7) |
| XYZ | xyz(22.9611, 12.9083, 10.9533) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.72
Light Burgundy
#A8415B
ΔE00 4.23
Purplish Red
#B0054B
ΔE00 4.65
Raspberry (survey)
#B00149
ΔE00 4.94
Dark Rose
#B5485D
ΔE00 5.40
Dark Hot Pink
#D90166
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2B5A #2BBA8B
analogous
#BA2BA1 #BA2B5A #BA442B
triadic
#BA2B5A #5ABA2B #2B5ABA
tetradic
#BA2B5A #A1BA2B #2BBA8B #442BBA
square
#BA2B5A #A1BA2B #2BBA8B #442BBA
split-complementary
#BA2B5A #2BBA44 #2BA1BA
monochromatic
#57142A #882042 #BA2B5A #D64C7A #E17E9F
Accessibility & contrast
On white
5.86
#BA2B5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#BA2B5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2B5A
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2B5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2B5A | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50525B
Deuteranopia (green-blind)
#756F57
Tritanopia (blue-blind)
#CB003F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2b5a; /* rgb */ color: rgb(186, 43, 90); /* oklch */ color: oklch(52.9% 0.180 6.7);
Tailwind
colors: {
custom: {
50: '#d57288',
500: '#ba2b5a',
950: '#000000',
},
}SCSS
$custom: #ba2b5a; $custom-light: #d57288; $custom-dark: #000000;
JSON
{
"hex": "#ba2b5a",
"rgb": {
"r": 186,
"g": 43,
"b": 90
},
"hsl": {
"h": 340.28,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.52873,
"c": 0.18038,
"h": 6.7
},
"luminance": 0.12905
}Semantic roles & 50–950 ramp
primary
#BA2B5A
secondary
#77CAAF
accent
#E6B042
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C