#BA528F#BA528F

#BA528F is a mid, vivid pink. Relative luminance 0.185; OKLCH L 58.9% C 0.151 H 346.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BA528F
RGBrgb(186, 82, 143)
HSLhsl(325, 43%, 53%)
HSVhsv(325, 56%, 73%)
CMYKcmyk(0%, 55.9%, 23.1%, 27.1%)
CIE-LABlab(50.05, 48.89, -13.39)
CIE-LCHlch(50.05, 50.69, 344.68°)
OKLaboklab(58.91% 0.1469 -0.0353)
OKLCHoklch(58.91% 0.151 346.5)
XYZxyz(28.2258, 18.4593, 28.0577)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA528F #52BA7D
analogous
#B152BA #BA528F #BA525B
triadic
#BA528F #8FBA52 #528FBA
tetradic
#BA528F #BAB152 #52BA7D #525BBA
square
#BA528F #BAB152 #52BA7D #525BBA
split-complementary
#BA528F #5BBA52 #52BAB1
monochromatic
#682A4E #943B6F #BA528F #CB7EAB #DDAAC8

Accessibility & contrast

On white

4.48
#BA528F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#BA528F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA528F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA528F#FFFFFF#000000##000000
##BA528F1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6C91
Deuteranopia (green-blind)
#797E8C
Tritanopia (blue-blind)
#C5506A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba528f;
/* rgb */ color: rgb(186, 82, 143);
/* oklch */ color: oklch(58.9% 0.151 346.5);
Tailwind
colors: {
  custom: {
    50: '#d187af',
    500: '#ba528f',
    950: '#000000',
  },
}
SCSS
$custom: #ba528f;
$custom-light: #d187af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba528f",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 324.808,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58913,
    "c": 0.15105,
    "h": 346.5
  },
  "luminance": 0.18457
}

Semantic roles & 50–950 ramp

primary
#BA528F
secondary
#9DCAB0
accent
#D38955
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA528F

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

Preview Lab → · Contrast checker → · Palette generator →

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