#BA4772#BA4772

#BA4772 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.5% C 0.154 H 0.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA4772
RGBrgb(186, 71, 114)
HSLhsl(338, 45%, 50%)
HSVhsv(338, 62%, 73%)
CMYKcmyk(0%, 61.8%, 38.7%, 27.1%)
CIE-LABlab(47.19, 50.29, -0.19)
CIE-LCHlch(47.19, 50.30, 359.78°)
OKLaboklab(56.47% 0.1536 0.0001)
OKLCHoklch(56.47% 0.154 0)
XYZxyz(25.5418, 16.1633, 17.6911)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4772 #47BA8F
analogous
#BA47AC #BA4772 #BA5547
triadic
#BA4772 #72BA47 #4772BA
tetradic
#BA4772 #ACBA47 #47BA8F #5547BA
square
#BA4772 #ACBA47 #47BA8F #5547BA
split-complementary
#BA4772 #47BA55 #47ACBA
monochromatic
#62253C #8E3557 #BA4772 #CB7494 #DBA0B6

Accessibility & contrast

On white

4.96
#BA4772 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BA4772 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4772
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4772#FFFFFF#000000##FFFFFF
##BA47721.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6273
Deuteranopia (green-blind)
#7A786F
Tritanopia (blue-blind)
#C93C58
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4772;
/* rgb */ color: rgb(186, 71, 114);
/* oklch */ color: oklch(56.5% 0.154 0.0);
Tailwind
colors: {
  custom: {
    50: '#d3809a',
    500: '#ba4772',
    950: '#000000',
  },
}
SCSS
$custom: #ba4772;
$custom-light: #d3809a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4772",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 114
  },
  "hsl": {
    "h": 337.565,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56471,
    "c": 0.15359,
    "h": 0
  },
  "luminance": 0.1616
}

Semantic roles & 50–950 ramp

primary
#BA4772
secondary
#95C8B5
accent
#D5A453
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4772

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

Preview Lab → · Contrast checker → · Palette generator →

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