#BA41A5#BA41A5

#BA41A5 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.8% C 0.191 H 335.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA41A5
RGBrgb(186, 65, 165)
HSLhsl(310, 48%, 49%)
HSVhsv(310, 65%, 73%)
CMYKcmyk(0%, 65.1%, 11.3%, 27.1%)
CIE-LABlab(48.18, 59.69, -29.33)
CIE-LCHlch(48.18, 66.51, 333.84°)
OKLaboklab(57.84% 0.174 -0.0798)
OKLCHoklch(57.84% 0.191 335.3)
XYZxyz(28.9318, 16.9387, 37.3357)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41A5 #41BA56
analogous
#9341BA #BA41A5 #BA4169
triadic
#BA41A5 #A5BA41 #41A5BA
tetradic
#BA41A5 #BA9341 #41BA56 #4169BA
square
#BA41A5 #BA9341 #41BA56 #4169BA
split-complementary
#BA41A5 #69BA41 #41BA93
monochromatic
#5F2155 #8D317D #BA41A5 #CC6CBB #DC9AD0

Accessibility & contrast

On white

4.79
#BA41A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BA41A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA41A5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41A5#FFFFFF#000000##FFFFFF
##BA41A51.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4167A8
Deuteranopia (green-blind)
#6979A2
Tritanopia (blue-blind)
#C3496D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba41a5;
/* rgb */ color: rgb(186, 65, 165);
/* oklch */ color: oklch(57.8% 0.191 335.3);
Tailwind
colors: {
  custom: {
    50: '#d27ec0',
    500: '#ba41a5',
    950: '#000000',
  },
}
SCSS
$custom: #ba41a5;
$custom-light: #d27ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41a5",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 165
  },
  "hsl": {
    "h": 310.413,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57835,
    "c": 0.19141,
    "h": 335.3
  },
  "luminance": 0.16936
}

Semantic roles & 50–950 ramp

primary
#BA41A5
secondary
#8FC899
accent
#D86850
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA41A5

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

Preview Lab → · Contrast checker → · Palette generator →

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