#BA419F#BA419F

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

Color values

HEX#BA419F
RGBrgb(186, 65, 159)
HSLhsl(313, 48%, 49%)
HSVhsv(313, 65%, 73%)
CMYKcmyk(0%, 65.1%, 14.5%, 27.1%)
CIE-LABlab(47.91, 58.78, -26.19)
CIE-LCHlch(47.91, 64.35, 335.98°)
OKLaboklab(57.55% 0.1731 -0.0709)
OKLCHoklch(57.55% 0.187 337.7)
XYZxyz(28.3985, 16.7254, 34.5268)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA419F #41BA5C
analogous
#9941BA #BA419F #BA4163
triadic
#BA419F #9FBA41 #419FBA
tetradic
#BA419F #BA9941 #41BA5C #4163BA
square
#BA419F #BA9941 #41BA5C #4163BA
split-complementary
#BA419F #63BA41 #41BA99
monochromatic
#5F2151 #8D3178 #BA419F #CC6CB7 #DC9ACD

Accessibility & contrast

On white

4.83
#BA419F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA419F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA419F#FFFFFF#000000##FFFFFF
##BA419F1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba419f;
/* rgb */ color: rgb(186, 65, 159);
/* oklch */ color: oklch(57.5% 0.187 337.7);
Tailwind
colors: {
  custom: {
    50: '#d27ebb',
    500: '#ba419f',
    950: '#000000',
  },
}
SCSS
$custom: #ba419f;
$custom-light: #d27ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba419f",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 313.388,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57549,
    "c": 0.18705,
    "h": 337.7
  },
  "luminance": 0.16723
}

Semantic roles & 50–950 ramp

primary
#BA419F
secondary
#8FC89C
accent
#D86E50
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA419F

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

Preview Lab → · Contrast checker → · Palette generator →

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