#BA3474#BA3474

#BA3474 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.5% C 0.179 H 355.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA3474
RGBrgb(186, 52, 116)
HSLhsl(331, 56%, 47%)
HSVhsv(331, 72%, 73%)
CMYKcmyk(0%, 72%, 37.6%, 27.1%)
CIE-LABlab(44.46, 58.17, -5.43)
CIE-LCHlch(44.46, 58.43, 354.66°)
OKLaboklab(54.47% 0.1784 -0.0136)
OKLCHoklch(54.47% 0.179 355.6)
XYZxyz(24.6317, 14.1590, 17.9555)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3474 #34BA7A
analogous
#BA34B7 #BA3474 #BA3734
triadic
#BA3474 #74BA34 #3474BA
tetradic
#BA3474 #B7BA34 #34BA7A #3734BA
square
#BA3474 #B7BA34 #34BA7A #3734BA
split-complementary
#BA3474 #34BA37 #34B7BA
monochromatic
#5A1938 #8A2756 #BA3474 #D15A93 #DE8AB2

Accessibility & contrast

On white

5.48
#BA3474 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA3474 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3474
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3474#FFFFFF#000000##FFFFFF
##BA34741.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5976
Deuteranopia (green-blind)
#737271
Tritanopia (blue-blind)
#C9264F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3474;
/* rgb */ color: rgb(186, 52, 116);
/* oklch */ color: oklch(54.5% 0.179 355.6);
Tailwind
colors: {
  custom: {
    50: '#d3779c',
    500: '#ba3474',
    950: '#000000',
  },
}
SCSS
$custom: #ba3474;
$custom-light: #d3779c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3474",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 331.343,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54475,
    "c": 0.17893,
    "h": 355.6
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#BA3474
secondary
#81C8A6
accent
#E09748
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3474

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

Preview Lab → · Contrast checker → · Palette generator →

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