#BA419E#BA419E

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

Color values

HEX#BA419E
RGBrgb(186, 65, 158)
HSLhsl(314, 48%, 49%)
HSVhsv(314, 65%, 73%)
CMYKcmyk(0%, 65.1%, 15.1%, 27.1%)
CIE-LABlab(47.87, 58.63, -25.66)
CIE-LCHlch(47.87, 64.00, 336.36°)
OKLaboklab(57.5% 0.1729 -0.0694)
OKLCHoklch(57.5% 0.186 338.1)
XYZxyz(28.3121, 16.6908, 34.0717)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA419E #41BA5D
analogous
#9A41BA #BA419E #BA4162
triadic
#BA419E #9EBA41 #419EBA
tetradic
#BA419E #BA9A41 #41BA5D #4162BA
square
#BA419E #BA9A41 #41BA5D #4162BA
split-complementary
#BA419E #62BA41 #41BA9A
monochromatic
#5F2151 #8D3177 #BA419E #CC6CB6 #DC9ACC

Accessibility & contrast

On white

4.84
#BA419E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BA419E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA419E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA419E#FFFFFF#000000##FFFFFF
##BA419E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4566A1
Deuteranopia (green-blind)
#6B789B
Tritanopia (blue-blind)
#C4466A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba419e;
/* rgb */ color: rgb(186, 65, 158);
/* oklch */ color: oklch(57.5% 0.186 338.1);
Tailwind
colors: {
  custom: {
    50: '#d27ebb',
    500: '#ba419e',
    950: '#000000',
  },
}
SCSS
$custom: #ba419e;
$custom-light: #d27ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba419e",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 313.884,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57502,
    "c": 0.18634,
    "h": 338.1
  },
  "luminance": 0.16688
}

Semantic roles & 50–950 ramp

primary
#BA419E
secondary
#8FC89C
accent
#D86F50
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA419E

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

Preview Lab → · Contrast checker → · Palette generator →

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