#BA2B58#BA2B58
#BA2B58 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.180 H 7.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2B58 |
|---|---|
| RGB | rgb(186, 43, 88) |
| HSL | hsl(341, 62%, 45%) |
| HSV | hsv(341, 77%, 73%) |
| CMYK | cmyk(0%, 76.9%, 52.7%, 27.1%) |
| CIE-LAB | lab(42.57, 58.55, 9.24) |
| CIE-LCH | lch(42.57, 59.27, 8.97°) |
| OKLab | oklab(52.82% 0.1784 0.0238) |
| OKLCH | oklch(52.82% 0.18 7.6) |
| XYZ | xyz(22.8771, 12.8747, 10.5110) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.08
Light Burgundy
#A8415B
ΔE00 4.21
Purplish Red
#B0054B
ΔE00 4.55
Raspberry (survey)
#B00149
ΔE00 4.78
Dark Rose
#B5485D
ΔE00 5.19
Ruby
#CA0147
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2B58 #2BBA8D
analogous
#BA2B9F #BA2B58 #BA462B
triadic
#BA2B58 #58BA2B #2B58BA
tetradic
#BA2B58 #9FBA2B #2BBA8D #462BBA
square
#BA2B58 #9FBA2B #2BBA8D #462BBA
split-complementary
#BA2B58 #2BBA46 #2B9FBA
monochromatic
#571429 #882040 #BA2B58 #D64C78 #E17E9D
Accessibility & contrast
On white
5.88
#BA2B58 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#BA2B58 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2B58
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2B58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2B58 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505259
Deuteranopia (green-blind)
#756F55
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2b58; /* rgb */ color: rgb(186, 43, 88); /* oklch */ color: oklch(52.8% 0.180 7.6);
Tailwind
colors: {
custom: {
50: '#d57286',
500: '#ba2b58',
950: '#000000',
},
}SCSS
$custom: #ba2b58; $custom-light: #d57286; $custom-dark: #000000;
JSON
{
"hex": "#ba2b58",
"rgb": {
"r": 186,
"g": 43,
"b": 88
},
"hsl": {
"h": 341.119,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.52819,
"c": 0.17999,
"h": 7.6
},
"luminance": 0.12871
}Semantic roles & 50–950 ramp
primary
#BA2B58
secondary
#77CAB0
accent
#E6B242
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C