#BA528D#BA528D

#BA528D is a mid, vivid pink. Relative luminance 0.184; OKLCH L 58.8% C 0.150 H 347.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA528D
RGBrgb(186, 82, 141)
HSLhsl(326, 43%, 53%)
HSVhsv(326, 56%, 73%)
CMYKcmyk(0%, 55.9%, 24.2%, 27.1%)
CIE-LABlab(49.98, 48.61, -12.31)
CIE-LCHlch(49.98, 50.14, 345.79°)
OKLaboklab(58.84% 0.1463 -0.0323)
OKLCHoklch(58.84% 0.15 347.5)
XYZxyz(28.0756, 18.3993, 27.2669)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA528D #52BA7F
analogous
#B352BA #BA528D #BA5259
triadic
#BA528D #8DBA52 #528DBA
tetradic
#BA528D #BAB352 #52BA7F #5259BA
square
#BA528D #BAB352 #52BA7F #5259BA
split-complementary
#BA528D #59BA52 #52BAB3
monochromatic
#682A4D #943B6D #BA528D #CB7EAA #DDAAC7

Accessibility & contrast

On white

4.49
#BA528D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BA528D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA528D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA528D#FFFFFF#000000##000000
##BA528D1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C8F
Deuteranopia (green-blind)
#797E8A
Tritanopia (blue-blind)
#C65069
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba528d;
/* rgb */ color: rgb(186, 82, 141);
/* oklch */ color: oklch(58.8% 0.150 347.5);
Tailwind
colors: {
  custom: {
    50: '#d287ae',
    500: '#ba528d',
    950: '#000000',
  },
}
SCSS
$custom: #ba528d;
$custom-light: #d287ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba528d",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 325.962,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58836,
    "c": 0.14984,
    "h": 347.5
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#BA528D
secondary
#9DCAB1
accent
#D38B55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA528D

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

Preview Lab → · Contrast checker → · Palette generator →

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