#BA2A6F#BA2A6F
#BA2A6F is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.188 H 356.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A6F |
|---|---|
| RGB | rgb(186, 42, 111) |
| HSL | hsl(331, 63%, 45%) |
| HSV | hsv(331, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 40.3%, 27.1%) |
| CIE-LAB | lab(43.13, 60.93, -4.31) |
| CIE-LCH | lch(43.13, 61.08, 355.95°) |
| OKLab | oklab(53.45% 0.1873 -0.0106) |
| OKLCH | oklch(53.45% 0.188 356.8) |
| XYZ | xyz(23.9486, 13.2458, 16.3314) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.49
Deep Pink
#CB0162
ΔE00 4.76
Mediumvioletred
#C71585
ΔE00 5.03
Dark Hot Pink
#D90166
ΔE00 6.72
Violet Red
#A50055
ΔE00 7.09
Deep Magenta
#A0025C
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A6F #2ABA75
analogous
#BA2AB7 #BA2A6F #BA2D2A
triadic
#BA2A6F #6FBA2A #2A6FBA
tetradic
#BA2A6F #B7BA2A #2ABA75 #2D2ABA
square
#BA2A6F #B7BA2A #2ABA75 #2D2ABA
split-complementary
#BA2A6F #2ABA2D #2AB7BA
monochromatic
#561333 #881F51 #BA2A6F #D64B8E #E27DAD
Accessibility & contrast
On white
5.76
#BA2A6F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#BA2A6F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A6F
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A6F | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#495571
Deuteranopia (green-blind)
#71706C
Tritanopia (blue-blind)
#C91349
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba2a6f; /* rgb */ color: rgb(186, 42, 111); /* oklch */ color: oklch(53.4% 0.188 356.8);
Tailwind
colors: {
custom: {
50: '#d47298',
500: '#ba2a6f',
950: '#000000',
},
}SCSS
$custom: #ba2a6f; $custom-light: #d47298; $custom-dark: #000000;
JSON
{
"hex": "#ba2a6f",
"rgb": {
"r": 186,
"g": 42,
"b": 111
},
"hsl": {
"h": 331.25,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.53446,
"c": 0.18761,
"h": 356.8
},
"luminance": 0.13243
}Semantic roles & 50–950 ramp
primary
#BA2A6F
secondary
#76CAA2
accent
#E69742
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E