#BA528C#BA528C

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

Color values

HEX#BA528C
RGBrgb(186, 82, 140)
HSLhsl(327, 43%, 53%)
HSVhsv(327, 56%, 73%)
CMYKcmyk(0%, 55.9%, 24.7%, 27.1%)
CIE-LABlab(49.94, 48.47, -11.77)
CIE-LCHlch(49.94, 49.88, 346.35°)
OKLaboklab(58.8% 0.146 -0.0309)
OKLCHoklch(58.8% 0.149 348.1)
XYZxyz(28.0015, 18.3697, 26.8768)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA528C #52BA80
analogous
#B452BA #BA528C #BA5258
triadic
#BA528C #8CBA52 #528CBA
tetradic
#BA528C #BAB452 #52BA80 #5258BA
square
#BA528C #BAB452 #52BA80 #5258BA
split-complementary
#BA528C #58BA52 #52BAB4
monochromatic
#682A4C #943B6D #BA528C #CB7EA9 #DDAAC6

Accessibility & contrast

On white

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

On black

4.67
#BA528C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA528C
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA528C#FFFFFF#000000##000000
##BA528C1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C8E
Deuteranopia (green-blind)
#7A7D89
Tritanopia (blue-blind)
#C64F69
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba528c;
/* rgb */ color: rgb(186, 82, 140);
/* oklch */ color: oklch(58.8% 0.149 348.1);
Tailwind
colors: {
  custom: {
    50: '#d287ad',
    500: '#ba528c',
    950: '#000000',
  },
}
SCSS
$custom: #ba528c;
$custom-light: #d287ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba528c",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 326.538,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58798,
    "c": 0.14925,
    "h": 348.1
  },
  "luminance": 0.18367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA528C

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

Preview Lab → · Contrast checker → · Palette generator →

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