#BA295D#BA295D
#BA295D is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.183 H 5.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #BA295D |
|---|---|
| RGB | rgb(186, 41, 93) |
| HSL | hsl(338, 64%, 45%) |
| HSV | hsv(338, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 50%, 27.1%) |
| CIE-LAB | lab(42.49, 59.56, 5.99) |
| CIE-LCH | lch(42.49, 59.87, 5.74°) |
| OKLab | oklab(52.8% 0.1822 0.0158) |
| OKLCH | oklch(52.8% 0.183 5) |
| XYZ | xyz(23.0205, 12.8185, 11.6158) |
| Luminance | 0.1281 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.17
Light Burgundy
#A8415B
ΔE00 4.60
Purplish Red
#B0054B
ΔE00 4.78
Raspberry (survey)
#B00149
ΔE00 5.15
Dark Hot Pink
#D90166
ΔE00 5.36
Dark Rose
#B5485D
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA295D #29BA86
analogous
#BA29A6 #BA295D #BA3E29
triadic
#BA295D #5DBA29 #295DBA
tetradic
#BA295D #A6BA29 #29BA86 #3E29BA
square
#BA295D #A6BA29 #29BA86 #3E29BA
split-complementary
#BA295D #29BA3E #29A6BA
monochromatic
#56132B #881E44 #BA295D #D7497C #E27BA0
Accessibility & contrast
On white
5.89
#BA295D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#BA295D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA295D
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA295D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA295D | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E525E
Deuteranopia (green-blind)
#746F5A
Tritanopia (blue-blind)
#CB0040
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba295d; /* rgb */ color: rgb(186, 41, 93); /* oklch */ color: oklch(52.8% 0.183 5.0);
Tailwind
colors: {
custom: {
50: '#d5718a',
500: '#ba295d',
950: '#000000',
},
}SCSS
$custom: #ba295d; $custom-light: #d5718a; $custom-dark: #000000;
JSON
{
"hex": "#ba295d",
"rgb": {
"r": 186,
"g": 41,
"b": 93
},
"hsl": {
"h": 338.483,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52799,
"c": 0.1829,
"h": 5
},
"luminance": 0.12815
}Semantic roles & 50–950 ramp
primary
#BA295D
secondary
#75CAAB
accent
#E7AB41
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C