#BA4477#BA4477

#BA4477 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.3% C 0.160 H 356.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BA4477
RGBrgb(186, 68, 119)
HSLhsl(334, 46%, 50%)
HSVhsv(334, 63%, 73%)
CMYKcmyk(0%, 63.4%, 36%, 27.1%)
CIE-LABlab(46.85, 52.18, -3.72)
CIE-LCHlch(46.85, 52.32, 355.92°)
OKLaboklab(56.27% 0.1594 -0.0091)
OKLCHoklch(56.27% 0.16 356.7)
XYZxyz(25.6481, 15.9081, 19.1691)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4477 #44BA87
analogous
#BA44B2 #BA4477 #BA4C44
triadic
#BA4477 #77BA44 #4477BA
tetradic
#BA4477 #B2BA44 #44BA87 #4C44BA
square
#BA4477 #B2BA44 #44BA87 #4C44BA
split-complementary
#BA4477 #44BA4C #44B2BA
monochromatic
#60233E #8D345A #BA4477 #CB7097 #DB9DB8

Accessibility & contrast

On white

5.02
#BA4477 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BA4477 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4477
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4477#FFFFFF#000000##FFFFFF
##BA44771.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586178
Deuteranopia (green-blind)
#787774
Tritanopia (blue-blind)
#C83A58
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4477;
/* rgb */ color: rgb(186, 68, 119);
/* oklch */ color: oklch(56.3% 0.160 356.7);
Tailwind
colors: {
  custom: {
    50: '#d37f9e',
    500: '#ba4477',
    950: '#000000',
  },
}
SCSS
$custom: #ba4477;
$custom-light: #d37f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4477",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 119
  },
  "hsl": {
    "h": 334.068,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56273,
    "c": 0.15967,
    "h": 356.7
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#BA4477
secondary
#92C8B1
accent
#D69D52
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4477

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

Preview Lab → · Contrast checker → · Palette generator →

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