#BA409B#BA409B

#BA409B is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.3% C 0.186 H 339.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA409B
RGBrgb(186, 64, 155)
HSLhsl(315, 49%, 49%)
HSVhsv(315, 66%, 73%)
CMYKcmyk(0%, 65.6%, 16.7%, 27.1%)
CIE-LABlab(47.59, 58.59, -24.31)
CIE-LCHlch(47.59, 63.43, 337.47°)
OKLaboklab(57.26% 0.1736 -0.0656)
OKLCHoklch(57.26% 0.186 339.3)
XYZxyz(28.0001, 16.4750, 32.7093)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA409B #40BA5F
analogous
#9C40BA #BA409B #BA405E
triadic
#BA409B #9BBA40 #409BBA
tetradic
#BA409B #BA9C40 #40BA5F #405EBA
square
#BA409B #BA9C40 #40BA5F #405EBA
split-complementary
#BA409B #5EBA40 #40BA9C
monochromatic
#5F214F #8C3075 #BA409B #CC6BB3 #DC99CB

Accessibility & contrast

On white

4.89
#BA409B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA409B
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA409B#FFFFFF#000000##FFFFFF
##BA409B1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46659E
Deuteranopia (green-blind)
#6C7898
Tritanopia (blue-blind)
#C44468
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba409b;
/* rgb */ color: rgb(186, 64, 155);
/* oklch */ color: oklch(57.3% 0.186 339.3);
Tailwind
colors: {
  custom: {
    50: '#d27db8',
    500: '#ba409b',
    950: '#000000',
  },
}
SCSS
$custom: #ba409b;
$custom-light: #d27db8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba409b",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 315.246,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.1856,
    "h": 339.3
  },
  "luminance": 0.16472
}

Semantic roles & 50–950 ramp

primary
#BA409B
secondary
#8EC89D
accent
#D8724F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A11
muted
#837C80

Preview Lab

Preview with #BA409B

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

Preview Lab → · Contrast checker → · Palette generator →

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