#BA419D#BA419D

#BA419D is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.5% C 0.186 H 338.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA419D
RGBrgb(186, 65, 157)
HSLhsl(314, 48%, 49%)
HSVhsv(314, 65%, 73%)
CMYKcmyk(0%, 65.1%, 15.6%, 27.1%)
CIE-LABlab(47.82, 58.48, -25.14)
CIE-LCHlch(47.82, 63.66, 336.74°)
OKLaboklab(57.46% 0.1727 -0.0679)
OKLCHoklch(57.46% 0.186 338.5)
XYZxyz(28.2263, 16.6565, 33.6202)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA419D #41BA5E
analogous
#9B41BA #BA419D #BA4161
triadic
#BA419D #9DBA41 #419DBA
tetradic
#BA419D #BA9B41 #41BA5E #4161BA
square
#BA419D #BA9B41 #41BA5E #4161BA
split-complementary
#BA419D #61BA41 #41BA9B
monochromatic
#5F2150 #8D3177 #BA419D #CC6CB5 #DC9ACC

Accessibility & contrast

On white

4.85
#BA419D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BA419D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA419D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA419D#FFFFFF#000000##FFFFFF
##BA419D1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4665A0
Deuteranopia (green-blind)
#6C789A
Tritanopia (blue-blind)
#C44669
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba419d;
/* rgb */ color: rgb(186, 65, 157);
/* oklch */ color: oklch(57.5% 0.186 338.5);
Tailwind
colors: {
  custom: {
    50: '#d27eba',
    500: '#ba419d',
    950: '#000000',
  },
}
SCSS
$custom: #ba419d;
$custom-light: #d27eba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba419d",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 314.38,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57456,
    "c": 0.18563,
    "h": 338.5
  },
  "luminance": 0.16654
}

Semantic roles & 50–950 ramp

primary
#BA419D
secondary
#8FC89D
accent
#D87150
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A11
muted
#837C80

Preview Lab

Preview with #BA419D

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

Preview Lab → · Contrast checker → · Palette generator →

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