#BA2B5E#BA2B5E
#BA2B5E is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.181 H 4.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2B5E |
|---|---|
| RGB | rgb(186, 43, 94) |
| HSL | hsl(339, 62%, 45%) |
| HSV | hsv(339, 77%, 73%) |
| CMYK | cmyk(0%, 76.9%, 49.5%, 27.1%) |
| CIE-LAB | lab(42.73, 59.04, 5.71) |
| CIE-LCH | lch(42.73, 59.32, 5.52°) |
| OKLab | oklab(52.99% 0.1806 0.0151) |
| OKLCH | oklch(52.99% 0.181 4.8) |
| XYZ | xyz(23.1360, 12.9782, 11.8743) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.20
Light Burgundy
#A8415B
ΔE00 4.49
Purplish Red
#B0054B
ΔE00 5.05
Dark Hot Pink
#D90166
ΔE00 5.30
Raspberry (survey)
#B00149
ΔE00 5.42
Dark Rose
#B5485D
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2B5E #2BBA87
analogous
#BA2BA6 #BA2B5E #BA3F2B
triadic
#BA2B5E #5EBA2B #2B5EBA
tetradic
#BA2B5E #A6BA2B #2BBA87 #3F2BBA
square
#BA2B5E #A6BA2B #2BBA87 #3F2BBA
split-complementary
#BA2B5E #2BBA3F #2BA6BA
monochromatic
#57142C #882045 #BA2B5E #D64C7D #E17EA2
Accessibility & contrast
On white
5.84
#BA2B5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#BA2B5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2B5E
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2B5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2B5E | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F535F
Deuteranopia (green-blind)
#746F5B
Tritanopia (blue-blind)
#CB0241
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2b5e; /* rgb */ color: rgb(186, 43, 94); /* oklch */ color: oklch(53.0% 0.181 4.8);
Tailwind
colors: {
custom: {
50: '#d5728b',
500: '#ba2b5e',
950: '#000000',
},
}SCSS
$custom: #ba2b5e; $custom-light: #d5728b; $custom-dark: #000000;
JSON
{
"hex": "#ba2b5e",
"rgb": {
"r": 186,
"g": 43,
"b": 94
},
"hsl": {
"h": 338.601,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.52986,
"c": 0.18125,
"h": 4.8
},
"luminance": 0.12975
}Semantic roles & 50–950 ramp
primary
#BA2B5E
secondary
#77CAAC
accent
#E6AB42
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D