#BA3579#BA3579

#BA3579 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.7% C 0.180 H 353.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BA3579
RGBrgb(186, 53, 121)
HSLhsl(329, 56%, 47%)
HSVhsv(329, 72%, 73%)
CMYKcmyk(0%, 71.5%, 34.9%, 27.1%)
CIE-LABlab(44.76, 58.37, -8.06)
CIE-LCHlch(44.76, 58.92, 352.13°)
OKLaboklab(54.75% 0.1788 -0.0206)
OKLCHoklch(54.75% 0.18 353.4)
XYZxyz(24.9755, 14.3687, 19.5436)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3579 #35BA76
analogous
#B935BA #BA3579 #BA3537
triadic
#BA3579 #79BA35 #3579BA
tetradic
#BA3579 #BAB935 #35BA76 #3537BA
square
#BA3579 #BAB935 #35BA76 #3537BA
split-complementary
#BA3579 #37BA35 #35BAB9
monochromatic
#5B1A3B #8A275A #BA3579 #D05C97 #DE8BB6

Accessibility & contrast

On white

5.42
#BA3579 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA3579 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3579
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3579#FFFFFF#000000##FFFFFF
##BA35791.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3579;
/* rgb */ color: rgb(186, 53, 121);
/* oklch */ color: oklch(54.7% 0.180 353.4);
Tailwind
colors: {
  custom: {
    50: '#d3779f',
    500: '#ba3579',
    950: '#000000',
  },
}
SCSS
$custom: #ba3579;
$custom-light: #d3779f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3579",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 121
  },
  "hsl": {
    "h": 329.323,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54748,
    "c": 0.17993,
    "h": 353.4
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#BA3579
secondary
#82C8A5
accent
#DF9249
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3579

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

Preview Lab → · Contrast checker → · Palette generator →

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