#BA3C99#BA3C99

#BA3C99 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.8% C 0.190 H 339.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BA3C99
RGBrgb(186, 60, 153)
HSLhsl(316, 51%, 48%)
HSVhsv(316, 68%, 73%)
CMYKcmyk(0%, 67.7%, 17.7%, 27.1%)
CIE-LABlab(46.94, 59.87, -24.12)
CIE-LCHlch(46.94, 64.55, 338.06°)
OKLaboklab(56.75% 0.178 -0.065)
OKLCHoklch(56.75% 0.19 339.9)
XYZxyz(27.6160, 15.9733, 31.7595)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C99 #3CBA5D
analogous
#9C3CBA #BA3C99 #BA3C5A
triadic
#BA3C99 #99BA3C #3C99BA
tetradic
#BA3C99 #BA9C3C #3CBA5D #3C5ABA
square
#BA3C99 #BA9C3C #3CBA5D #3C5ABA
split-complementary
#BA3C99 #5ABA3C #3CBA9C
monochromatic
#5D1E4D #8C2D73 #BA3C99 #CE66B2 #DC94C9

Accessibility & contrast

On white

5.01
#BA3C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BA3C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C99
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C99#FFFFFF#000000##FFFFFF
##BA3C991.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629C
Deuteranopia (green-blind)
#6B7796
Tritanopia (blue-blind)
#C54065
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3c99;
/* rgb */ color: rgb(186, 60, 153);
/* oklch */ color: oklch(56.8% 0.190 339.9);
Tailwind
colors: {
  custom: {
    50: '#d27bb7',
    500: '#ba3c99',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c99;
$custom-light: #d27bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c99",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 315.714,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56754,
    "c": 0.18952,
    "h": 339.9
  },
  "luminance": 0.15971
}

Semantic roles & 50–950 ramp

primary
#BA3C99
secondary
#8AC89A
accent
#DB724D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3C99

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

Preview Lab → · Contrast checker → · Palette generator →

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