#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
RGBrgb(186, 82, 138)
HSLhsl(328, 43%, 53%)
HSVhsv(328, 56%, 73%)
CMYKcmyk(0%, 55.9%, 25.8%, 27.1%)
CIE-LABlab(49.87, 48.19, -10.68)
CIE-LCHlch(49.87, 49.36, 347.51°)
OKLaboklab(58.72% 0.1454 -0.0279)
OKLCHoklch(58.72% 0.148 349.1)
XYZxyz(27.8554, 18.3112, 26.1072)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##BA528A1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.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

Preview Lab

Preview with #BA528A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BA528A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva