#BA538A#BA538A
#BA538A is a mid, vivid pink. Relative luminance 0.185; OKLCH L 58.9% C 0.147 H 349.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #BA538A |
|---|---|
| RGB | rgb(186, 83, 138) |
| HSL | hsl(328, 43%, 53%) |
| HSV | hsv(328, 55%, 73%) |
| CMYK | cmyk(0%, 55.4%, 25.8%, 27.1%) |
| CIE-LAB | lab(50.05, 47.71, -10.41) |
| CIE-LCH | lch(50.05, 48.83, 347.70°) |
| OKLab | oklab(58.86% 0.144 -0.0271) |
| OKLCH | oklch(58.86% 0.147 349.3) |
| XYZ | xyz(27.9314, 18.4631, 26.1325) |
| Luminance | 0.1846 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.97
Darkish Pink
#DA467D
ΔE00 7.69
Purplish Pink
#CE5DAE
ΔE00 7.81
Purpleish
#98568D
ΔE00 7.91
Mediumvioletred
#C71585
ΔE00 8.21
Purplish
#94568C
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA538A #53BA83
analogous
#B753BA #BA538A #BA5356
triadic
#BA538A #8ABA53 #538ABA
tetradic
#BA538A #BAB753 #53BA83 #5356BA
square
#BA538A #BAB753 #53BA83 #5356BA
split-complementary
#BA538A #56BA53 #53BAB7
monochromatic
#692A4B #943B6B #BA538A #CC7FA8 #DDAAC5
Accessibility & contrast
On white
4.48
#BA538A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#BA538A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA538A
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA538A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA538A | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F6C8C
Deuteranopia (green-blind)
#7B7E87
Tritanopia (blue-blind)
#C65068
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #ba538a; /* rgb */ color: rgb(186, 83, 138); /* oklch */ color: oklch(58.9% 0.147 349.3);
Tailwind
colors: {
custom: {
50: '#d288ac',
500: '#ba538a',
950: '#000000',
},
}SCSS
$custom: #ba538a; $custom-light: #d288ac; $custom-dark: #000000;
JSON
{
"hex": "#ba538a",
"rgb": {
"r": 186,
"g": 83,
"b": 138
},
"hsl": {
"h": 327.961,
"s": 42.739,
"l": 52.745
},
"oklch": {
"l": 0.58858,
"c": 0.14651,
"h": 349.3
},
"luminance": 0.18461
}Semantic roles & 50–950 ramp
primary
#BA538A
secondary
#9ECBB3
accent
#D39055
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F