#BA588E#BA588E
#BA588E is a mid, vivid pink. Relative luminance 0.194; OKLCH L 59.7% C 0.141 H 348.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #BA588E |
|---|---|
| RGB | rgb(186, 88, 142) |
| HSL | hsl(327, 42%, 54%) |
| HSV | hsv(327, 53%, 73%) |
| CMYK | cmyk(0%, 52.7%, 23.7%, 27.1%) |
| CIE-LAB | lab(51.12, 45.82, -11.18) |
| CIE-LCH | lch(51.12, 47.17, 346.29°) |
| OKLab | oklab(59.7% 0.1377 -0.0293) |
| OKLCH | oklch(59.7% 0.141 348) |
| XYZ | xyz(28.6228, 19.3740, 27.8180) |
| Luminance | 0.1937 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.16
Purplish Pink
#CE5DAE
ΔE00 6.91
Purpleish
#98568D
ΔE00 7.93
Darkish Pink
#DA467D
ΔE00 8.10
Pale Magenta
#D767AD
ΔE00 8.11
Purplish
#94568C
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA588E #58BA84
analogous
#B558BA #BA588E #BA585D
triadic
#BA588E #8EBA58 #588EBA
tetradic
#BA588E #BAB558 #58BA84 #585DBA
square
#BA588E #BAB558 #58BA84 #585DBA
split-complementary
#BA588E #5DBA58 #58BAB5
monochromatic
#6B2C4F #973E6F #BA588E #CC83AB #DEAFC9
Accessibility & contrast
On white
4.31
#BA588E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#BA588E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA588E
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA588E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA588E | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#626F90
Deuteranopia (green-blind)
#7C808C
Tritanopia (blue-blind)
#C5566D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #ba588e; /* rgb */ color: rgb(186, 88, 142); /* oklch */ color: oklch(59.7% 0.141 348.0);
Tailwind
colors: {
custom: {
50: '#d18baf',
500: '#ba588e',
950: '#000000',
},
}SCSS
$custom: #ba588e; $custom-light: #d18baf; $custom-dark: #000000;
JSON
{
"hex": "#ba588e",
"rgb": {
"r": 186,
"g": 88,
"b": 142
},
"hsl": {
"h": 326.939,
"s": 41.525,
"l": 53.725
},
"oklch": {
"l": 0.59701,
"c": 0.14079,
"h": 348
},
"luminance": 0.19372
}Semantic roles & 50–950 ramp
primary
#BA588E
secondary
#A2CCB5
accent
#D18E56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F