#BA4E77#BA4E77

#BA4E77 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.5% C 0.145 H 359.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BA4E77
RGBrgb(186, 78, 119)
HSLhsl(337, 44%, 52%)
HSVhsv(337, 58%, 73%)
CMYKcmyk(0%, 58.1%, 36%, 27.1%)
CIE-LABlab(48.54, 47.65, -1.24)
CIE-LCHlch(48.54, 47.67, 358.51°)
OKLaboklab(57.53% 0.1453 -0.0026)
OKLCHoklch(57.53% 0.145 359)
XYZxyz(26.3053, 17.2225, 19.3881)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E77 #4EBA91
analogous
#BA4EAD #BA4E77 #BA5B4E
triadic
#BA4E77 #77BA4E #4E77BA
tetradic
#BA4E77 #ADBA4E #4EBA91 #5B4EBA
square
#BA4E77 #ADBA4E #4EBA91 #5B4EBA
split-complementary
#BA4E77 #4EBA5B #4EADBA
monochromatic
#66283F #92395B #BA4E77 #CB7A99 #DCA6BB

Accessibility & contrast

On white

4.73
#BA4E77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BA4E77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E77
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E77#FFFFFF#000000##FFFFFF
##BA4E771.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606778
Deuteranopia (green-blind)
#7D7B74
Tritanopia (blue-blind)
#C8455E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4e77;
/* rgb */ color: rgb(186, 78, 119);
/* oklch */ color: oklch(57.5% 0.145 359.0);
Tailwind
colors: {
  custom: {
    50: '#d2849e',
    500: '#ba4e77',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e77;
$custom-light: #d2849e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e77",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 119
  },
  "hsl": {
    "h": 337.222,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57527,
    "c": 0.14527,
    "h": 359
  },
  "luminance": 0.1722
}

Semantic roles & 50–950 ramp

primary
#BA4E77
secondary
#9ACAB8
accent
#D4A354
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4E77

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

Preview Lab → · Contrast checker → · Palette generator →

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