#BA409A#BA409A

#BA409A is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.2% C 0.185 H 339.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BA409A
RGBrgb(186, 64, 154)
HSLhsl(316, 49%, 49%)
HSVhsv(316, 66%, 73%)
CMYKcmyk(0%, 65.6%, 17.2%, 27.1%)
CIE-LABlab(47.55, 58.45, -23.78)
CIE-LCHlch(47.55, 63.10, 337.86°)
OKLaboklab(57.21% 0.1734 -0.0641)
OKLCHoklch(57.21% 0.185 339.7)
XYZxyz(27.9165, 16.4415, 32.2689)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA409A #40BA60
analogous
#9D40BA #BA409A #BA405D
triadic
#BA409A #9ABA40 #409ABA
tetradic
#BA409A #BA9D40 #40BA60 #405DBA
square
#BA409A #BA9D40 #40BA60 #405DBA
split-complementary
#BA409A #5DBA40 #40BA9D
monochromatic
#5F214F #8C3074 #BA409A #CC6BB3 #DC99CA

Accessibility & contrast

On white

4.90
#BA409A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#BA409A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA409A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA409A#FFFFFF#000000##FFFFFF
##BA409A1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47649D
Deuteranopia (green-blind)
#6C7897
Tritanopia (blue-blind)
#C44367
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba409a;
/* rgb */ color: rgb(186, 64, 154);
/* oklch */ color: oklch(57.2% 0.185 339.7);
Tailwind
colors: {
  custom: {
    50: '#d27db8',
    500: '#ba409a',
    950: '#000000',
  },
}
SCSS
$custom: #ba409a;
$custom-light: #d27db8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba409a",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 315.738,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57212,
    "c": 0.1849,
    "h": 339.7
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#BA409A
secondary
#8EC89D
accent
#D8734F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA409A

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

Preview Lab → · Contrast checker → · Palette generator →

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