#BA587E#BA587E
#BA587E is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.1% C 0.133 H 357.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #BA587E |
|---|---|
| RGB | rgb(186, 88, 126) |
| HSL | hsl(337, 42%, 54%) |
| HSV | hsv(337, 53%, 73%) |
| CMYK | cmyk(0%, 52.7%, 32.3%, 27.1%) |
| CIE-LAB | lab(50.60, 43.65, -2.42) |
| CIE-LCH | lch(50.60, 43.72, 356.83°) |
| OKLab | oklab(59.14% 0.1326 -0.0058) |
| OKLCH | oklch(59.14% 0.133 357.5) |
| XYZ | xyz(27.5066, 18.9275, 21.9393) |
| Luminance | 0.1893 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 6.11
Dark Pink
#CB416B
ΔE00 6.41
Deep Rose
#C74767
ΔE00 6.84
Light Plum
#9D5783
ΔE00 7.57
Blush
#DE5D83
ΔE00 7.86
Dusky Rose
#BA6873
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA587E #58BA94
analogous
#BA58AF #BA587E #BA6358
triadic
#BA587E #7EBA58 #587EBA
tetradic
#BA587E #AFBA58 #58BA94 #6358BA
square
#BA587E #AFBA58 #58BA94 #6358BA
split-complementary
#BA587E #58BA63 #58AFBA
monochromatic
#6B2C45 #973E60 #BA587E #CC839F #DEAFC1
Accessibility & contrast
On white
4.39
#BA587E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#BA587E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA587E
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA587E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA587E | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#676D7F
Deuteranopia (green-blind)
#807F7C
Tritanopia (blue-blind)
#C75166
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ba587e; /* rgb */ color: rgb(186, 88, 126); /* oklch */ color: oklch(59.1% 0.133 357.5);
Tailwind
colors: {
custom: {
50: '#d28aa3',
500: '#ba587e',
950: '#000000',
},
}SCSS
$custom: #ba587e; $custom-light: #d28aa3; $custom-dark: #000000;
JSON
{
"hex": "#ba587e",
"rgb": {
"r": 186,
"g": 88,
"b": 126
},
"hsl": {
"h": 336.735,
"s": 41.525,
"l": 53.725
},
"oklch": {
"l": 0.59141,
"c": 0.13271,
"h": 357.5
},
"luminance": 0.18925
}Semantic roles & 50–950 ramp
primary
#BA587E
secondary
#A2CCBC
accent
#D1A256
background
#FDF8FA
surface
#FAF0F3
border
#D3CBCD
text
#140C0F
muted
#837D7F