#BA2A5B#BA2A5B
#BA2A5B is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.182 H 6.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A5B |
|---|---|
| RGB | rgb(186, 42, 91) |
| HSL | hsl(340, 63%, 45%) |
| HSV | hsv(340, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 51.1%, 27.1%) |
| CIE-LAB | lab(42.54, 59.10, 7.32) |
| CIE-LCH | lch(42.54, 59.55, 7.06°) |
| OKLab | oklab(52.82% 0.1805 0.0191) |
| OKLCH | oklch(52.82% 0.182 6) |
| XYZ | xyz(22.9681, 12.8536, 11.1671) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.48
Light Burgundy
#A8415B
ΔE00 4.36
Purplish Red
#B0054B
ΔE00 4.64
Raspberry (survey)
#B00149
ΔE00 4.96
Dark Hot Pink
#D90166
ΔE00 5.44
Dark Rose
#B5485D
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A5B #2ABA89
analogous
#BA2AA3 #BA2A5B #BA412A
triadic
#BA2A5B #5BBA2A #2A5BBA
tetradic
#BA2A5B #A3BA2A #2ABA89 #412ABA
square
#BA2A5B #A3BA2A #2ABA89 #412ABA
split-complementary
#BA2A5B #2ABA41 #2AA3BA
monochromatic
#56132A #881F43 #BA2A5B #D64B7A #E27D9F
Accessibility & contrast
On white
5.88
#BA2A5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#BA2A5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A5B
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A5B | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F525C
Deuteranopia (green-blind)
#756F58
Tritanopia (blue-blind)
#CB003F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2a5b; /* rgb */ color: rgb(186, 42, 91); /* oklch */ color: oklch(52.8% 0.182 6.0);
Tailwind
colors: {
custom: {
50: '#d57289',
500: '#ba2a5b',
950: '#000000',
},
}SCSS
$custom: #ba2a5b; $custom-light: #d57289; $custom-dark: #000000;
JSON
{
"hex": "#ba2a5b",
"rgb": {
"r": 186,
"g": 42,
"b": 91
},
"hsl": {
"h": 339.583,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.52821,
"c": 0.18153,
"h": 6
},
"luminance": 0.1285
}Semantic roles & 50–950 ramp
primary
#BA2A5B
secondary
#76CAAD
accent
#E6AE42
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C