#BA57A3#BA57A3

#BA57A3 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.4% C 0.157 H 337.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA57A3
RGBrgb(186, 87, 163)
HSLhsl(314, 42%, 54%)
HSVhsv(314, 53%, 73%)
CMYKcmyk(0%, 53.2%, 12.4%, 27.1%)
CIE-LABlab(51.73, 49.52, -22.66)
CIE-LCHlch(51.73, 54.46, 335.41°)
OKLaboklab(60.41% 0.1446 -0.0611)
OKLCHoklch(60.41% 0.157 337.1)
XYZxyz(30.2690, 19.9020, 36.8905)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA57A3 #57BA6E
analogous
#9F57BA #BA57A3 #BA5771
triadic
#BA57A3 #A3BA57 #57A3BA
tetradic
#BA57A3 #BA9F57 #57BA6E #5771BA
square
#BA57A3 #BA9F57 #57BA6E #5771BA
split-complementary
#BA57A3 #71BA57 #57BA9F
monochromatic
#6B2C5C #963E82 #BA57A3 #CC82BB #DEAED3

Accessibility & contrast

On white

4.22
#BA57A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#BA57A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA57A3
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA57A3#FFFFFF#000000##000000
##BA57A31.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5972A6
Deuteranopia (green-blind)
#7581A0
Tritanopia (blue-blind)
#C35B75
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba57a3;
/* rgb */ color: rgb(186, 87, 163);
/* oklch */ color: oklch(60.4% 0.157 337.1);
Tailwind
colors: {
  custom: {
    50: '#d18abe',
    500: '#ba57a3',
    950: '#000000',
  },
}
SCSS
$custom: #ba57a3;
$custom-light: #d18abe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba57a3",
  "rgb": {
    "r": 186,
    "g": 87,
    "b": 163
  },
  "hsl": {
    "h": 313.939,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6041,
    "c": 0.15699,
    "h": 337.1
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#BA57A3
secondary
#A1CCAB
accent
#D27356
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BA57A3

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

Preview Lab → · Contrast checker → · Palette generator →

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