#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
RGBrgb(186, 82, 158)
HSLhsl(316, 43%, 53%)
HSVhsv(316, 56%, 73%)
CMYKcmyk(0%, 55.9%, 15.1%, 27.1%)
CIE-LABlab(50.62, 51.13, -21.41)
CIE-LCHlch(50.62, 55.43, 337.28°)
OKLaboklab(59.53% 0.1506 -0.0576)
OKLCHoklch(59.53% 0.161 339.1)
XYZxyz(29.4390, 18.9446, 34.4473)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##BA529E1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.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

Preview Lab

Preview with #BA529E

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

Preview Lab → · Contrast checker → · Palette generator →

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