#BA43A3#BA43A3

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

Color values

HEX#BA43A3
RGBrgb(186, 67, 163)
HSLhsl(312, 47%, 50%)
HSVhsv(312, 64%, 73%)
CMYKcmyk(0%, 64%, 12.4%, 27.1%)
CIE-LABlab(48.39, 58.57, -27.83)
CIE-LCHlch(48.39, 64.84, 334.59°)
OKLaboklab(57.95% 0.1713 -0.0756)
OKLCHoklch(57.95% 0.187 336.2)
XYZxyz(28.8681, 17.1002, 36.4235)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43A3 #43BA5A
analogous
#9643BA #BA43A3 #BA4367
triadic
#BA43A3 #A3BA43 #43A3BA
tetradic
#BA43A3 #BA9643 #43BA5A #4367BA
square
#BA43A3 #BA9643 #43BA5A #4367BA
split-complementary
#BA43A3 #67BA43 #43BA96
monochromatic
#602354 #8D337C #BA43A3 #CB6FB9 #DB9CCF

Accessibility & contrast

On white

4.75
#BA43A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BA43A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA43A3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43A3#FFFFFF#000000##FFFFFF
##BA43A31.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A6
Deuteranopia (green-blind)
#6A79A0
Tritanopia (blue-blind)
#C34A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba43a3;
/* rgb */ color: rgb(186, 67, 163);
/* oklch */ color: oklch(58.0% 0.187 336.2);
Tailwind
colors: {
  custom: {
    50: '#d27fbe',
    500: '#ba43a3',
    950: '#000000',
  },
}
SCSS
$custom: #ba43a3;
$custom-light: #d27fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43a3",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 163
  },
  "hsl": {
    "h": 311.597,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57953,
    "c": 0.18721,
    "h": 336.2
  },
  "luminance": 0.17098
}

Semantic roles & 50–950 ramp

primary
#BA43A3
secondary
#91C89C
accent
#D76B51
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA43A3

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

Preview Lab → · Contrast checker → · Palette generator →

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