#BA4773#BA4773

#BA4773 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.5% C 0.154 H 359.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA4773
RGBrgb(186, 71, 115)
HSLhsl(337, 45%, 50%)
HSVhsv(337, 62%, 73%)
CMYKcmyk(0%, 61.8%, 38.2%, 27.1%)
CIE-LABlab(47.22, 50.41, -0.75)
CIE-LCHlch(47.22, 50.41, 359.14°)
OKLaboklab(56.5% 0.1539 -0.0013)
OKLCHoklch(56.5% 0.154 359.5)
XYZxyz(25.5990, 16.1862, 17.9925)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4773 #47BA8E
analogous
#BA47AD #BA4773 #BA5447
triadic
#BA4773 #73BA47 #4773BA
tetradic
#BA4773 #ADBA47 #47BA8E #5447BA
square
#BA4773 #ADBA47 #47BA8E #5447BA
split-complementary
#BA4773 #47BA54 #47ADBA
monochromatic
#62253C #8E3557 #BA4773 #CB7495 #DBA0B7

Accessibility & contrast

On white

4.96
#BA4773 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BA4773 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4773
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4773#FFFFFF#000000##FFFFFF
##BA47731.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6274
Deuteranopia (green-blind)
#7A7870
Tritanopia (blue-blind)
#C93C58
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4773;
/* rgb */ color: rgb(186, 71, 115);
/* oklch */ color: oklch(56.5% 0.154 359.5);
Tailwind
colors: {
  custom: {
    50: '#d3809b',
    500: '#ba4773',
    950: '#000000',
  },
}
SCSS
$custom: #ba4773;
$custom-light: #d3809b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4773",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 115
  },
  "hsl": {
    "h": 337.043,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56503,
    "c": 0.15394,
    "h": 359.5
  },
  "luminance": 0.16183
}

Semantic roles & 50–950 ramp

primary
#BA4773
secondary
#95C8B4
accent
#D5A353
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4773

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

Preview Lab → · Contrast checker → · Palette generator →

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