#BA43A5#BA43A5

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

Color values

HEX#BA43A5
RGBrgb(186, 67, 165)
HSLhsl(311, 47%, 50%)
HSVhsv(311, 64%, 73%)
CMYKcmyk(0%, 64%, 11.3%, 27.1%)
CIE-LABlab(48.48, 58.88, -28.87)
CIE-LCHlch(48.48, 65.58, 333.88°)
OKLaboklab(58.05% 0.1716 -0.0786)
OKLCHoklch(58.05% 0.189 335.4)
XYZxyz(29.0487, 17.1724, 37.3747)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43A5 #43BA58
analogous
#9443BA #BA43A5 #BA436A
triadic
#BA43A5 #A5BA43 #43A5BA
tetradic
#BA43A5 #BA9443 #43BA58 #436ABA
square
#BA43A5 #BA9443 #43BA58 #436ABA
split-complementary
#BA43A5 #6ABA43 #43BA94
monochromatic
#602355 #8D337D #BA43A5 #CB6FBB #DB9CD0

Accessibility & contrast

On white

4.74
#BA43A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BA43A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA43A5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43A5#FFFFFF#000000##FFFFFF
##BA43A51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368A8
Deuteranopia (green-blind)
#6A7AA2
Tritanopia (blue-blind)
#C34A6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba43a5;
/* rgb */ color: rgb(186, 67, 165);
/* oklch */ color: oklch(58.0% 0.189 335.4);
Tailwind
colors: {
  custom: {
    50: '#d27fc0',
    500: '#ba43a5',
    950: '#000000',
  },
}
SCSS
$custom: #ba43a5;
$custom-light: #d27fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43a5",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 165
  },
  "hsl": {
    "h": 310.588,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58049,
    "c": 0.18869,
    "h": 335.4
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#BA43A5
secondary
#91C89B
accent
#D76951
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA43A5

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

Preview Lab → · Contrast checker → · Palette generator →

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