#BA5681#BA5681
#BA5681 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.0% C 0.137 H 355.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5681 |
|---|---|
| RGB | rgb(186, 86, 129) |
| HSL | hsl(334, 42%, 53%) |
| HSV | hsv(334, 54%, 73%) |
| CMYK | cmyk(0%, 53.8%, 30.6%, 27.1%) |
| CIE-LAB | lab(50.31, 45.03, -4.64) |
| CIE-LCH | lch(50.31, 45.27, 354.12°) |
| OKLab | oklab(58.96% 0.1367 -0.0117) |
| OKLCH | oklch(58.96% 0.137 355.1) |
| XYZ | xyz(27.5411, 18.6822, 22.9202) |
| Luminance | 0.1868 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 6.33
Light Plum
#9D5783
ΔE00 6.88
Dark Pink
#CB416B
ΔE00 6.94
Deep Rose
#C74767
ΔE00 7.62
Blush
#DE5D83
ΔE00 8.50
Mauve (survey)
#AE7181
ΔE00 8.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5681 #56BA8F
analogous
#BA56B3 #BA5681 #BA5D56
triadic
#BA5681 #81BA56 #5681BA
tetradic
#BA5681 #B3BA56 #56BA8F #5D56BA
square
#BA5681 #B3BA56 #56BA8F #5D56BA
split-complementary
#BA5681 #56BA5D #56B3BA
monochromatic
#6A2B46 #963D63 #BA5681 #CC81A1 #DDADC2
Accessibility & contrast
On white
4.43
#BA5681 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#BA5681 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5681
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5681 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5681 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646C82
Deuteranopia (green-blind)
#7E7F7F
Tritanopia (blue-blind)
#C75066
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ba5681; /* rgb */ color: rgb(186, 86, 129); /* oklch */ color: oklch(59.0% 0.137 355.1);
Tailwind
colors: {
custom: {
50: '#d289a5',
500: '#ba5681',
950: '#000000',
},
}SCSS
$custom: #ba5681; $custom-light: #d289a5; $custom-dark: #000000;
JSON
{
"hex": "#ba5681",
"rgb": {
"r": 186,
"g": 86,
"b": 129
},
"hsl": {
"h": 334.2,
"s": 42.017,
"l": 53.333
},
"oklch": {
"l": 0.58955,
"c": 0.13716,
"h": 355.1
},
"luminance": 0.1868
}Semantic roles & 50–950 ramp
primary
#BA5681
secondary
#A0CBB9
accent
#D29D56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F