#BA3479#BA3479

#BA3479 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.7% C 0.181 H 353.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BA3479
RGBrgb(186, 52, 121)
HSLhsl(329, 56%, 47%)
HSVhsv(329, 72%, 73%)
CMYKcmyk(0%, 72%, 34.9%, 27.1%)
CIE-LABlab(44.63, 58.73, -8.26)
CIE-LCHlch(44.63, 59.30, 352.00°)
OKLaboklab(54.66% 0.1799 -0.0211)
OKLCHoklch(54.66% 0.181 353.3)
XYZxyz(24.9304, 14.2785, 19.5286)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3479 #34BA75
analogous
#B834BA #BA3479 #BA3436
triadic
#BA3479 #79BA34 #3479BA
tetradic
#BA3479 #BAB834 #34BA75 #3436BA
square
#BA3479 #BAB834 #34BA75 #3436BA
split-complementary
#BA3479 #36BA34 #34BAB8
monochromatic
#5A193B #8A275A #BA3479 #D15A97 #DE8AB5

Accessibility & contrast

On white

5.45
#BA3479 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#BA3479 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3479
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3479#FFFFFF#000000##FFFFFF
##BA34791.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3479;
/* rgb */ color: rgb(186, 52, 121);
/* oklch */ color: oklch(54.7% 0.181 353.3);
Tailwind
colors: {
  custom: {
    50: '#d3779f',
    500: '#ba3479',
    950: '#000000',
  },
}
SCSS
$custom: #ba3479;
$custom-light: #d3779f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3479",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 329.104,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54655,
    "c": 0.18112,
    "h": 353.3
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

primary
#BA3479
secondary
#81C8A4
accent
#E09248
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3479

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

Preview Lab → · Contrast checker → · Palette generator →

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