#BA2B5B#BA2B5B
#BA2B5B is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.181 H 6.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2B5B |
|---|---|
| RGB | rgb(186, 43, 91) |
| HSL | hsl(340, 62%, 45%) |
| HSV | hsv(340, 77%, 73%) |
| CMYK | cmyk(0%, 76.9%, 51.1%, 27.1%) |
| CIE-LAB | lab(42.65, 58.79, 7.47) |
| CIE-LCH | lch(42.65, 59.26, 7.24°) |
| OKLab | oklab(52.9% 0.1795 0.0195) |
| OKLCH | oklch(52.9% 0.181 6.2) |
| XYZ | xyz(23.0040, 12.9254, 11.1790) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.56
Light Burgundy
#A8415B
ΔE00 4.27
Purplish Red
#B0054B
ΔE00 4.73
Raspberry (survey)
#B00149
ΔE00 5.04
Dark Hot Pink
#D90166
ΔE00 5.44
Dark Rose
#B5485D
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2B5B #2BBA8A
analogous
#BA2BA3 #BA2B5B #BA432B
triadic
#BA2B5B #5BBA2B #2B5BBA
tetradic
#BA2B5B #A3BA2B #2BBA8A #432BBA
square
#BA2B5B #A3BA2B #2BBA8A #432BBA
split-complementary
#BA2B5B #2BBA43 #2BA3BA
monochromatic
#57142A #882043 #BA2B5B #D64C7B #E17E9F
Accessibility & contrast
On white
5.86
#BA2B5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#BA2B5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2B5B
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2B5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2B5B | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F535C
Deuteranopia (green-blind)
#756F58
Tritanopia (blue-blind)
#CB0040
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2b5b; /* rgb */ color: rgb(186, 43, 91); /* oklch */ color: oklch(52.9% 0.181 6.2);
Tailwind
colors: {
custom: {
50: '#d57289',
500: '#ba2b5b',
950: '#000000',
},
}SCSS
$custom: #ba2b5b; $custom-light: #d57289; $custom-dark: #000000;
JSON
{
"hex": "#ba2b5b",
"rgb": {
"r": 186,
"g": 43,
"b": 91
},
"hsl": {
"h": 339.86,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.52901,
"c": 0.18058,
"h": 6.2
},
"luminance": 0.12922
}Semantic roles & 50–950 ramp
primary
#BA2B5B
secondary
#77CAAE
accent
#E6AF42
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C