#BA419A#BA419A

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

Color values

HEX#BA419A
RGBrgb(186, 65, 154)
HSLhsl(316, 48%, 49%)
HSVhsv(316, 65%, 73%)
CMYKcmyk(0%, 65.1%, 17.2%, 27.1%)
CIE-LABlab(47.69, 58.04, -23.55)
CIE-LCHlch(47.69, 62.64, 337.91°)
OKLaboklab(57.32% 0.1722 -0.0635)
OKLCHoklch(57.32% 0.184 339.8)
XYZxyz(27.9734, 16.5553, 32.2878)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA419A #41BA61
analogous
#9E41BA #BA419A #BA415E
triadic
#BA419A #9ABA41 #419ABA
tetradic
#BA419A #BA9E41 #41BA61 #415EBA
square
#BA419A #BA9E41 #41BA61 #415EBA
split-complementary
#BA419A #5EBA41 #41BA9E
monochromatic
#5F214F #8D3174 #BA419A #CC6CB3 #DC9ACA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA419A#FFFFFF#000000##FFFFFF
##BA419A1.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)
#48659D
Deuteranopia (green-blind)
#6D7897
Tritanopia (blue-blind)
#C44468
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba419a;
/* rgb */ color: rgb(186, 65, 154);
/* oklch */ color: oklch(57.3% 0.184 339.8);
Tailwind
colors: {
  custom: {
    50: '#d27eb8',
    500: '#ba419a',
    950: '#000000',
  },
}
SCSS
$custom: #ba419a;
$custom-light: #d27eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba419a",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 315.868,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57319,
    "c": 0.18355,
    "h": 339.8
  },
  "luminance": 0.16553
}

Semantic roles & 50–950 ramp

primary
#BA419A
secondary
#8FC89E
accent
#D87450
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A11
muted
#837C80

Preview Lab

Preview with #BA419A

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

Preview Lab → · Contrast checker → · Palette generator →

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