#BA5581#BA5581
#BA5581 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 58.8% C 0.139 H 354.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5581 |
|---|---|
| RGB | rgb(186, 85, 129) |
| HSL | hsl(334, 42%, 53%) |
| HSV | hsv(334, 54%, 73%) |
| CMYK | cmyk(0%, 54.3%, 30.6%, 27.1%) |
| CIE-LAB | lab(50.13, 45.52, -4.92) |
| CIE-LCH | lch(50.13, 45.79, 353.83°) |
| OKLab | oklab(58.81% 0.1382 -0.0124) |
| OKLCH | oklch(58.81% 0.139 354.9) |
| XYZ | xyz(27.4618, 18.5237, 22.8938) |
| Luminance | 0.1852 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 6.35
Light Plum
#9D5783
ΔE00 6.78
Dark Pink
#CB416B
ΔE00 6.93
Deep Rose
#C74767
ΔE00 7.66
Blush
#DE5D83
ΔE00 8.67
Mauve (survey)
#AE7181
ΔE00 9.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5581 #55BA8E
analogous
#BA55B3 #BA5581 #BA5B55
triadic
#BA5581 #81BA55 #5581BA
tetradic
#BA5581 #B3BA55 #55BA8E #5B55BA
square
#BA5581 #B3BA55 #55BA8E #5B55BA
split-complementary
#BA5581 #55BA5B #55B3BA
monochromatic
#6A2B46 #953D63 #BA5581 #CC81A1 #DDACC2
Accessibility & contrast
On white
4.46
#BA5581 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#BA5581 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5581
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5581 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5581 | 1.00 | 4.46 | 4.70 | 4.70 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#636C82
Deuteranopia (green-blind)
#7E7E7F
Tritanopia (blue-blind)
#C74F66
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #ba5581; /* rgb */ color: rgb(186, 85, 129); /* oklch */ color: oklch(58.8% 0.139 354.9);
Tailwind
colors: {
custom: {
50: '#d289a5',
500: '#ba5581',
950: '#000000',
},
}SCSS
$custom: #ba5581; $custom-light: #d289a5; $custom-dark: #000000;
JSON
{
"hex": "#ba5581",
"rgb": {
"r": 186,
"g": 85,
"b": 129
},
"hsl": {
"h": 333.861,
"s": 42.259,
"l": 53.137
},
"oklch": {
"l": 0.58814,
"c": 0.13872,
"h": 354.9
},
"luminance": 0.18521
}Semantic roles & 50–950 ramp
primary
#BA5581
secondary
#A0CBB8
accent
#D29C56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F