#BA3CA4#BA3CA4

#BA3CA4 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.3% C 0.197 H 335.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA3CA4
RGBrgb(186, 60, 164)
HSLhsl(310, 51%, 48%)
HSVhsv(310, 68%, 73%)
CMYKcmyk(0%, 67.7%, 11.8%, 27.1%)
CIE-LABlab(47.44, 61.50, -29.90)
CIE-LCHlch(47.44, 68.38, 334.07°)
OKLaboklab(57.28% 0.1796 -0.0814)
OKLCHoklch(57.28% 0.197 335.6)
XYZxyz(28.5667, 16.3536, 36.7668)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CA4 #3CBA52
analogous
#913CBA #BA3CA4 #BA3C65
triadic
#BA3CA4 #A4BA3C #3CA4BA
tetradic
#BA3CA4 #BA913C #3CBA52 #3C65BA
square
#BA3CA4 #BA913C #3CBA52 #3C65BA
split-complementary
#BA3CA4 #65BA3C #3CBA91
monochromatic
#5D1E52 #8C2D7B #BA3CA4 #CE66BB #DC94D0

Accessibility & contrast

On white

4.92
#BA3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BA3CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CA4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CA4#FFFFFF#000000##FFFFFF
##BA3CA41.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A7
Deuteranopia (green-blind)
#6777A1
Tritanopia (blue-blind)
#C3446B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3ca4;
/* rgb */ color: rgb(186, 60, 164);
/* oklch */ color: oklch(57.3% 0.197 335.6);
Tailwind
colors: {
  custom: {
    50: '#d27cbf',
    500: '#ba3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ca4;
$custom-light: #d27cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ca4",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 310.476,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57276,
    "c": 0.19721,
    "h": 335.6
  },
  "luminance": 0.16351
}

Semantic roles & 50–950 ramp

primary
#BA3CA4
secondary
#8AC895
accent
#DB664D
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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