#BA56A3#BA56A3

#BA56A3 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.3% C 0.159 H 337.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA56A3
RGBrgb(186, 86, 163)
HSLhsl(314, 42%, 53%)
HSVhsv(314, 54%, 73%)
CMYKcmyk(0%, 53.8%, 12.4%, 27.1%)
CIE-LABlab(51.54, 50.01, -22.94)
CIE-LCHlch(51.54, 55.02, 335.36°)
OKLaboklab(60.28% 0.146 -0.0619)
OKLCHoklch(60.28% 0.159 337)
XYZxyz(30.1886, 19.7412, 36.8637)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA56A3 #56BA6D
analogous
#9F56BA #BA56A3 #BA5671
triadic
#BA56A3 #A3BA56 #56A3BA
tetradic
#BA56A3 #BA9F56 #56BA6D #5671BA
square
#BA56A3 #BA9F56 #56BA6D #5671BA
split-complementary
#BA56A3 #71BA56 #56BA9F
monochromatic
#6A2B5C #963D81 #BA56A3 #CC81BB #DDADD2

Accessibility & contrast

On white

4.24
#BA56A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#BA56A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA56A3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA56A3#FFFFFF#000000##000000
##BA56A31.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5871A6
Deuteranopia (green-blind)
#7580A0
Tritanopia (blue-blind)
#C35A75
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba56a3;
/* rgb */ color: rgb(186, 86, 163);
/* oklch */ color: oklch(60.3% 0.159 337.0);
Tailwind
colors: {
  custom: {
    50: '#d18abe',
    500: '#ba56a3',
    950: '#000000',
  },
}
SCSS
$custom: #ba56a3;
$custom-light: #d18abe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba56a3",
  "rgb": {
    "r": 186,
    "g": 86,
    "b": 163
  },
  "hsl": {
    "h": 313.8,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60275,
    "c": 0.15861,
    "h": 337
  },
  "luminance": 0.19739
}

Semantic roles & 50–950 ramp

primary
#BA56A3
secondary
#A0CBAA
accent
#D27256
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BA56A3

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

Preview Lab → · Contrast checker → · Palette generator →

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