#BA528A#BA528A
#BA528A is a mid, vivid pink. Relative luminance 0.183; OKLCH L 58.7% C 0.148 H 349.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #BA528A |
|---|---|
| RGB | rgb(186, 82, 138) |
| HSL | hsl(328, 43%, 53%) |
| HSV | hsv(328, 56%, 73%) |
| CMYK | cmyk(0%, 55.9%, 25.8%, 27.1%) |
| CIE-LAB | lab(49.87, 48.19, -10.68) |
| CIE-LCH | lch(49.87, 49.36, 347.51°) |
| OKLab | oklab(58.72% 0.1454 -0.0279) |
| OKLCH | oklch(58.72% 0.148 349.1) |
| XYZ | xyz(27.8554, 18.3112, 26.1072) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.95
Darkish Pink
#DA467D
ΔE00 7.75
Purpleish
#98568D
ΔE00 7.84
Purplish Pink
#CE5DAE
ΔE00 7.86
Mediumvioletred
#C71585
ΔE00 7.97
Purplish
#94568C
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA528A #52BA82
analogous
#B652BA #BA528A #BA5256
triadic
#BA528A #8ABA52 #528ABA
tetradic
#BA528A #BAB652 #52BA82 #5256BA
square
#BA528A #BAB652 #52BA82 #5256BA
split-complementary
#BA528A #56BA52 #52BAB6
monochromatic
#682A4B #943B6B #BA528A #CB7EA8 #DDAAC5
Accessibility & contrast
On white
4.50
#BA528A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#BA528A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA528A
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA528A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA528A | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E6B8C
Deuteranopia (green-blind)
#7A7D87
Tritanopia (blue-blind)
#C64F68
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #ba528a; /* rgb */ color: rgb(186, 82, 138); /* oklch */ color: oklch(58.7% 0.148 349.1);
Tailwind
colors: {
custom: {
50: '#d287ac',
500: '#ba528a',
950: '#000000',
},
}SCSS
$custom: #ba528a; $custom-light: #d287ac; $custom-dark: #000000;
JSON
{
"hex": "#ba528a",
"rgb": {
"r": 186,
"g": 82,
"b": 138
},
"hsl": {
"h": 327.692,
"s": 42.975,
"l": 52.549
},
"oklch": {
"l": 0.58723,
"c": 0.14809,
"h": 349.1
},
"luminance": 0.18309
}Semantic roles & 50–950 ramp
primary
#BA528A
secondary
#9DCAB2
accent
#D38F55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F