#BA3C81#BA3C81

#BA3C81 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.7% C 0.175 H 350.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BA3C81
RGBrgb(186, 60, 129)
HSLhsl(327, 51%, 48%)
HSVhsv(327, 68%, 73%)
CMYKcmyk(0%, 67.7%, 30.6%, 27.1%)
CIE-LABlab(45.99, 56.68, -11.10)
CIE-LCHlch(45.99, 57.76, 348.92°)
OKLaboklab(55.74% 0.1727 -0.0289)
OKLCHoklch(55.74% 0.175 350.5)
XYZxyz(25.8293, 15.2586, 22.3496)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C81 #3CBA75
analogous
#B43CBA #BA3C81 #BA3C42
triadic
#BA3C81 #81BA3C #3C81BA
tetradic
#BA3C81 #BAB43C #3CBA75 #3C42BA
square
#BA3C81 #BAB43C #3CBA75 #3C42BA
split-complementary
#BA3C81 #42BA3C #3CBAB4
monochromatic
#5D1E41 #8C2D61 #BA3C81 #CE669F #DC94BC

Accessibility & contrast

On white

5.18
#BA3C81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BA3C81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C81
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C81#FFFFFF#000000##FFFFFF
##BA3C811.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F83
Deuteranopia (green-blind)
#72757E
Tritanopia (blue-blind)
#C73559
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3c81;
/* rgb */ color: rgb(186, 60, 129);
/* oklch */ color: oklch(55.7% 0.175 350.5);
Tailwind
colors: {
  custom: {
    50: '#d37ba5',
    500: '#ba3c81',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c81;
$custom-light: #d37ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c81",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 327.143,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.17512,
    "h": 350.5
  },
  "luminance": 0.15256
}

Semantic roles & 50–950 ramp

primary
#BA3C81
secondary
#8AC8A6
accent
#DB8D4D
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3C81

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

Preview Lab → · Contrast checker → · Palette generator →

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