#BA43A1#BA43A1

#BA43A1 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.9% C 0.186 H 337.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA43A1
RGBrgb(186, 67, 161)
HSLhsl(313, 47%, 50%)
HSVhsv(313, 64%, 73%)
CMYKcmyk(0%, 64%, 13.4%, 27.1%)
CIE-LABlab(48.30, 58.26, -26.78)
CIE-LCHlch(48.30, 64.12, 335.31°)
OKLaboklab(57.86% 0.171 -0.0726)
OKLCHoklch(57.86% 0.186 337)
XYZxyz(28.6903, 17.0290, 35.4872)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43A1 #43BA5C
analogous
#9843BA #BA43A1 #BA4366
triadic
#BA43A1 #A1BA43 #43A1BA
tetradic
#BA43A1 #BA9843 #43BA5C #4366BA
square
#BA43A1 #BA9843 #43BA5C #4366BA
split-complementary
#BA43A1 #66BA43 #43BA98
monochromatic
#602353 #8D337A #BA43A1 #CB6FB8 #DB9CCE

Accessibility & contrast

On white

4.77
#BA43A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BA43A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA43A1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43A1#FFFFFF#000000##FFFFFF
##BA43A11.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4667A4
Deuteranopia (green-blind)
#6B799E
Tritanopia (blue-blind)
#C3496C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba43a1;
/* rgb */ color: rgb(186, 67, 161);
/* oklch */ color: oklch(57.9% 0.186 337.0);
Tailwind
colors: {
  custom: {
    50: '#d27fbd',
    500: '#ba43a1',
    950: '#000000',
  },
}
SCSS
$custom: #ba43a1;
$custom-light: #d27fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43a1",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 161
  },
  "hsl": {
    "h": 312.605,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.18574,
    "h": 337
  },
  "luminance": 0.17027
}

Semantic roles & 50–950 ramp

primary
#BA43A1
secondary
#91C89D
accent
#D76D51
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA43A1

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

Preview Lab → · Contrast checker → · Palette generator →

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