#BA43A4#BA43A4

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

Color values

HEX#BA43A4
RGBrgb(186, 67, 164)
HSLhsl(311, 47%, 50%)
HSVhsv(311, 64%, 73%)
CMYKcmyk(0%, 64%, 11.8%, 27.1%)
CIE-LABlab(48.43, 58.72, -28.35)
CIE-LCHlch(48.43, 65.21, 334.23°)
OKLaboklab(58% 0.1714 -0.0771)
OKLCHoklch(58% 0.188 335.8)
XYZxyz(28.9580, 17.1361, 36.8972)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43A4 #43BA59
analogous
#9443BA #BA43A4 #BA4369
triadic
#BA43A4 #A4BA43 #43A4BA
tetradic
#BA43A4 #BA9443 #43BA59 #4369BA
square
#BA43A4 #BA9443 #43BA59 #4369BA
split-complementary
#BA43A4 #69BA43 #43BA94
monochromatic
#602355 #8D337C #BA43A4 #CB6FBA #DB9CD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA43A4#FFFFFF#000000##FFFFFF
##BA43A41.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)
#4468A7
Deuteranopia (green-blind)
#6A79A1
Tritanopia (blue-blind)
#C34A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba43a4;
/* rgb */ color: rgb(186, 67, 164);
/* oklch */ color: oklch(58.0% 0.188 335.8);
Tailwind
colors: {
  custom: {
    50: '#d27fbf',
    500: '#ba43a4',
    950: '#000000',
  },
}
SCSS
$custom: #ba43a4;
$custom-light: #d27fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43a4",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 164
  },
  "hsl": {
    "h": 311.092,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58001,
    "c": 0.18794,
    "h": 335.8
  },
  "luminance": 0.17134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA43A4

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

Preview Lab → · Contrast checker → · Palette generator →

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