#BA3477#BA3477

#BA3477 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.180 H 354.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#BA3477
RGBrgb(186, 52, 119)
HSLhsl(330, 56%, 47%)
HSVhsv(330, 72%, 73%)
CMYKcmyk(0%, 72%, 36%, 27.1%)
CIE-LABlab(44.56, 58.50, -7.13)
CIE-LCHlch(44.56, 58.94, 353.05°)
OKLaboklab(54.58% 0.1793 -0.0181)
OKLCHoklch(54.58% 0.18 354.2)
XYZxyz(24.8090, 14.2299, 18.8894)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3477 #34BA77
analogous
#BA34BA #BA3477 #BA3434
triadic
#BA3477 #77BA34 #3477BA
tetradic
#BA3477 #BABA34 #34BA77 #3434BA
square
#BA3477 #BABA34 #34BA77 #3434BA
split-complementary
#BA3477 #34BA34 #34BABA
monochromatic
#5A193A #8A2758 #BA3477 #D15A96 #DE8AB4

Accessibility & contrast

On white

5.46
#BA3477 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BA3477 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3477
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3477#FFFFFF#000000##FFFFFF
##BA34771.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A79
Deuteranopia (green-blind)
#727274
Tritanopia (blue-blind)
#C92751
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3477;
/* rgb */ color: rgb(186, 52, 119);
/* oklch */ color: oklch(54.6% 0.180 354.2);
Tailwind
colors: {
  custom: {
    50: '#d3779e',
    500: '#ba3477',
    950: '#000000',
  },
}
SCSS
$custom: #ba3477;
$custom-light: #d3779e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3477",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 119
  },
  "hsl": {
    "h": 330,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54582,
    "c": 0.18021,
    "h": 354.2
  },
  "luminance": 0.14227
}

Semantic roles & 50–950 ramp

primary
#BA3477
secondary
#81C8A5
accent
#E09448
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3477

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

Preview Lab → · Contrast checker → · Palette generator →

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