#BA2A6E#BA2A6E
#BA2A6E is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.187 H 357.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A6E |
|---|---|
| RGB | rgb(186, 42, 110) |
| HSL | hsl(332, 63%, 45%) |
| HSV | hsv(332, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 40.9%, 27.1%) |
| CIE-LAB | lab(43.10, 60.83, -3.74) |
| CIE-LCH | lch(43.10, 60.94, 356.48°) |
| OKLab | oklab(53.41% 0.187 -0.0091) |
| OKLCH | oklch(53.41% 0.187 357.2) |
| XYZ | xyz(23.8939, 13.2239, 16.0431) |
| Luminance | 0.1322 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.67
Deep Pink
#CB0162
ΔE00 4.57
Mediumvioletred
#C71585
ΔE00 5.26
Dark Hot Pink
#D90166
ΔE00 6.57
Violet Red
#A50055
ΔE00 7.00
Light Burgundy
#A8415B
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A6E #2ABA76
analogous
#BA2AB6 #BA2A6E #BA2E2A
triadic
#BA2A6E #6EBA2A #2A6EBA
tetradic
#BA2A6E #B6BA2A #2ABA76 #2E2ABA
square
#BA2A6E #B6BA2A #2ABA76 #2E2ABA
split-complementary
#BA2A6E #2ABA2E #2AB6BA
monochromatic
#561333 #881F50 #BA2A6E #D64B8D #E27DAC
Accessibility & contrast
On white
5.76
#BA2A6E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#BA2A6E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A6E
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A6E | 1.00 | 5.76 | 3.64 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495570
Deuteranopia (green-blind)
#71706B
Tritanopia (blue-blind)
#C91249
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba2a6e; /* rgb */ color: rgb(186, 42, 110); /* oklch */ color: oklch(53.4% 0.187 357.2);
Tailwind
colors: {
custom: {
50: '#d47297',
500: '#ba2a6e',
950: '#000000',
},
}SCSS
$custom: #ba2a6e; $custom-light: #d47297; $custom-dark: #000000;
JSON
{
"hex": "#ba2a6e",
"rgb": {
"r": 186,
"g": 42,
"b": 110
},
"hsl": {
"h": 331.667,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.53412,
"c": 0.18722,
"h": 357.2
},
"luminance": 0.13221
}Semantic roles & 50–950 ramp
primary
#BA2A6E
secondary
#76CAA2
accent
#E69842
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E