#BA587B#BA587B
#BA587B is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.0% C 0.132 H 359.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #BA587B |
|---|---|
| RGB | rgb(186, 88, 123) |
| HSL | hsl(339, 42%, 54%) |
| HSV | hsv(339, 53%, 73%) |
| CMYK | cmyk(0%, 52.7%, 33.9%, 27.1%) |
| CIE-LAB | lab(50.51, 43.27, -0.76) |
| CIE-LCH | lch(50.51, 43.27, 359.00°) |
| OKLab | oklab(59.04% 0.1315 -0.0014) |
| OKLCH | oklch(59.04% 0.132 359.4) |
| XYZ | xyz(27.3159, 18.8512, 20.9351) |
| Luminance | 0.1885 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.88
Darkish Pink
#DA467D
ΔE00 6.00
Deep Rose
#C74767
ΔE00 6.13
Dusky Rose
#BA6873
ΔE00 7.28
Rose (survey)
#CF6275
ΔE00 7.61
Blush
#DE5D83
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA587B #58BA97
analogous
#BA58AC #BA587B #BA6658
triadic
#BA587B #7BBA58 #587BBA
tetradic
#BA587B #ACBA58 #58BA97 #6658BA
square
#BA587B #ACBA58 #58BA97 #6658BA
split-complementary
#BA587B #58BA66 #58ACBA
monochromatic
#6B2C43 #973E5E #BA587B #CC839D #DEAFBF
Accessibility & contrast
On white
4.40
#BA587B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#BA587B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA587B
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA587B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA587B | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#676D7C
Deuteranopia (green-blind)
#817F79
Tritanopia (blue-blind)
#C75165
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ba587b; /* rgb */ color: rgb(186, 88, 123); /* oklch */ color: oklch(59.0% 0.132 359.4);
Tailwind
colors: {
custom: {
50: '#d28aa1',
500: '#ba587b',
950: '#000000',
},
}SCSS
$custom: #ba587b; $custom-light: #d28aa1; $custom-dark: #000000;
JSON
{
"hex": "#ba587b",
"rgb": {
"r": 186,
"g": 88,
"b": 123
},
"hsl": {
"h": 338.571,
"s": 41.525,
"l": 53.725
},
"oklch": {
"l": 0.59044,
"c": 0.13154,
"h": 359.4
},
"luminance": 0.18849
}Semantic roles & 50–950 ramp
primary
#BA587B
secondary
#A2CCBD
accent
#D1A556
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E