#BA529E#BA529E
#BA529E is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.5% C 0.161 H 339.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #BA529E |
|---|---|
| RGB | rgb(186, 82, 158) |
| HSL | hsl(316, 43%, 53%) |
| HSV | hsv(316, 56%, 73%) |
| CMYK | cmyk(0%, 55.9%, 15.1%, 27.1%) |
| CIE-LAB | lab(50.62, 51.13, -21.41) |
| CIE-LCH | lch(50.62, 55.43, 337.28°) |
| OKLab | oklab(59.53% 0.1506 -0.0576) |
| OKLCH | oklch(59.53% 0.161 339.1) |
| XYZ | xyz(29.4390, 18.9446, 34.4473) |
| Luminance | 0.1894 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.40
Pinky Purple
#C94CBE
ΔE00 6.11
Purpley Pink
#C83CB9
ΔE00 6.20
Purpleish
#98568D
ΔE00 7.02
Ugly Purple
#A442A0
ΔE00 7.30
Light Plum
#9D5783
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA529E #52BA6E
analogous
#A252BA #BA529E #BA526A
triadic
#BA529E #9EBA52 #529EBA
tetradic
#BA529E #BAA252 #52BA6E #526ABA
square
#BA529E #BAA252 #52BA6E #526ABA
split-complementary
#BA529E #6ABA52 #52BAA2
monochromatic
#682A57 #943B7C #BA529E #CB7EB7 #DDAACF
Accessibility & contrast
On white
4.39
#BA529E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#BA529E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA529E
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA529E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA529E | 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)
#566EA0
Deuteranopia (green-blind)
#747F9B
Tritanopia (blue-blind)
#C45571
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ba529e; /* rgb */ color: rgb(186, 82, 158); /* oklch */ color: oklch(59.5% 0.161 339.1);
Tailwind
colors: {
custom: {
50: '#d187ba',
500: '#ba529e',
950: '#000000',
},
}SCSS
$custom: #ba529e; $custom-light: #d187ba; $custom-dark: #000000;
JSON
{
"hex": "#ba529e",
"rgb": {
"r": 186,
"g": 82,
"b": 158
},
"hsl": {
"h": 316.154,
"s": 42.975,
"l": 52.549
},
"oklch": {
"l": 0.59527,
"c": 0.16123,
"h": 339.1
},
"luminance": 0.18942
}Semantic roles & 50–950 ramp
primary
#BA529E
secondary
#9DCAA9
accent
#D37755
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80