#BA3CA1#BA3CA1

#BA3CA1 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.1% C 0.195 H 336.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BA3CA1
RGBrgb(186, 60, 161)
HSLhsl(312, 51%, 48%)
HSVhsv(312, 68%, 73%)
CMYKcmyk(0%, 67.7%, 13.4%, 27.1%)
CIE-LABlab(47.30, 61.04, -28.34)
CIE-LCHlch(47.30, 67.30, 335.10°)
OKLaboklab(57.13% 0.1792 -0.077)
OKLCHoklch(57.13% 0.195 336.8)
XYZxyz(28.2990, 16.2465, 35.3568)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CA1 #3CBA55
analogous
#943CBA #BA3CA1 #BA3C62
triadic
#BA3CA1 #A1BA3C #3CA1BA
tetradic
#BA3CA1 #BA943C #3CBA55 #3C62BA
square
#BA3CA1 #BA943C #3CBA55 #3C62BA
split-complementary
#BA3CA1 #62BA3C #3CBA94
monochromatic
#5D1E51 #8C2D79 #BA3CA1 #CE66B9 #DC94CE

Accessibility & contrast

On white

4.94
#BA3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#BA3CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CA1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CA1#FFFFFF#000000##FFFFFF
##BA3CA11.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A4
Deuteranopia (green-blind)
#68779E
Tritanopia (blue-blind)
#C44369
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3ca1;
/* rgb */ color: rgb(186, 60, 161);
/* oklch */ color: oklch(57.1% 0.195 336.8);
Tailwind
colors: {
  custom: {
    50: '#d27cbd',
    500: '#ba3ca1',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ca1;
$custom-light: #d27cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ca1",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 311.905,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5713,
    "c": 0.19506,
    "h": 336.8
  },
  "luminance": 0.16244
}

Semantic roles & 50–950 ramp

primary
#BA3CA1
secondary
#8AC896
accent
#DB694D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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