#BA5481#BA5481
#BA5481 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 58.7% C 0.140 H 354.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5481 |
|---|---|
| RGB | rgb(186, 84, 129) |
| HSL | hsl(334, 43%, 53%) |
| HSV | hsv(334, 55%, 73%) |
| CMYK | cmyk(0%, 54.8%, 30.6%, 27.1%) |
| CIE-LAB | lab(49.94, 46.02, -5.20) |
| CIE-LCH | lch(49.94, 46.31, 353.56°) |
| OKLab | oklab(58.68% 0.1397 -0.0131) |
| OKLCH | oklch(58.68% 0.14 354.6) |
| XYZ | xyz(27.3837, 18.3673, 22.8677) |
| Luminance | 0.1837 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 6.38
Light Plum
#9D5783
ΔE00 6.70
Dark Pink
#CB416B
ΔE00 6.93
Deep Rose
#C74767
ΔE00 7.71
Blush
#DE5D83
ΔE00 8.84
Mediumvioletred
#C71585
ΔE00 9.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5481 #54BA8D
analogous
#BA54B4 #BA5481 #BA5A54
triadic
#BA5481 #81BA54 #5481BA
tetradic
#BA5481 #B4BA54 #54BA8D #5A54BA
square
#BA5481 #B4BA54 #54BA8D #5A54BA
split-complementary
#BA5481 #54BA5A #54B4BA
monochromatic
#692A46 #953C63 #BA5481 #CC80A1 #DDABC1
Accessibility & contrast
On white
4.49
#BA5481 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.67
#BA5481 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5481
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5481 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5481 | 1.00 | 4.49 | 4.67 | 4.67 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#626B82
Deuteranopia (green-blind)
#7D7E7F
Tritanopia (blue-blind)
#C74E65
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #ba5481; /* rgb */ color: rgb(186, 84, 129); /* oklch */ color: oklch(58.7% 0.140 354.6);
Tailwind
colors: {
custom: {
50: '#d288a5',
500: '#ba5481',
950: '#000000',
},
}SCSS
$custom: #ba5481; $custom-light: #d288a5; $custom-dark: #000000;
JSON
{
"hex": "#ba5481",
"rgb": {
"r": 186,
"g": 84,
"b": 129
},
"hsl": {
"h": 333.529,
"s": 42.5,
"l": 52.941
},
"oklch": {
"l": 0.58675,
"c": 0.14029,
"h": 354.6
},
"luminance": 0.18365
}Semantic roles & 50–950 ramp
primary
#BA5481
secondary
#9FCBB7
accent
#D29B56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F