#BA2A57#BA2A57
#BA2A57 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.181 H 7.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A57 |
|---|---|
| RGB | rgb(186, 42, 87) |
| HSL | hsl(341, 63%, 45%) |
| HSV | hsv(341, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 53.2%, 27.1%) |
| CIE-LAB | lab(42.44, 58.78, 9.68) |
| CIE-LCH | lch(42.44, 59.57, 9.35°) |
| OKLab | oklab(52.71% 0.179 0.0248) |
| OKLCH | oklch(52.71% 0.181 7.9) |
| XYZ | xyz(22.8001, 12.7864, 10.2824) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.19
Light Burgundy
#A8415B
ΔE00 4.30
Purplish Red
#B0054B
ΔE00 4.40
Raspberry (survey)
#B00149
ΔE00 4.62
Ruby
#CA0147
ΔE00 5.18
Dark Rose
#B5485D
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A57 #2ABA8D
analogous
#BA2A9F #BA2A57 #BA452A
triadic
#BA2A57 #57BA2A #2A57BA
tetradic
#BA2A57 #9FBA2A #2ABA8D #452ABA
square
#BA2A57 #9FBA2A #2ABA8D #452ABA
split-complementary
#BA2A57 #2ABA45 #2A9FBA
monochromatic
#561328 #881F40 #BA2A57 #D64B76 #E27D9C
Accessibility & contrast
On white
5.90
#BA2A57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#BA2A57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A57
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A57 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505258
Deuteranopia (green-blind)
#756F53
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2a57; /* rgb */ color: rgb(186, 42, 87); /* oklch */ color: oklch(52.7% 0.181 7.9);
Tailwind
colors: {
custom: {
50: '#d57186',
500: '#ba2a57',
950: '#000000',
},
}SCSS
$custom: #ba2a57; $custom-light: #d57186; $custom-dark: #000000;
JSON
{
"hex": "#ba2a57",
"rgb": {
"r": 186,
"g": 42,
"b": 87
},
"hsl": {
"h": 341.25,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.52712,
"c": 0.18073,
"h": 7.9
},
"luminance": 0.12783
}Semantic roles & 50–950 ramp
primary
#BA2A57
secondary
#76CAB0
accent
#E6B342
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C