#BA3778#BA3778

#BA3778 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.177 H 354.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA3778
RGBrgb(186, 55, 120)
HSLhsl(330, 54%, 47%)
HSVhsv(330, 70%, 73%)
CMYKcmyk(0%, 70.4%, 35.5%, 27.1%)
CIE-LABlab(44.98, 57.53, -7.11)
CIE-LCHlch(44.98, 57.97, 352.95°)
OKLaboklab(54.9% 0.1762 -0.0181)
OKLCHoklch(54.9% 0.177 354.1)
XYZxyz(25.0076, 14.5305, 19.2534)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3778 #37BA79
analogous
#BA37BA #BA3778 #BA3737
triadic
#BA3778 #78BA37 #3778BA
tetradic
#BA3778 #BABA37 #37BA79 #3737BA
square
#BA3778 #BABA37 #37BA79 #3737BA
split-complementary
#BA3778 #37BA37 #37BABA
monochromatic
#5C1B3B #8B295A #BA3778 #D05F97 #DE8EB5

Accessibility & contrast

On white

5.38
#BA3778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BA3778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3778
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3778#FFFFFF#000000##FFFFFF
##BA37781.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5B7A
Deuteranopia (green-blind)
#737375
Tritanopia (blue-blind)
#C82C53
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3778;
/* rgb */ color: rgb(186, 55, 120);
/* oklch */ color: oklch(54.9% 0.177 354.1);
Tailwind
colors: {
  custom: {
    50: '#d3789f',
    500: '#ba3778',
    950: '#000000',
  },
}
SCSS
$custom: #ba3778;
$custom-light: #d3789f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3778",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 120
  },
  "hsl": {
    "h": 330.229,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54904,
    "c": 0.17708,
    "h": 354.1
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#BA3778
secondary
#85C8A7
accent
#DE944A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3778

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

Preview Lab → · Contrast checker → · Palette generator →

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