#BA2F5A#BA2F5A
#BA2F5A is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.176 H 7.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2F5A |
|---|---|
| RGB | rgb(186, 47, 90) |
| HSL | hsl(341, 60%, 46%) |
| HSV | hsv(341, 75%, 73%) |
| CMYK | cmyk(0%, 74.7%, 51.6%, 27.1%) |
| CIE-LAB | lab(43.08, 57.42, 8.71) |
| CIE-LCH | lch(43.08, 58.08, 8.62°) |
| OKLab | oklab(53.21% 0.175 0.0225) |
| OKLCH | oklch(53.21% 0.176 7.3) |
| XYZ | xyz(23.1137, 13.2135, 11.0042) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.92
Deep Pink
#CB0162
ΔE00 4.13
Dark Rose
#B5485D
ΔE00 4.76
Purplish Red
#B0054B
ΔE00 5.09
Raspberry (survey)
#B00149
ΔE00 5.34
Dark Hot Pink
#D90166
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2F5A #2FBA8F
analogous
#BA2F9F #BA2F5A #BA492F
triadic
#BA2F5A #5ABA2F #2F5ABA
tetradic
#BA2F5A #9FBA2F #2FBA8F #492FBA
square
#BA2F5A #9FBA2F #2FBA8F #492FBA
split-complementary
#BA2F5A #2FBA49 #2F9FBA
monochromatic
#58162B #892342 #BA2F5A #D3537B #E084A0
Accessibility & contrast
On white
5.77
#BA2F5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#BA2F5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2F5A
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2F5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2F5A | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52545B
Deuteranopia (green-blind)
#767057
Tritanopia (blue-blind)
#CB0A41
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba2f5a; /* rgb */ color: rgb(186, 47, 90); /* oklch */ color: oklch(53.2% 0.176 7.3);
Tailwind
colors: {
custom: {
50: '#d57488',
500: '#ba2f5a',
950: '#000000',
},
}SCSS
$custom: #ba2f5a; $custom-light: #d57488; $custom-dark: #000000;
JSON
{
"hex": "#ba2f5a",
"rgb": {
"r": 186,
"g": 47,
"b": 90
},
"hsl": {
"h": 341.439,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.53212,
"c": 0.17645,
"h": 7.3
},
"luminance": 0.1321
}Semantic roles & 50–950 ramp
primary
#BA2F5A
secondary
#7CC9B1
accent
#E3B245
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C