#BA409E#BA409E

#BA409E is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.4% C 0.188 H 338.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA409E
RGBrgb(186, 64, 158)
HSLhsl(314, 49%, 49%)
HSVhsv(314, 66%, 73%)
CMYKcmyk(0%, 65.6%, 15.1%, 27.1%)
CIE-LABlab(47.72, 59.03, -25.89)
CIE-LCHlch(47.72, 64.46, 336.32°)
OKLaboklab(57.4% 0.1741 -0.0701)
OKLCHoklch(57.4% 0.188 338.1)
XYZxyz(28.2552, 16.5770, 34.0527)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA409E #40BA5C
analogous
#9940BA #BA409E #BA4061
triadic
#BA409E #9EBA40 #409EBA
tetradic
#BA409E #BA9940 #40BA5C #4061BA
square
#BA409E #BA9940 #40BA5C #4061BA
split-complementary
#BA409E #61BA40 #40BA99
monochromatic
#5F2151 #8C3077 #BA409E #CC6BB6 #DC99CC

Accessibility & contrast

On white

4.87
#BA409E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BA409E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA409E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA409E#FFFFFF#000000##FFFFFF
##BA409E1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4565A1
Deuteranopia (green-blind)
#6B789B
Tritanopia (blue-blind)
#C44569
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba409e;
/* rgb */ color: rgb(186, 64, 158);
/* oklch */ color: oklch(57.4% 0.188 338.1);
Tailwind
colors: {
  custom: {
    50: '#d27dbb',
    500: '#ba409e',
    950: '#000000',
  },
}
SCSS
$custom: #ba409e;
$custom-light: #d27dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba409e",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 313.77,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57396,
    "c": 0.18769,
    "h": 338.1
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#BA409E
secondary
#8EC89B
accent
#D86F4F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A11
muted
#837C80

Preview Lab

Preview with #BA409E

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

Preview Lab → · Contrast checker → · Palette generator →

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