#BA419B#BA419B

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

Color values

HEX#BA419B
RGBrgb(186, 65, 155)
HSLhsl(315, 48%, 49%)
HSVhsv(315, 65%, 73%)
CMYKcmyk(0%, 65.1%, 16.7%, 27.1%)
CIE-LABlab(47.74, 58.19, -24.08)
CIE-LCHlch(47.74, 62.97, 337.52°)
OKLaboklab(57.36% 0.1724 -0.065)
OKLCHoklch(57.36% 0.184 339.4)
XYZxyz(28.0570, 16.5888, 32.7283)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA419B #41BA60
analogous
#9D41BA #BA419B #BA415F
triadic
#BA419B #9BBA41 #419BBA
tetradic
#BA419B #BA9D41 #41BA60 #415FBA
square
#BA419B #BA9D41 #41BA60 #415FBA
split-complementary
#BA419B #5FBA41 #41BA9D
monochromatic
#5F214F #8D3175 #BA419B #CC6CB3 #DC9ACB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA419B#FFFFFF#000000##FFFFFF
##BA419B1.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)
#47659E
Deuteranopia (green-blind)
#6C7898
Tritanopia (blue-blind)
#C44568
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba419b;
/* rgb */ color: rgb(186, 65, 155);
/* oklch */ color: oklch(57.4% 0.184 339.4);
Tailwind
colors: {
  custom: {
    50: '#d27eb8',
    500: '#ba419b',
    950: '#000000',
  },
}
SCSS
$custom: #ba419b;
$custom-light: #d27eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba419b",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 315.372,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57364,
    "c": 0.18424,
    "h": 339.4
  },
  "luminance": 0.16586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA419B

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

Preview Lab → · Contrast checker → · Palette generator →

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