#BA4472#BA4472

#BA4472 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.1% C 0.158 H 359.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BA4472
RGBrgb(186, 68, 114)
HSLhsl(337, 46%, 50%)
HSVhsv(337, 63%, 73%)
CMYKcmyk(0%, 63.4%, 38.7%, 27.1%)
CIE-LABlab(46.70, 51.62, -0.90)
CIE-LCHlch(46.70, 51.62, 359.00°)
OKLaboklab(56.11% 0.1577 -0.0017)
OKLCHoklch(56.11% 0.158 359.4)
XYZxyz(25.3557, 15.7911, 17.6290)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4472 #44BA8C
analogous
#BA44AD #BA4472 #BA5144
triadic
#BA4472 #72BA44 #4472BA
tetradic
#BA4472 #ADBA44 #44BA8C #5144BA
square
#BA4472 #ADBA44 #44BA8C #5144BA
split-complementary
#BA4472 #44BA51 #44ADBA
monochromatic
#60233B #8D3457 #BA4472 #CB7094 #DB9DB5

Accessibility & contrast

On white

5.05
#BA4472 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BA4472 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4472
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4472#FFFFFF#000000##FFFFFF
##BA44721.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6173
Deuteranopia (green-blind)
#79776F
Tritanopia (blue-blind)
#C93856
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4472;
/* rgb */ color: rgb(186, 68, 114);
/* oklch */ color: oklch(56.1% 0.158 359.4);
Tailwind
colors: {
  custom: {
    50: '#d37e9a',
    500: '#ba4472',
    950: '#000000',
  },
}
SCSS
$custom: #ba4472;
$custom-light: #d37e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4472",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 114
  },
  "hsl": {
    "h": 336.61,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56108,
    "c": 0.15775,
    "h": 359.4
  },
  "luminance": 0.15788
}

Semantic roles & 50–950 ramp

primary
#BA4472
secondary
#92C8B3
accent
#D6A252
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4472

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

Preview Lab → · Contrast checker → · Palette generator →

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