#BA295B#BA295B
#BA295B is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.182 H 5.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #BA295B |
|---|---|
| RGB | rgb(186, 41, 91) |
| HSL | hsl(339, 64%, 45%) |
| HSV | hsv(339, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 51.1%, 27.1%) |
| CIE-LAB | lab(42.44, 59.40, 7.17) |
| CIE-LCH | lch(42.44, 59.83, 6.88°) |
| OKLab | oklab(52.74% 0.1815 0.0187) |
| OKLCH | oklch(52.74% 0.182 5.9) |
| XYZ | xyz(22.9330, 12.7835, 11.1554) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.40
Light Burgundy
#A8415B
ΔE00 4.45
Purplish Red
#B0054B
ΔE00 4.55
Raspberry (survey)
#B00149
ΔE00 4.88
Dark Hot Pink
#D90166
ΔE00 5.45
Dark Rose
#B5485D
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA295B #29BA88
analogous
#BA29A4 #BA295B #BA3F29
triadic
#BA295B #5BBA29 #295BBA
tetradic
#BA295B #A4BA29 #29BA88 #3F29BA
square
#BA295B #A4BA29 #29BA88 #3F29BA
split-complementary
#BA295B #29BA3F #29A4BA
monochromatic
#56132A #881E42 #BA295B #D7497A #E27B9F
Accessibility & contrast
On white
5.91
#BA295B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#BA295B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA295B
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA295B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA295B | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E525C
Deuteranopia (green-blind)
#746E58
Tritanopia (blue-blind)
#CB003F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba295b; /* rgb */ color: rgb(186, 41, 91); /* oklch */ color: oklch(52.7% 0.182 5.9);
Tailwind
colors: {
custom: {
50: '#d57189',
500: '#ba295b',
950: '#000000',
},
}SCSS
$custom: #ba295b; $custom-light: #d57189; $custom-dark: #000000;
JSON
{
"hex": "#ba295b",
"rgb": {
"r": 186,
"g": 41,
"b": 91
},
"hsl": {
"h": 339.31,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52742,
"c": 0.18245,
"h": 5.9
},
"luminance": 0.1278
}Semantic roles & 50–950 ramp
primary
#BA295B
secondary
#75CAAD
accent
#E7AE41
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C