#BA2A54#BA2A54
#BA2A54 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.180 H 9.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A54 |
|---|---|
| RGB | rgb(186, 42, 84) |
| HSL | hsl(343, 63%, 45%) |
| HSV | hsv(343, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 54.8%, 27.1%) |
| CIE-LAB | lab(42.37, 58.55, 11.46) |
| CIE-LCH | lch(42.37, 59.66, 11.08°) |
| OKLab | oklab(52.63% 0.1779 0.0291) |
| OKLCH | oklch(52.63% 0.18 9.3) |
| XYZ | xyz(22.6801, 12.7384, 9.6503) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.44
Light Burgundy
#A8415B
ΔE00 4.46
Ruby
#CA0147
ΔE00 4.47
Raspberry (survey)
#B00149
ΔE00 4.56
Deep Pink
#CB0162
ΔE00 4.85
Dark Rose
#B5485D
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A54 #2ABA90
analogous
#BA2A9C #BA2A54 #BA482A
triadic
#BA2A54 #54BA2A #2A54BA
tetradic
#BA2A54 #9CBA2A #2ABA90 #482ABA
square
#BA2A54 #9CBA2A #2ABA90 #482ABA
split-complementary
#BA2A54 #2ABA48 #2A9CBA
monochromatic
#561327 #881F3D #BA2A54 #D64B74 #E27D9A
Accessibility & contrast
On white
5.92
#BA2A54 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#BA2A54 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A54
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A54 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505155
Deuteranopia (green-blind)
#766E50
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2a54; /* rgb */ color: rgb(186, 42, 84); /* oklch */ color: oklch(52.6% 0.180 9.3);
Tailwind
colors: {
custom: {
50: '#d57183',
500: '#ba2a54',
950: '#000000',
},
}SCSS
$custom: #ba2a54; $custom-light: #d57183; $custom-dark: #000000;
JSON
{
"hex": "#ba2a54",
"rgb": {
"r": 186,
"g": 42,
"b": 84
},
"hsl": {
"h": 342.5,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.52634,
"c": 0.18024,
"h": 9.3
},
"luminance": 0.12735
}Semantic roles & 50–950 ramp
primary
#BA2A54
secondary
#76CAB1
accent
#E6B642
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090A
muted
#847B7C