#BA43A0#BA43A0

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

Color values

HEX#BA43A0
RGBrgb(186, 67, 160)
HSLhsl(313, 47%, 50%)
HSVhsv(313, 64%, 73%)
CMYKcmyk(0%, 64%, 14%, 27.1%)
CIE-LABlab(48.25, 58.11, -26.26)
CIE-LCHlch(48.25, 63.77, 335.69°)
OKLaboklab(57.81% 0.1708 -0.0711)
OKLCHoklch(57.81% 0.185 337.4)
XYZxyz(28.6025, 16.9939, 35.0246)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43A0 #43BA5D
analogous
#9943BA #BA43A0 #BA4365
triadic
#BA43A0 #A0BA43 #43A0BA
tetradic
#BA43A0 #BA9943 #43BA5D #4365BA
square
#BA43A0 #BA9943 #43BA5D #4365BA
split-complementary
#BA43A0 #65BA43 #43BA99
monochromatic
#602353 #8D3379 #BA43A0 #CB6FB7 #DB9CCE

Accessibility & contrast

On white

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

On black

4.40
#BA43A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA43A0#FFFFFF#000000##FFFFFF
##BA43A01.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4667A3
Deuteranopia (green-blind)
#6C799D
Tritanopia (blue-blind)
#C4486B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba43a0;
/* rgb */ color: rgb(186, 67, 160);
/* oklch */ color: oklch(57.8% 0.185 337.4);
Tailwind
colors: {
  custom: {
    50: '#d27fbc',
    500: '#ba43a0',
    950: '#000000',
  },
}
SCSS
$custom: #ba43a0;
$custom-light: #d27fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43a0",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 160
  },
  "hsl": {
    "h": 313.109,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57812,
    "c": 0.18502,
    "h": 337.4
  },
  "luminance": 0.16991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA43A0

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

Preview Lab → · Contrast checker → · Palette generator →

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