#BA2A62#BA2A62
#BA2A62 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.183 H 2.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A62 |
|---|---|
| RGB | rgb(186, 42, 98) |
| HSL | hsl(337, 63%, 45%) |
| HSV | hsv(337, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 47.3%, 27.1%) |
| CIE-LAB | lab(42.73, 59.70, 3.21) |
| CIE-LCH | lch(42.73, 59.78, 3.08°) |
| OKLab | oklab(53.02% 0.183 0.0089) |
| OKLCH | oklch(53.02% 0.183 2.8) |
| XYZ | xyz(23.2842, 12.9800, 12.8322) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.03
Light Burgundy
#A8415B
ΔE00 5.09
Dark Hot Pink
#D90166
ΔE00 5.35
Purplish Red
#B0054B
ΔE00 5.61
Raspberry (survey)
#B00149
ΔE00 6.03
Dark Pink
#CB416B
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A62 #2ABA82
analogous
#BA2AAA #BA2A62 #BA3A2A
triadic
#BA2A62 #62BA2A #2A62BA
tetradic
#BA2A62 #AABA2A #2ABA82 #3A2ABA
square
#BA2A62 #AABA2A #2ABA82 #3A2ABA
split-complementary
#BA2A62 #2ABA3A #2AAABA
monochromatic
#56132D #881F48 #BA2A62 #D64B81 #E27DA4
Accessibility & contrast
On white
5.84
#BA2A62 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#BA2A62 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A62
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A62 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5363
Deuteranopia (green-blind)
#736F5F
Tritanopia (blue-blind)
#CA0443
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2a62; /* rgb */ color: rgb(186, 42, 98); /* oklch */ color: oklch(53.0% 0.183 2.8);
Tailwind
colors: {
custom: {
50: '#d5728e',
500: '#ba2a62',
950: '#000000',
},
}SCSS
$custom: #ba2a62; $custom-light: #d5728e; $custom-dark: #000000;
JSON
{
"hex": "#ba2a62",
"rgb": {
"r": 186,
"g": 42,
"b": 98
},
"hsl": {
"h": 336.667,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.53024,
"c": 0.18325,
"h": 2.8
},
"luminance": 0.12977
}Semantic roles & 50–950 ramp
primary
#BA2A62
secondary
#76CAA9
accent
#E6A642
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D