#BA2A66#BA2A66
#BA2A66 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.184 H 0.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A66 |
|---|---|
| RGB | rgb(186, 42, 102) |
| HSL | hsl(335, 63%, 45%) |
| HSV | hsv(335, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 45.2%, 27.1%) |
| CIE-LAB | lab(42.85, 60.06, 0.88) |
| CIE-LCH | lch(42.85, 60.06, 0.84°) |
| OKLab | oklab(53.15% 0.1844 0.0029) |
| OKLCH | oklch(53.15% 0.184 0.9) |
| XYZ | xyz(23.4778, 13.0575, 13.8518) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.30
Magenta (survey)
#C20078
ΔE00 5.43
Dark Hot Pink
#D90166
ΔE00 5.61
Light Burgundy
#A8415B
ΔE00 5.74
Purplish Red
#B0054B
ΔE00 6.36
Violet Red
#A50055
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A66 #2ABA7E
analogous
#BA2AAE #BA2A66 #BA362A
triadic
#BA2A66 #66BA2A #2A66BA
tetradic
#BA2A66 #AEBA2A #2ABA7E #362ABA
square
#BA2A66 #AEBA2A #2ABA7E #362ABA
split-complementary
#BA2A66 #2ABA36 #2AAEBA
monochromatic
#56132F #881F4B #BA2A66 #D64B85 #E27DA7
Accessibility & contrast
On white
5.82
#BA2A66 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#BA2A66 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A66
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A66 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5467
Deuteranopia (green-blind)
#736F63
Tritanopia (blue-blind)
#CA0945
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2a66; /* rgb */ color: rgb(186, 42, 102); /* oklch */ color: oklch(53.1% 0.184 0.9);
Tailwind
colors: {
custom: {
50: '#d47291',
500: '#ba2a66',
950: '#000000',
},
}SCSS
$custom: #ba2a66; $custom-light: #d47291; $custom-dark: #000000;
JSON
{
"hex": "#ba2a66",
"rgb": {
"r": 186,
"g": 42,
"b": 102
},
"hsl": {
"h": 335,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.53148,
"c": 0.18443,
"h": 0.9
},
"luminance": 0.13054
}Semantic roles & 50–950 ramp
primary
#BA2A66
secondary
#76CAA7
accent
#E6A242
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D