#BA3879#BA3879

#BA3879 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.176 H 353.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BA3879
RGBrgb(186, 56, 121)
HSLhsl(330, 54%, 47%)
HSVhsv(330, 70%, 73%)
CMYKcmyk(0%, 69.9%, 34.9%, 27.1%)
CIE-LABlab(45.15, 57.27, -7.47)
CIE-LCHlch(45.15, 57.75, 352.56°)
OKLaboklab(55.04% 0.1753 -0.019)
OKLCHoklch(55.04% 0.176 353.8)
XYZxyz(25.1165, 14.6508, 19.5907)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3879 #38BA79
analogous
#BA38BA #BA3879 #BA3838
triadic
#BA3879 #79BA38 #3879BA
tetradic
#BA3879 #BABA38 #38BA79 #3838BA
square
#BA3879 #BABA38 #38BA79 #3838BA
split-complementary
#BA3879 #38BA38 #38BABA
monochromatic
#5C1C3C #8B2A5A #BA3879 #CF6098 #DD8FB6

Accessibility & contrast

On white

5.34
#BA3879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BA3879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3879
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3879#FFFFFF#000000##FFFFFF
##BA38791.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7B
Deuteranopia (green-blind)
#737476
Tritanopia (blue-blind)
#C82D54
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3879;
/* rgb */ color: rgb(186, 56, 121);
/* oklch */ color: oklch(55.0% 0.176 353.8);
Tailwind
colors: {
  custom: {
    50: '#d3799f',
    500: '#ba3879',
    950: '#000000',
  },
}
SCSS
$custom: #ba3879;
$custom-light: #d3799f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3879",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 330,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55038,
    "c": 0.17631,
    "h": 353.8
  },
  "luminance": 0.14648
}

Semantic roles & 50–950 ramp

primary
#BA3879
secondary
#86C8A7
accent
#DD944B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3879

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

Preview Lab → · Contrast checker → · Palette generator →

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