#BA3CA3#BA3CA3

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

Color values

HEX#BA3CA3
RGBrgb(186, 60, 163)
HSLhsl(311, 51%, 48%)
HSVhsv(311, 68%, 73%)
CMYKcmyk(0%, 67.7%, 12.4%, 27.1%)
CIE-LABlab(47.39, 61.34, -29.38)
CIE-LCHlch(47.39, 68.02, 334.41°)
OKLaboklab(57.23% 0.1795 -0.08)
OKLCHoklch(57.23% 0.196 336)
XYZxyz(28.4768, 16.3176, 36.2931)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CA3 #3CBA53
analogous
#923CBA #BA3CA3 #BA3C64
triadic
#BA3CA3 #A3BA3C #3CA3BA
tetradic
#BA3CA3 #BA923C #3CBA53 #3C64BA
square
#BA3CA3 #BA923C #3CBA53 #3C64BA
split-complementary
#BA3CA3 #64BA3C #3CBA92
monochromatic
#5D1E52 #8C2D7A #BA3CA3 #CE66BB #DC94CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3CA3#FFFFFF#000000##FFFFFF
##BA3CA31.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)
#3D64A6
Deuteranopia (green-blind)
#6777A0
Tritanopia (blue-blind)
#C3446A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3ca3;
/* rgb */ color: rgb(186, 60, 163);
/* oklch */ color: oklch(57.2% 0.196 336.0);
Tailwind
colors: {
  custom: {
    50: '#d27cbe',
    500: '#ba3ca3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ca3;
$custom-light: #d27cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ca3",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 310.952,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57227,
    "c": 0.19649,
    "h": 336
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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