#BA44A4#BA44A4

#BA44A4 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.1% C 0.187 H 335.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA44A4
RGBrgb(186, 68, 164)
HSLhsl(311, 46%, 50%)
HSVhsv(311, 63%, 73%)
CMYKcmyk(0%, 63.4%, 11.8%, 27.1%)
CIE-LABlab(48.58, 58.31, -28.11)
CIE-LCHlch(48.58, 64.73, 334.26°)
OKLaboklab(58.11% 0.1702 -0.0764)
OKLCHoklch(58.11% 0.187 335.8)
XYZxyz(29.0180, 17.2561, 36.9172)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44A4 #44BA5A
analogous
#9544BA #BA44A4 #BA4469
triadic
#BA44A4 #A4BA44 #44A4BA
tetradic
#BA44A4 #BA9544 #44BA5A #4469BA
square
#BA44A4 #BA9544 #44BA5A #4469BA
split-complementary
#BA44A4 #69BA44 #44BA95
monochromatic
#602355 #8D347C #BA44A4 #CB70BA #DB9DD0

Accessibility & contrast

On white

4.72
#BA44A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BA44A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA44A4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44A4#FFFFFF#000000##FFFFFF
##BA44A41.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4568A7
Deuteranopia (green-blind)
#6A7AA1
Tritanopia (blue-blind)
#C34B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba44a4;
/* rgb */ color: rgb(186, 68, 164);
/* oklch */ color: oklch(58.1% 0.187 335.8);
Tailwind
colors: {
  custom: {
    50: '#d280bf',
    500: '#ba44a4',
    950: '#000000',
  },
}
SCSS
$custom: #ba44a4;
$custom-light: #d280bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44a4",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 164
  },
  "hsl": {
    "h": 311.186,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5811,
    "c": 0.18656,
    "h": 335.8
  },
  "luminance": 0.17254
}

Semantic roles & 50–950 ramp

primary
#BA44A4
secondary
#92C89C
accent
#D66A52
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA44A4

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

Preview Lab → · Contrast checker → · Palette generator →

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