#BA5986#BA5986
#BA5986 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 59.6% C 0.135 H 352.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5986 |
|---|---|
| RGB | rgb(186, 89, 134) |
| HSL | hsl(332, 41%, 54%) |
| HSV | hsv(332, 52%, 73%) |
| CMYK | cmyk(0%, 52.2%, 28%, 27.1%) |
| CIE-LAB | lab(51.05, 44.20, -6.54) |
| CIE-LCH | lch(51.05, 44.68, 351.59°) |
| OKLab | oklab(59.56% 0.1337 -0.0167) |
| OKLCH | oklch(59.56% 0.135 352.9) |
| XYZ | xyz(28.1262, 19.3076, 24.7951) |
| Luminance | 0.1930 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.62
Darkish Pink
#DA467D
ΔE00 6.88
Dark Pink
#CB416B
ΔE00 8.06
Purplish Pink
#CE5DAE
ΔE00 8.65
Blush
#DE5D83
ΔE00 8.66
Mauve (survey)
#AE7181
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5986 #59BA8D
analogous
#BA59B7 #BA5986 #BA5D59
triadic
#BA5986 #86BA59 #5986BA
tetradic
#BA5986 #B7BA59 #59BA8D #5D59BA
square
#BA5986 #B7BA59 #59BA8D #5D59BA
split-complementary
#BA5986 #59BA5D #59B7BA
monochromatic
#6C2D4A #973F68 #BA5986 #CC84A6 #DEAFC5
Accessibility & contrast
On white
4.32
#BA5986 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#BA5986 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5986
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5986 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5986 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#656F87
Deuteranopia (green-blind)
#7F8084
Tritanopia (blue-blind)
#C6546A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #ba5986; /* rgb */ color: rgb(186, 89, 134); /* oklch */ color: oklch(59.6% 0.135 352.9);
Tailwind
colors: {
custom: {
50: '#d18ba9',
500: '#ba5986',
950: '#000000',
},
}SCSS
$custom: #ba5986; $custom-light: #d18ba9; $custom-dark: #000000;
JSON
{
"hex": "#ba5986",
"rgb": {
"r": 186,
"g": 89,
"b": 134
},
"hsl": {
"h": 332.165,
"s": 41.277,
"l": 53.922
},
"oklch": {
"l": 0.59555,
"c": 0.13476,
"h": 352.9
},
"luminance": 0.19305
}Semantic roles & 50–950 ramp
primary
#BA5986
secondary
#A3CCB9
accent
#D19857
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F