#BA3CA5#BA3CA5

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

Color values

HEX#BA3CA5
RGBrgb(186, 60, 165)
HSLhsl(310, 51%, 48%)
HSVhsv(310, 68%, 73%)
CMYKcmyk(0%, 67.7%, 11.3%, 27.1%)
CIE-LABlab(47.48, 61.65, -30.42)
CIE-LCHlch(47.48, 68.74, 333.74°)
OKLaboklab(57.33% 0.1797 -0.0829)
OKLCHoklch(57.33% 0.198 335.2)
XYZxyz(28.6574, 16.3899, 37.2443)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CA5 #3CBA51
analogous
#903CBA #BA3CA5 #BA3C66
triadic
#BA3CA5 #A5BA3C #3CA5BA
tetradic
#BA3CA5 #BA903C #3CBA51 #3C66BA
square
#BA3CA5 #BA903C #3CBA51 #3C66BA
split-complementary
#BA3CA5 #66BA3C #3CBA90
monochromatic
#5D1E53 #8C2D7C #BA3CA5 #CE66BC #DC94D0

Accessibility & contrast

On white

4.91
#BA3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BA3CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CA5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CA5#FFFFFF#000000##FFFFFF
##BA3CA51.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C65A8
Deuteranopia (green-blind)
#6677A2
Tritanopia (blue-blind)
#C3456B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3ca5;
/* rgb */ color: rgb(186, 60, 165);
/* oklch */ color: oklch(57.3% 0.198 335.2);
Tailwind
colors: {
  custom: {
    50: '#d27cc0',
    500: '#ba3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ca5;
$custom-light: #d27cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ca5",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 310,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57325,
    "c": 0.19794,
    "h": 335.2
  },
  "luminance": 0.16387
}

Semantic roles & 50–950 ramp

primary
#BA3CA5
secondary
#8AC894
accent
#DB654D
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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