#BA409C#BA409C

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

Color values

HEX#BA409C
RGBrgb(186, 64, 156)
HSLhsl(315, 49%, 49%)
HSVhsv(315, 66%, 73%)
CMYKcmyk(0%, 65.6%, 16.1%, 27.1%)
CIE-LABlab(47.63, 58.74, -24.84)
CIE-LCHlch(47.63, 63.77, 337.08°)
OKLaboklab(57.3% 0.1738 -0.0671)
OKLCHoklch(57.3% 0.186 338.9)
XYZxyz(28.0844, 16.5087, 33.1534)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA409C #40BA5E
analogous
#9B40BA #BA409C #BA405F
triadic
#BA409C #9CBA40 #409CBA
tetradic
#BA409C #BA9B40 #40BA5E #405FBA
square
#BA409C #BA9B40 #40BA5E #405FBA
split-complementary
#BA409C #5FBA40 #40BA9B
monochromatic
#5F2150 #8C3076 #BA409C #CC6BB4 #DC99CB

Accessibility & contrast

On white

4.88
#BA409C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BA409C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA409C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA409C#FFFFFF#000000##FFFFFF
##BA409C1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba409c;
/* rgb */ color: rgb(186, 64, 156);
/* oklch */ color: oklch(57.3% 0.186 338.9);
Tailwind
colors: {
  custom: {
    50: '#d27db9',
    500: '#ba409c',
    950: '#000000',
  },
}
SCSS
$custom: #ba409c;
$custom-light: #d27db9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba409c",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 314.754,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57304,
    "c": 0.18629,
    "h": 338.9
  },
  "luminance": 0.16506
}

Semantic roles & 50–950 ramp

primary
#BA409C
secondary
#8EC89C
accent
#D8714F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A11
muted
#837C80

Preview Lab

Preview with #BA409C

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

Preview Lab → · Contrast checker → · Palette generator →

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