#BA528B#BA528B

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

Color values

HEX#BA528B
RGBrgb(186, 82, 139)
HSLhsl(327, 43%, 53%)
HSVhsv(327, 56%, 73%)
CMYKcmyk(0%, 55.9%, 25.3%, 27.1%)
CIE-LABlab(49.91, 48.33, -11.22)
CIE-LCHlch(49.91, 49.61, 346.93°)
OKLaboklab(58.76% 0.1457 -0.0294)
OKLCHoklch(58.76% 0.149 348.6)
XYZxyz(27.9281, 18.3403, 26.4903)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA528B #52BA81
analogous
#B552BA #BA528B #BA5257
triadic
#BA528B #8BBA52 #528BBA
tetradic
#BA528B #BAB552 #52BA81 #5257BA
square
#BA528B #BAB552 #52BA81 #5257BA
split-complementary
#BA528B #57BA52 #52BAB5
monochromatic
#682A4C #943B6C #BA528B #CB7EA8 #DDAAC6

Accessibility & contrast

On white

4.50
#BA528B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA528B#FFFFFF#000000##000000
##BA528B1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6B8D
Deuteranopia (green-blind)
#7A7D88
Tritanopia (blue-blind)
#C64F68
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba528b;
/* rgb */ color: rgb(186, 82, 139);
/* oklch */ color: oklch(58.8% 0.149 348.6);
Tailwind
colors: {
  custom: {
    50: '#d287ad',
    500: '#ba528b',
    950: '#000000',
  },
}
SCSS
$custom: #ba528b;
$custom-light: #d287ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba528b",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 327.115,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5876,
    "c": 0.14866,
    "h": 348.6
  },
  "luminance": 0.18338
}

Semantic roles & 50–950 ramp

primary
#BA528B
secondary
#9DCAB2
accent
#D38E55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA528B

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

Preview Lab → · Contrast checker → · Palette generator →

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