#BA41A0#BA41A0

#BA41A0 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.6% C 0.188 H 337.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA41A0
RGBrgb(186, 65, 160)
HSLhsl(313, 48%, 49%)
HSVhsv(313, 65%, 73%)
CMYKcmyk(0%, 65.1%, 14%, 27.1%)
CIE-LABlab(47.96, 58.93, -26.72)
CIE-LCHlch(47.96, 64.70, 335.61°)
OKLaboklab(57.6% 0.1732 -0.0724)
OKLCHoklch(57.6% 0.188 337.3)
XYZxyz(28.4856, 16.7602, 34.9857)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41A0 #41BA5B
analogous
#9841BA #BA41A0 #BA4163
triadic
#BA41A0 #A0BA41 #41A0BA
tetradic
#BA41A0 #BA9841 #41BA5B #4163BA
square
#BA41A0 #BA9841 #41BA5B #4163BA
split-complementary
#BA41A0 #63BA41 #41BA98
monochromatic
#5F2152 #8D3179 #BA41A0 #CC6CB7 #DC9ACD

Accessibility & contrast

On white

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

On black

4.35
#BA41A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA41A0#FFFFFF#000000##FFFFFF
##BA41A01.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4466A3
Deuteranopia (green-blind)
#6B799D
Tritanopia (blue-blind)
#C4476B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba41a0;
/* rgb */ color: rgb(186, 65, 160);
/* oklch */ color: oklch(57.6% 0.188 337.3);
Tailwind
colors: {
  custom: {
    50: '#d27ebc',
    500: '#ba41a0',
    950: '#000000',
  },
}
SCSS
$custom: #ba41a0;
$custom-light: #d27ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41a0",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 160
  },
  "hsl": {
    "h": 312.893,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57596,
    "c": 0.18776,
    "h": 337.3
  },
  "luminance": 0.16758
}

Semantic roles & 50–950 ramp

primary
#BA41A0
secondary
#8FC89B
accent
#D86D50
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA41A0

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

Preview Lab → · Contrast checker → · Palette generator →

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