#BA4774#BA4774

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

Color values

HEX#BA4774
RGBrgb(186, 71, 116)
HSLhsl(337, 45%, 50%)
HSVhsv(337, 62%, 73%)
CMYKcmyk(0%, 61.8%, 37.6%, 27.1%)
CIE-LABlab(47.25, 50.52, -1.32)
CIE-LCHlch(47.25, 50.54, 358.51°)
OKLaboklab(56.54% 0.1543 -0.0028)
OKLCHoklch(56.54% 0.154 359)
XYZxyz(25.6569, 16.2094, 18.2972)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4774 #47BA8D
analogous
#BA47AD #BA4774 #BA5347
triadic
#BA4774 #74BA47 #4774BA
tetradic
#BA4774 #ADBA47 #47BA8D #5347BA
square
#BA4774 #ADBA47 #47BA8D #5347BA
split-complementary
#BA4774 #47BA53 #47ADBA
monochromatic
#62253D #8E3558 #BA4774 #CB7496 #DBA0B7

Accessibility & contrast

On white

4.95
#BA4774 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA4774
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4774#FFFFFF#000000##FFFFFF
##BA47741.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4774;
/* rgb */ color: rgb(186, 71, 116);
/* oklch */ color: oklch(56.5% 0.154 359.0);
Tailwind
colors: {
  custom: {
    50: '#d3809b',
    500: '#ba4774',
    950: '#000000',
  },
}
SCSS
$custom: #ba4774;
$custom-light: #d3809b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4774",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 116
  },
  "hsl": {
    "h": 336.522,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56536,
    "c": 0.1543,
    "h": 359
  },
  "luminance": 0.16207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4774

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

Preview Lab → · Contrast checker → · Palette generator →

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