#BA44A3#BA44A3

#BA44A3 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.1% C 0.186 H 336.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BA44A3
RGBrgb(186, 68, 163)
HSLhsl(312, 46%, 50%)
HSVhsv(312, 63%, 73%)
CMYKcmyk(0%, 63.4%, 12.4%, 27.1%)
CIE-LABlab(48.54, 58.16, -27.59)
CIE-LCHlch(48.54, 64.37, 334.62°)
OKLaboklab(58.06% 0.17 -0.0749)
OKLCHoklch(58.06% 0.186 336.2)
XYZxyz(28.9280, 17.2201, 36.4435)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44A3 #44BA5B
analogous
#9644BA #BA44A3 #BA4468
triadic
#BA44A3 #A3BA44 #44A3BA
tetradic
#BA44A3 #BA9644 #44BA5B #4468BA
square
#BA44A3 #BA9644 #44BA5B #4468BA
split-complementary
#BA44A3 #68BA44 #44BA96
monochromatic
#602354 #8D347C #BA44A3 #CB70B9 #DB9DCF

Accessibility & contrast

On white

4.73
#BA44A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BA44A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA44A3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44A3#FFFFFF#000000##FFFFFF
##BA44A31.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A6
Deuteranopia (green-blind)
#6B7AA0
Tritanopia (blue-blind)
#C34A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba44a3;
/* rgb */ color: rgb(186, 68, 163);
/* oklch */ color: oklch(58.1% 0.186 336.2);
Tailwind
colors: {
  custom: {
    50: '#d280be',
    500: '#ba44a3',
    950: '#000000',
  },
}
SCSS
$custom: #ba44a3;
$custom-light: #d280be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44a3",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 163
  },
  "hsl": {
    "h": 311.695,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.18582,
    "h": 336.2
  },
  "luminance": 0.17218
}

Semantic roles & 50–950 ramp

primary
#BA44A3
secondary
#92C89D
accent
#D66C52
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA44A3

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

Preview Lab → · Contrast checker → · Palette generator →

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