#BA528E#BA528E

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

Color values

HEX#BA528E
RGBrgb(186, 82, 142)
HSLhsl(325, 43%, 53%)
HSVhsv(325, 56%, 73%)
CMYKcmyk(0%, 55.9%, 23.7%, 27.1%)
CIE-LABlab(50.01, 48.75, -12.85)
CIE-LCHlch(50.01, 50.42, 345.23°)
OKLaboklab(58.87% 0.1466 -0.0338)
OKLCHoklch(58.87% 0.15 347)
XYZxyz(28.1504, 18.4292, 27.6605)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA528E #52BA7E
analogous
#B252BA #BA528E #BA525A
triadic
#BA528E #8EBA52 #528EBA
tetradic
#BA528E #BAB252 #52BA7E #525ABA
square
#BA528E #BAB252 #52BA7E #525ABA
split-complementary
#BA528E #5ABA52 #52BAB2
monochromatic
#682A4E #943B6E #BA528E #CB7EAB #DDAAC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA528E#FFFFFF#000000##000000
##BA528E1.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)
#5C6C90
Deuteranopia (green-blind)
#797E8B
Tritanopia (blue-blind)
#C6506A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba528e;
/* rgb */ color: rgb(186, 82, 142);
/* oklch */ color: oklch(58.9% 0.150 347.0);
Tailwind
colors: {
  custom: {
    50: '#d287af',
    500: '#ba528e',
    950: '#000000',
  },
}
SCSS
$custom: #ba528e;
$custom-light: #d287af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba528e",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 325.385,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58874,
    "c": 0.15044,
    "h": 347
  },
  "luminance": 0.18427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA528E

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

Preview Lab → · Contrast checker → · Palette generator →

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