#BA44A2#BA44A2

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

Color values

HEX#BA44A2
RGBrgb(186, 68, 162)
HSLhsl(312, 46%, 50%)
HSVhsv(312, 63%, 73%)
CMYKcmyk(0%, 63.4%, 12.9%, 27.1%)
CIE-LABlab(48.49, 58.00, -27.07)
CIE-LCHlch(48.49, 64.01, 334.98°)
OKLaboklab(58.02% 0.1699 -0.0734)
OKLCHoklch(58.02% 0.185 336.6)
XYZxyz(28.8388, 17.1844, 35.9735)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44A2 #44BA5C
analogous
#9744BA #BA44A2 #BA4467
triadic
#BA44A2 #A2BA44 #44A2BA
tetradic
#BA44A2 #BA9744 #44BA5C #4467BA
square
#BA44A2 #BA9744 #44BA5C #4467BA
split-complementary
#BA44A2 #67BA44 #44BA97
monochromatic
#602354 #8D347B #BA44A2 #CB70B8 #DB9DCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA44A2#FFFFFF#000000##FFFFFF
##BA44A21.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)
#4668A5
Deuteranopia (green-blind)
#6B7A9F
Tritanopia (blue-blind)
#C34A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba44a2;
/* rgb */ color: rgb(186, 68, 162);
/* oklch */ color: oklch(58.0% 0.185 336.6);
Tailwind
colors: {
  custom: {
    50: '#d280be',
    500: '#ba44a2',
    950: '#000000',
  },
}
SCSS
$custom: #ba44a2;
$custom-light: #d280be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44a2",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 162
  },
  "hsl": {
    "h": 312.203,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58016,
    "c": 0.18508,
    "h": 336.6
  },
  "luminance": 0.17182
}

Semantic roles & 50–950 ramp

primary
#BA44A2
secondary
#92C89D
accent
#D66D52
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA44A2

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

Preview Lab → · Contrast checker → · Palette generator →

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