#BA4877#BA4877

#BA4877 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.8% C 0.154 H 357.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA4877
RGBrgb(186, 72, 119)
HSLhsl(335, 45%, 51%)
HSVhsv(335, 61%, 73%)
CMYKcmyk(0%, 61.3%, 36%, 27.1%)
CIE-LABlab(47.51, 50.42, -2.76)
CIE-LCHlch(47.51, 50.49, 356.86°)
OKLaboklab(56.76% 0.1539 -0.0066)
OKLCHoklch(56.76% 0.154 357.5)
XYZxyz(25.8983, 16.4086, 19.2525)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4877 #48BA8B
analogous
#BA48B0 #BA4877 #BA5248
triadic
#BA4877 #77BA48 #4877BA
tetradic
#BA4877 #B0BA48 #48BA8B #5248BA
square
#BA4877 #B0BA48 #48BA8B #5248BA
split-complementary
#BA4877 #48BA52 #48B0BA
monochromatic
#62253E #8F365B #BA4877 #CB7498 #DCA1B9

Accessibility & contrast

On white

4.91
#BA4877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BA4877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4877
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4877#FFFFFF#000000##FFFFFF
##BA48771.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6378
Deuteranopia (green-blind)
#7A7974
Tritanopia (blue-blind)
#C83F5A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4877;
/* rgb */ color: rgb(186, 72, 119);
/* oklch */ color: oklch(56.8% 0.154 357.5);
Tailwind
colors: {
  custom: {
    50: '#d3819e',
    500: '#ba4877',
    950: '#000000',
  },
}
SCSS
$custom: #ba4877;
$custom-light: #d3819e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4877",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 335.263,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56758,
    "c": 0.15402,
    "h": 357.5
  },
  "luminance": 0.16406
}

Semantic roles & 50–950 ramp

primary
#BA4877
secondary
#96C8B3
accent
#D59F53
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4877

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

Preview Lab → · Contrast checker → · Palette generator →

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