#BA3779#BA3779

#BA3779 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.9% C 0.178 H 353.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BA3779
RGBrgb(186, 55, 121)
HSLhsl(330, 54%, 47%)
HSVhsv(330, 70%, 73%)
CMYKcmyk(0%, 70.4%, 34.9%, 27.1%)
CIE-LABlab(45.02, 57.64, -7.67)
CIE-LCHlch(45.02, 58.15, 352.42°)
OKLaboklab(54.94% 0.1765 -0.0196)
OKLCHoklch(54.94% 0.178 353.7)
XYZxyz(25.0686, 14.5549, 19.5747)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3779 #37BA78
analogous
#BA37BA #BA3779 #BA3737
triadic
#BA3779 #79BA37 #3779BA
tetradic
#BA3779 #BABA37 #37BA78 #3737BA
square
#BA3779 #BABA37 #37BA78 #3737BA
split-complementary
#BA3779 #37BA37 #37BABA
monochromatic
#5C1B3C #8B295A #BA3779 #D05F98 #DE8EB6

Accessibility & contrast

On white

5.37
#BA3779 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3779
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3779#FFFFFF#000000##FFFFFF
##BA37791.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3779;
/* rgb */ color: rgb(186, 55, 121);
/* oklch */ color: oklch(54.9% 0.178 353.7);
Tailwind
colors: {
  custom: {
    50: '#d3789f',
    500: '#ba3779',
    950: '#000000',
  },
}
SCSS
$custom: #ba3779;
$custom-light: #d3789f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3779",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 121
  },
  "hsl": {
    "h": 329.771,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5494,
    "c": 0.17753,
    "h": 353.7
  },
  "luminance": 0.14552
}

Semantic roles & 50–950 ramp

primary
#BA3779
secondary
#85C8A6
accent
#DE934A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3779

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

Preview Lab → · Contrast checker → · Palette generator →

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