#BA3C97#BA3C97

#BA3C97 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.7% C 0.188 H 340.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BA3C97
RGBrgb(186, 60, 151)
HSLhsl(317, 51%, 48%)
HSVhsv(317, 68%, 73%)
CMYKcmyk(0%, 67.7%, 18.8%, 27.1%)
CIE-LABlab(46.85, 59.59, -23.06)
CIE-LCHlch(46.85, 63.90, 338.85°)
OKLaboklab(56.66% 0.1777 -0.062)
OKLCHoklch(56.66% 0.188 340.8)
XYZxyz(27.4522, 15.9078, 30.8969)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C97 #3CBA5F
analogous
#9E3CBA #BA3C97 #BA3C58
triadic
#BA3C97 #97BA3C #3C97BA
tetradic
#BA3C97 #BA9E3C #3CBA5F #3C58BA
square
#BA3C97 #BA9E3C #3CBA5F #3C58BA
split-complementary
#BA3C97 #58BA3C #3CBA9E
monochromatic
#5D1E4C #8C2D71 #BA3C97 #CE66B1 #DC94C8

Accessibility & contrast

On white

5.02
#BA3C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BA3C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C97
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C97#FFFFFF#000000##FFFFFF
##BA3C971.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45629A
Deuteranopia (green-blind)
#6C7694
Tritanopia (blue-blind)
#C53F64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3c97;
/* rgb */ color: rgb(186, 60, 151);
/* oklch */ color: oklch(56.7% 0.188 340.8);
Tailwind
colors: {
  custom: {
    50: '#d27bb5',
    500: '#ba3c97',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c97;
$custom-light: #d27bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c97",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 316.667,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56663,
    "c": 0.18818,
    "h": 340.8
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#BA3C97
secondary
#8AC89B
accent
#DB744D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3C97

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

Preview Lab → · Contrast checker → · Palette generator →

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