#BA528E#BA528E
#BA528E is a mid, vivid pink. Relative luminance 0.184; OKLCH L 58.9% C 0.150 H 347.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #BA528E |
|---|---|
| RGB | rgb(186, 82, 142) |
| HSL | hsl(325, 43%, 53%) |
| HSV | hsv(325, 56%, 73%) |
| CMYK | cmyk(0%, 55.9%, 23.7%, 27.1%) |
| CIE-LAB | lab(50.01, 48.75, -12.85) |
| CIE-LCH | lch(50.01, 50.42, 345.23°) |
| OKLab | oklab(58.87% 0.1466 -0.0338) |
| OKLCH | oklch(58.87% 0.15 347) |
| XYZ | xyz(28.1504, 18.4292, 27.6605) |
| Luminance | 0.1843 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.97
Purplish Pink
#CE5DAE
ΔE00 7.16
Purpleish
#98568D
ΔE00 7.41
Mediumvioletred
#C71585
ΔE00 7.91
Purplish
#94568C
ΔE00 8.27
Darkish Pink
#DA467D
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA528E #52BA7E
analogous
#B252BA #BA528E #BA525A
triadic
#BA528E #8EBA52 #528EBA
tetradic
#BA528E #BAB252 #52BA7E #525ABA
square
#BA528E #BAB252 #52BA7E #525ABA
split-complementary
#BA528E #5ABA52 #52BAB2
monochromatic
#682A4E #943B6E #BA528E #CB7EAB #DDAAC7
Accessibility & contrast
On white
4.48
#BA528E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#BA528E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA528E
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA528E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA528E | 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)
#5C6C90
Deuteranopia (green-blind)
#797E8B
Tritanopia (blue-blind)
#C6506A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #ba528e; /* rgb */ color: rgb(186, 82, 142); /* oklch */ color: oklch(58.9% 0.150 347.0);
Tailwind
colors: {
custom: {
50: '#d287af',
500: '#ba528e',
950: '#000000',
},
}SCSS
$custom: #ba528e; $custom-light: #d287af; $custom-dark: #000000;
JSON
{
"hex": "#ba528e",
"rgb": {
"r": 186,
"g": 82,
"b": 142
},
"hsl": {
"h": 325.385,
"s": 42.975,
"l": 52.549
},
"oklch": {
"l": 0.58874,
"c": 0.15044,
"h": 347
},
"luminance": 0.18427
}Semantic roles & 50–950 ramp
primary
#BA528E
secondary
#9DCAB0
accent
#D38A55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F