#BA2A6C#BA2A6C
#BA2A6C is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.3% C 0.186 H 358.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A6C |
|---|---|
| RGB | rgb(186, 42, 108) |
| HSL | hsl(333, 63%, 45%) |
| HSV | hsv(333, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 41.9%, 27.1%) |
| CIE-LAB | lab(43.03, 60.63, -2.59) |
| CIE-LCH | lch(43.03, 60.69, 357.55°) |
| OKLab | oklab(53.34% 0.1864 -0.006) |
| OKLCH | oklch(53.34% 0.186 358.1) |
| XYZ | xyz(23.7862, 13.1808, 15.4760) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.08
Deep Pink
#CB0162
ΔE00 4.20
Mediumvioletred
#C71585
ΔE00 5.72
Dark Hot Pink
#D90166
ΔE00 6.29
Violet Red
#A50055
ΔE00 6.83
Light Burgundy
#A8415B
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A6C #2ABA78
analogous
#BA2AB4 #BA2A6C #BA302A
triadic
#BA2A6C #6CBA2A #2A6CBA
tetradic
#BA2A6C #B4BA2A #2ABA78 #302ABA
square
#BA2A6C #B4BA2A #2ABA78 #302ABA
split-complementary
#BA2A6C #2ABA30 #2AB4BA
monochromatic
#561332 #881F4F #BA2A6C #D64B8B #E27DAB
Accessibility & contrast
On white
5.78
#BA2A6C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#BA2A6C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A6C
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A6C | 1.00 | 5.78 | 3.64 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A546E
Deuteranopia (green-blind)
#716F69
Tritanopia (blue-blind)
#CA1048
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba2a6c; /* rgb */ color: rgb(186, 42, 108); /* oklch */ color: oklch(53.3% 0.186 358.1);
Tailwind
colors: {
custom: {
50: '#d47296',
500: '#ba2a6c',
950: '#000000',
},
}SCSS
$custom: #ba2a6c; $custom-light: #d47296; $custom-dark: #000000;
JSON
{
"hex": "#ba2a6c",
"rgb": {
"r": 186,
"g": 42,
"b": 108
},
"hsl": {
"h": 332.5,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.53344,
"c": 0.18647,
"h": 358.1
},
"luminance": 0.13178
}Semantic roles & 50–950 ramp
primary
#BA2A6C
secondary
#76CAA3
accent
#E69B42
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E