#BA5478#BA5478
#BA5478 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.4% C 0.137 H 0.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5478 |
|---|---|
| RGB | rgb(186, 84, 120) |
| HSL | hsl(339, 43%, 53%) |
| HSV | hsv(339, 55%, 73%) |
| CMYK | cmyk(0%, 54.8%, 35.5%, 27.1%) |
| CIE-LAB | lab(49.66, 44.88, -0.20) |
| CIE-LCH | lch(49.66, 44.88, 359.74°) |
| OKLab | oklab(58.38% 0.1366 0.0001) |
| OKLCH | oklch(58.38% 0.137 0) |
| XYZ | xyz(26.8116, 18.1385, 19.8547) |
| Luminance | 0.1814 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.11
Deep Rose
#C74767
ΔE00 5.47
Darkish Pink
#DA467D
ΔE00 5.85
Dark Rose
#B5485D
ΔE00 6.95
Dusky Rose
#BA6873
ΔE00 7.74
Light Burgundy
#A8415B
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5478 #54BA96
analogous
#BA54AB #BA5478 #BA6354
triadic
#BA5478 #78BA54 #5478BA
tetradic
#BA5478 #ABBA54 #54BA96 #6354BA
square
#BA5478 #ABBA54 #54BA96 #6354BA
split-complementary
#BA5478 #54BA63 #54ABBA
monochromatic
#692A41 #953C5B #BA5478 #CC809A #DDABBD
Accessibility & contrast
On white
4.54
#BA5478 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#BA5478 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5478
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5478 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5478 | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#656A79
Deuteranopia (green-blind)
#7F7D76
Tritanopia (blue-blind)
#C84C61
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ba5478; /* rgb */ color: rgb(186, 84, 120); /* oklch */ color: oklch(58.4% 0.137 0.0);
Tailwind
colors: {
custom: {
50: '#d2889e',
500: '#ba5478',
950: '#000000',
},
}SCSS
$custom: #ba5478; $custom-light: #d2889e; $custom-dark: #000000;
JSON
{
"hex": "#ba5478",
"rgb": {
"r": 186,
"g": 84,
"b": 120
},
"hsl": {
"h": 338.824,
"s": 42.5,
"l": 52.941
},
"oklch": {
"l": 0.58378,
"c": 0.13662,
"h": 0
},
"luminance": 0.18136
}Semantic roles & 50–950 ramp
primary
#BA5478
secondary
#9FCBBB
accent
#D2A656
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E