#BA3979#BA3979

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

Color values

HEX#BA3979
RGBrgb(186, 57, 121)
HSLhsl(330, 53%, 48%)
HSVhsv(330, 69%, 73%)
CMYKcmyk(0%, 69.4%, 34.9%, 27.1%)
CIE-LABlab(45.29, 56.89, -7.27)
CIE-LCHlch(45.29, 57.35, 352.72°)
OKLaboklab(55.14% 0.1741 -0.0185)
OKLCHoklch(55.14% 0.175 353.9)
XYZxyz(25.1655, 14.7487, 19.6070)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3979 #39BA7A
analogous
#BA39B9 #BA3979 #BA3A39
triadic
#BA3979 #79BA39 #3979BA
tetradic
#BA3979 #B9BA39 #39BA7A #3A39BA
square
#BA3979 #B9BA39 #39BA7A #3A39BA
split-complementary
#BA3979 #39BA3A #39B9BA
monochromatic
#5C1C3C #8B2B5B #BA3979 #CF6198 #DD90B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3979#FFFFFF#000000##FFFFFF
##BA39791.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)
#4F5C7B
Deuteranopia (green-blind)
#737476
Tritanopia (blue-blind)
#C82E54
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3979;
/* rgb */ color: rgb(186, 57, 121);
/* oklch */ color: oklch(55.1% 0.175 353.9);
Tailwind
colors: {
  custom: {
    50: '#d3799f',
    500: '#ba3979',
    950: '#000000',
  },
}
SCSS
$custom: #ba3979;
$custom-light: #d3799f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3979",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 330.233,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55138,
    "c": 0.17507,
    "h": 353.9
  },
  "luminance": 0.14746
}

Semantic roles & 50–950 ramp

primary
#BA3979
secondary
#87C8A8
accent
#DC944B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3979

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

Preview Lab → · Contrast checker → · Palette generator →

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