#BA4776#BA4776

#BA4776 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.6% C 0.155 H 357.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BA4776
RGBrgb(186, 71, 118)
HSLhsl(335, 45%, 50%)
HSVhsv(335, 62%, 73%)
CMYKcmyk(0%, 61.8%, 36.6%, 27.1%)
CIE-LABlab(47.31, 50.75, -2.44)
CIE-LCHlch(47.31, 50.81, 357.24°)
OKLaboklab(56.6% 0.155 -0.0058)
OKLCHoklch(56.6% 0.155 357.9)
XYZxyz(25.7744, 16.2564, 18.9165)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4776 #47BA8B
analogous
#BA47B0 #BA4776 #BA5147
triadic
#BA4776 #76BA47 #4776BA
tetradic
#BA4776 #B0BA47 #47BA8B #5147BA
square
#BA4776 #B0BA47 #47BA8B #5147BA
split-complementary
#BA4776 #47BA51 #47B0BA
monochromatic
#62253E #8E355A #BA4776 #CB7497 #DBA0B8

Accessibility & contrast

On white

4.94
#BA4776 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#BA4776 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4776
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4776#FFFFFF#000000##FFFFFF
##BA47761.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6377
Deuteranopia (green-blind)
#7A7873
Tritanopia (blue-blind)
#C83D59
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4776;
/* rgb */ color: rgb(186, 71, 118);
/* oklch */ color: oklch(56.6% 0.155 357.9);
Tailwind
colors: {
  custom: {
    50: '#d3809d',
    500: '#ba4776',
    950: '#000000',
  },
}
SCSS
$custom: #ba4776;
$custom-light: #d3809d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4776",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 118
  },
  "hsl": {
    "h": 335.478,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56601,
    "c": 0.15506,
    "h": 357.9
  },
  "luminance": 0.16254
}

Semantic roles & 50–950 ramp

primary
#BA4776
secondary
#95C8B3
accent
#D5A053
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4776

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

Preview Lab → · Contrast checker → · Palette generator →

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