#BA3CA2#BA3CA2

#BA3CA2 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.2% C 0.196 H 336.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BA3CA2
RGBrgb(186, 60, 162)
HSLhsl(311, 51%, 48%)
HSVhsv(311, 68%, 73%)
CMYKcmyk(0%, 67.7%, 12.9%, 27.1%)
CIE-LABlab(47.34, 61.19, -28.86)
CIE-LCHlch(47.34, 67.66, 334.75°)
OKLaboklab(57.18% 0.1794 -0.0785)
OKLCHoklch(57.18% 0.196 336.4)
XYZxyz(28.3875, 16.2819, 35.8230)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CA2 #3CBA54
analogous
#933CBA #BA3CA2 #BA3C63
triadic
#BA3CA2 #A2BA3C #3CA2BA
tetradic
#BA3CA2 #BA933C #3CBA54 #3C63BA
square
#BA3CA2 #BA933C #3CBA54 #3C63BA
split-complementary
#BA3CA2 #63BA3C #3CBA93
monochromatic
#5D1E51 #8C2D7A #BA3CA2 #CE66BA #DC94CF

Accessibility & contrast

On white

4.93
#BA3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#BA3CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CA2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CA2#FFFFFF#000000##FFFFFF
##BA3CA21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#C3436A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3ca2;
/* rgb */ color: rgb(186, 60, 162);
/* oklch */ color: oklch(57.2% 0.196 336.4);
Tailwind
colors: {
  custom: {
    50: '#d27cbe',
    500: '#ba3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ca2;
$custom-light: #d27cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ca2",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 311.429,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57178,
    "c": 0.19577,
    "h": 336.4
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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