#BA295E#BA295E
#BA295E is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.183 H 4.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #BA295E |
|---|---|
| RGB | rgb(186, 41, 94) |
| HSL | hsl(338, 64%, 45%) |
| HSV | hsv(338, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 49.5%, 27.1%) |
| CIE-LAB | lab(42.52, 59.65, 5.40) |
| CIE-LCH | lch(42.52, 59.89, 5.17°) |
| OKLab | oklab(52.83% 0.1826 0.0144) |
| OKLCH | oklch(52.83% 0.183 4.5) |
| XYZ | xyz(23.0650, 12.8363, 11.8506) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.08
Light Burgundy
#A8415B
ΔE00 4.69
Purplish Red
#B0054B
ΔE00 4.92
Raspberry (survey)
#B00149
ΔE00 5.30
Dark Hot Pink
#D90166
ΔE00 5.33
Dark Pink
#CB416B
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA295E #29BA85
analogous
#BA29A7 #BA295E #BA3D29
triadic
#BA295E #5EBA29 #295EBA
tetradic
#BA295E #A7BA29 #29BA85 #3D29BA
square
#BA295E #A7BA29 #29BA85 #3D29BA
split-complementary
#BA295E #29BA3D #29A7BA
monochromatic
#56132B #881E45 #BA295E #D7497D #E27BA1
Accessibility & contrast
On white
5.89
#BA295E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#BA295E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA295E
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA295E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA295E | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D525F
Deuteranopia (green-blind)
#746F5B
Tritanopia (blue-blind)
#CB0040
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba295e; /* rgb */ color: rgb(186, 41, 94); /* oklch */ color: oklch(52.8% 0.183 4.5);
Tailwind
colors: {
custom: {
50: '#d5718b',
500: '#ba295e',
950: '#000000',
},
}SCSS
$custom: #ba295e; $custom-light: #d5718b; $custom-dark: #000000;
JSON
{
"hex": "#ba295e",
"rgb": {
"r": 186,
"g": 41,
"b": 94
},
"hsl": {
"h": 338.069,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52828,
"c": 0.18314,
"h": 4.5
},
"luminance": 0.12833
}Semantic roles & 50–950 ramp
primary
#BA295E
secondary
#75CAAB
accent
#E7AA41
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D