#BA538E#BA538E
#BA538E is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.0% C 0.149 H 347.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #BA538E |
|---|---|
| RGB | rgb(186, 83, 142) |
| HSL | hsl(326, 43%, 53%) |
| HSV | hsv(326, 55%, 73%) |
| CMYK | cmyk(0%, 55.4%, 23.7%, 27.1%) |
| CIE-LAB | lab(50.19, 48.27, -12.58) |
| CIE-LCH | lch(50.19, 49.88, 345.39°) |
| OKLab | oklab(59.01% 0.1451 -0.0331) |
| OKLCH | oklch(59.01% 0.149 347.2) |
| XYZ | xyz(28.2263, 18.5811, 27.6859) |
| Luminance | 0.1858 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.98
Purplish Pink
#CE5DAE
ΔE00 7.09
Purpleish
#98568D
ΔE00 7.47
Mediumvioletred
#C71585
ΔE00 8.14
Purplish
#94568C
ΔE00 8.34
Darkish Pink
#DA467D
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA538E #53BA7F
analogous
#B353BA #BA538E #BA535A
triadic
#BA538E #8EBA53 #538EBA
tetradic
#BA538E #BAB353 #53BA7F #535ABA
square
#BA538E #BAB353 #53BA7F #535ABA
split-complementary
#BA538E #5ABA53 #53BAB3
monochromatic
#692A4E #943B6E #BA538E #CC7FAB #DDAAC7
Accessibility & contrast
On white
4.45
#BA538E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#BA538E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA538E
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA538E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA538E | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D6C90
Deuteranopia (green-blind)
#7A7E8B
Tritanopia (blue-blind)
#C5516A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #ba538e; /* rgb */ color: rgb(186, 83, 142); /* oklch */ color: oklch(59.0% 0.149 347.2);
Tailwind
colors: {
custom: {
50: '#d188af',
500: '#ba538e',
950: '#000000',
},
}SCSS
$custom: #ba538e; $custom-light: #d188af; $custom-dark: #000000;
JSON
{
"hex": "#ba538e",
"rgb": {
"r": 186,
"g": 83,
"b": 142
},
"hsl": {
"h": 325.631,
"s": 42.739,
"l": 52.745
},
"oklch": {
"l": 0.59009,
"c": 0.14885,
"h": 347.2
},
"luminance": 0.18579
}Semantic roles & 50–950 ramp
primary
#BA538E
secondary
#9ECBB1
accent
#D38B55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F