#BA4876#BA4876

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

Color values

HEX#BA4876
RGBrgb(186, 72, 118)
HSLhsl(336, 45%, 51%)
HSVhsv(336, 61%, 73%)
CMYKcmyk(0%, 61.3%, 36.6%, 27.1%)
CIE-LABlab(47.48, 50.30, -2.20)
CIE-LCHlch(47.48, 50.35, 357.50°)
OKLaboklab(56.73% 0.1536 -0.0051)
OKLCHoklch(56.73% 0.154 358.1)
XYZxyz(25.8386, 16.3847, 18.9379)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4876 #48BA8C
analogous
#BA48AF #BA4876 #BA5348
triadic
#BA4876 #76BA48 #4876BA
tetradic
#BA4876 #AFBA48 #48BA8C #5348BA
square
#BA4876 #AFBA48 #48BA8C #5348BA
split-complementary
#BA4876 #48BA53 #48AFBA
monochromatic
#62253E #8F365A #BA4876 #CB7497 #DCA1B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4876#FFFFFF#000000##FFFFFF
##BA48761.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)
#5C6377
Deuteranopia (green-blind)
#7A7973
Tritanopia (blue-blind)
#C83E5A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4876;
/* rgb */ color: rgb(186, 72, 118);
/* oklch */ color: oklch(56.7% 0.154 358.1);
Tailwind
colors: {
  custom: {
    50: '#d3819d',
    500: '#ba4876',
    950: '#000000',
  },
}
SCSS
$custom: #ba4876;
$custom-light: #d3819d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4876",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 118
  },
  "hsl": {
    "h": 335.789,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.15364,
    "h": 358.1
  },
  "luminance": 0.16382
}

Semantic roles & 50–950 ramp

primary
#BA4876
secondary
#96C8B4
accent
#D5A053
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4876

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

Preview Lab → · Contrast checker → · Palette generator →

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