#BA5474#BA5474
#BA5474 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.3% C 0.135 H 2.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5474 |
|---|---|
| RGB | rgb(186, 84, 116) |
| HSL | hsl(341, 43%, 53%) |
| HSV | hsv(341, 55%, 73%) |
| CMYK | cmyk(0%, 54.8%, 37.6%, 27.1%) |
| CIE-LAB | lab(49.55, 44.41, 2.04) |
| CIE-LCH | lch(49.55, 44.45, 2.63°) |
| OKLab | oklab(58.25% 0.1352 0.0058) |
| OKLCH | oklch(58.25% 0.135 2.5) |
| XYZ | xyz(26.5739, 18.0434, 18.6029) |
| Luminance | 0.1804 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.53
Deep Rose
#C74767
ΔE00 4.53
Dark Rose
#B5485D
ΔE00 5.90
Darkish Pink
#DA467D
ΔE00 5.98
Dusky Rose
#BA6873
ΔE00 6.95
Light Burgundy
#A8415B
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5474 #54BA9A
analogous
#BA54A7 #BA5474 #BA6754
triadic
#BA5474 #74BA54 #5474BA
tetradic
#BA5474 #A7BA54 #54BA9A #6754BA
square
#BA5474 #A7BA54 #54BA9A #6754BA
split-complementary
#BA5474 #54BA67 #54A7BA
monochromatic
#692A3E #953C58 #BA5474 #CC8097 #DDABBB
Accessibility & contrast
On white
4.56
#BA5474 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#BA5474 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5474
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5474 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5474 | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#666A75
Deuteranopia (green-blind)
#807D72
Tritanopia (blue-blind)
#C84B60
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ba5474; /* rgb */ color: rgb(186, 84, 116); /* oklch */ color: oklch(58.3% 0.135 2.5);
Tailwind
colors: {
custom: {
50: '#d2889b',
500: '#ba5474',
950: '#000000',
},
}SCSS
$custom: #ba5474; $custom-light: #d2889b; $custom-dark: #000000;
JSON
{
"hex": "#ba5474",
"rgb": {
"r": 186,
"g": 84,
"b": 116
},
"hsl": {
"h": 341.176,
"s": 42.5,
"l": 52.941
},
"oklch": {
"l": 0.58254,
"c": 0.13532,
"h": 2.5
},
"luminance": 0.18041
}Semantic roles & 50–950 ramp
primary
#BA5474
secondary
#9FCBBD
accent
#D2AB56
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150C0E
muted
#837D7E