#BA2B91#BA2B91
#BA2B91 is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 54.9% C 0.204 H 342.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2B91 |
|---|---|
| RGB | rgb(186, 43, 145) |
| HSL | hsl(317, 62%, 45%) |
| HSV | hsv(317, 77%, 73%) |
| CMYK | cmyk(0%, 76.9%, 22%, 27.1%) |
| CIE-LAB | lab(44.54, 64.57, -23.03) |
| CIE-LCH | lch(44.54, 68.55, 340.37°) |
| OKLab | oklab(54.9% 0.1943 -0.0618) |
| OKLCH | oklch(54.9% 0.204 342.4) |
| XYZ | xyz(26.2254, 14.2139, 28.1450) |
| Luminance | 0.1421 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.81
Magenta (survey)
#C20078
ΔE00 5.73
Ugly Purple
#A442A0
ΔE00 5.97
Medium Purple
#9E43A2
ΔE00 7.27
Warm Purple
#952E8F
ΔE00 7.73
Purpley Pink
#C83CB9
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2B91 #2BBA54
analogous
#9C2BBA #BA2B91 #BA2B49
triadic
#BA2B91 #91BA2B #2B91BA
tetradic
#BA2B91 #BA9C2B #2BBA54 #2B49BA
square
#BA2B91 #BA9C2B #2BBA54 #2B49BA
split-complementary
#BA2B91 #49BA2B #2BBA9C
monochromatic
#571443 #88206A #BA2B91 #D64CAE #E17EC5
Accessibility & contrast
On white
5.47
#BA2B91 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#BA2B91 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2B91
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2B91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2B91 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5A94
Deuteranopia (green-blind)
#67728E
Tritanopia (blue-blind)
#C62D5B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ba2b91; /* rgb */ color: rgb(186, 43, 145); /* oklch */ color: oklch(54.9% 0.204 342.4);
Tailwind
colors: {
custom: {
50: '#d374b1',
500: '#ba2b91',
950: '#000000',
},
}SCSS
$custom: #ba2b91; $custom-light: #d374b1; $custom-dark: #000000;
JSON
{
"hex": "#ba2b91",
"rgb": {
"r": 186,
"g": 43,
"b": 145
},
"hsl": {
"h": 317.203,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.54896,
"c": 0.2039,
"h": 342.4
},
"luminance": 0.14211
}Semantic roles & 50–950 ramp
primary
#BA2B91
secondary
#77CA8F
accent
#E67142
background
#FDF7FA
surface
#FBEDF5
border
#D4C8CF
text
#150910
muted
#837B7F