#BA409F#BA409F

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

Color values

HEX#BA409F
RGBrgb(186, 64, 159)
HSLhsl(313, 49%, 49%)
HSVhsv(313, 66%, 73%)
CMYKcmyk(0%, 65.6%, 14.5%, 27.1%)
CIE-LABlab(47.77, 59.18, -26.42)
CIE-LCHlch(47.77, 64.81, 335.95°)
OKLaboklab(57.44% 0.1743 -0.0716)
OKLCHoklch(57.44% 0.188 337.7)
XYZxyz(28.3416, 16.6116, 34.5079)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA409F #40BA5B
analogous
#9840BA #BA409F #BA4062
triadic
#BA409F #9FBA40 #409FBA
tetradic
#BA409F #BA9840 #40BA5B #4062BA
square
#BA409F #BA9840 #40BA5B #4062BA
split-complementary
#BA409F #62BA40 #40BA98
monochromatic
#5F2151 #8C3078 #BA409F #CC6BB7 #DC99CD

Accessibility & contrast

On white

4.86
#BA409F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#BA409F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA409F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA409F#FFFFFF#000000##FFFFFF
##BA409F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4465A2
Deuteranopia (green-blind)
#6A789C
Tritanopia (blue-blind)
#C4466A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba409f;
/* rgb */ color: rgb(186, 64, 159);
/* oklch */ color: oklch(57.4% 0.188 337.7);
Tailwind
colors: {
  custom: {
    50: '#d27ebb',
    500: '#ba409f',
    950: '#000000',
  },
}
SCSS
$custom: #ba409f;
$custom-light: #d27ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba409f",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 313.279,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57443,
    "c": 0.1884,
    "h": 337.7
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

primary
#BA409F
secondary
#8EC89B
accent
#D86E4F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #BA409F

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

Preview Lab → · Contrast checker → · Palette generator →

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