#BA3780#BA3780

#BA3780 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.2% C 0.181 H 350.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BA3780
RGBrgb(186, 55, 128)
HSLhsl(327, 54%, 47%)
HSVhsv(327, 70%, 73%)
CMYKcmyk(0%, 70.4%, 31.2%, 27.1%)
CIE-LABlab(45.27, 58.46, -11.58)
CIE-LCHlch(45.27, 59.60, 348.79°)
OKLaboklab(55.2% 0.1784 -0.0301)
OKLCHoklch(55.2% 0.181 350.4)
XYZxyz(25.5135, 14.7329, 21.9180)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3780 #37BA71
analogous
#B337BA #BA3780 #BA373E
triadic
#BA3780 #80BA37 #3780BA
tetradic
#BA3780 #BAB337 #37BA71 #373EBA
square
#BA3780 #BAB337 #37BA71 #373EBA
split-complementary
#BA3780 #3EBA37 #37BAB3
monochromatic
#5C1B3F #8B295F #BA3780 #D05F9E #DE8EBA

Accessibility & contrast

On white

5.32
#BA3780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BA3780 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3780
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3780#FFFFFF#000000##FFFFFF
##BA37801.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5C82
Deuteranopia (green-blind)
#71747D
Tritanopia (blue-blind)
#C82F57
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3780;
/* rgb */ color: rgb(186, 55, 128);
/* oklch */ color: oklch(55.2% 0.181 350.4);
Tailwind
colors: {
  custom: {
    50: '#d378a4',
    500: '#ba3780',
    950: '#000000',
  },
}
SCSS
$custom: #ba3780;
$custom-light: #d378a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3780",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 128
  },
  "hsl": {
    "h": 326.565,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.18092,
    "h": 350.4
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#BA3780
secondary
#85C8A3
accent
#DE8B4A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3780

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

Preview Lab → · Contrast checker → · Palette generator →

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