#BA3C87#BA3C87

#BA3C87 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.0% C 0.178 H 347.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA3C87
RGBrgb(186, 60, 135)
HSLhsl(324, 51%, 48%)
HSVhsv(324, 68%, 73%)
CMYKcmyk(0%, 67.7%, 27.4%, 27.1%)
CIE-LABlab(46.21, 57.43, -14.41)
CIE-LCHlch(46.21, 59.21, 345.91°)
OKLaboklab(55.98% 0.1743 -0.0379)
OKLCHoklch(55.98% 0.178 347.7)
XYZxyz(26.2399, 15.4228, 24.5120)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C87 #3CBA6F
analogous
#AE3CBA #BA3C87 #BA3C48
triadic
#BA3C87 #87BA3C #3C87BA
tetradic
#BA3C87 #BAAE3C #3CBA6F #3C48BA
square
#BA3C87 #BAAE3C #3CBA6F #3C48BA
split-complementary
#BA3C87 #48BA3C #3CBAAE
monochromatic
#5D1E44 #8C2D65 #BA3C87 #CE66A3 #DC94BF

Accessibility & contrast

On white

5.14
#BA3C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BA3C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C87
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C87#FFFFFF#000000##FFFFFF
##BA3C871.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6089
Deuteranopia (green-blind)
#717584
Tritanopia (blue-blind)
#C7385C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3c87;
/* rgb */ color: rgb(186, 60, 135);
/* oklch */ color: oklch(56.0% 0.178 347.7);
Tailwind
colors: {
  custom: {
    50: '#d37baa',
    500: '#ba3c87',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c87;
$custom-light: #d37baa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c87",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 324.286,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55979,
    "c": 0.17835,
    "h": 347.7
  },
  "luminance": 0.1542
}

Semantic roles & 50–950 ramp

primary
#BA3C87
secondary
#8AC8A3
accent
#DB864D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3C87

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

Preview Lab → · Contrast checker → · Palette generator →

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