#BA41A4#BA41A4

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

Color values

HEX#BA41A4
RGBrgb(186, 65, 164)
HSLhsl(311, 48%, 49%)
HSVhsv(311, 65%, 73%)
CMYKcmyk(0%, 65.1%, 11.8%, 27.1%)
CIE-LABlab(48.14, 59.54, -28.81)
CIE-LCHlch(48.14, 66.14, 334.18°)
OKLaboklab(57.79% 0.1738 -0.0784)
OKLCHoklch(57.79% 0.191 335.7)
XYZxyz(28.8412, 16.9024, 36.8583)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41A4 #41BA57
analogous
#9441BA #BA41A4 #BA4168
triadic
#BA41A4 #A4BA41 #41A4BA
tetradic
#BA41A4 #BA9441 #41BA57 #4168BA
square
#BA41A4 #BA9441 #41BA57 #4168BA
split-complementary
#BA41A4 #68BA41 #41BA94
monochromatic
#5F2154 #8D317C #BA41A4 #CC6CBA #DC9AD0

Accessibility & contrast

On white

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

On black

4.38
#BA41A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA41A4#FFFFFF#000000##FFFFFF
##BA41A41.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4267A7
Deuteranopia (green-blind)
#6979A1
Tritanopia (blue-blind)
#C3486D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba41a4;
/* rgb */ color: rgb(186, 65, 164);
/* oklch */ color: oklch(57.8% 0.191 335.7);
Tailwind
colors: {
  custom: {
    50: '#d27ebf',
    500: '#ba41a4',
    950: '#000000',
  },
}
SCSS
$custom: #ba41a4;
$custom-light: #d27ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41a4",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 164
  },
  "hsl": {
    "h": 310.909,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57786,
    "c": 0.19067,
    "h": 335.7
  },
  "luminance": 0.169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA41A4

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

Preview Lab → · Contrast checker → · Palette generator →

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