#BA5477#BA5477

#BA5477 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.3% C 0.136 H 0.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BA5477
RGBrgb(186, 84, 119)
HSLhsl(339, 43%, 53%)
HSVhsv(339, 55%, 73%)
CMYKcmyk(0%, 54.8%, 36%, 27.1%)
CIE-LABlab(49.63, 44.76, 0.36)
CIE-LCHlch(49.63, 44.77, 0.46°)
OKLaboklab(58.35% 0.1363 0.0015)
OKLCHoklch(58.35% 0.136 0.6)
XYZxyz(26.7512, 18.1144, 19.5368)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5477 #54BA97
analogous
#BA54AA #BA5477 #BA6454
triadic
#BA5477 #77BA54 #5477BA
tetradic
#BA5477 #AABA54 #54BA97 #6454BA
square
#BA5477 #AABA54 #54BA97 #6454BA
split-complementary
#BA5477 #54BA64 #54AABA
monochromatic
#692A40 #953C5A #BA5477 #CC809A #DDABBC

Accessibility & contrast

On white

4.54
#BA5477 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BA5477 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5477
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5477#FFFFFF#000000##000000
##BA54771.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#656A78
Deuteranopia (green-blind)
#807D75
Tritanopia (blue-blind)
#C84B61
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba5477;
/* rgb */ color: rgb(186, 84, 119);
/* oklch */ color: oklch(58.3% 0.136 0.6);
Tailwind
colors: {
  custom: {
    50: '#d2889e',
    500: '#ba5477',
    950: '#000000',
  },
}
SCSS
$custom: #ba5477;
$custom-light: #d2889e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5477",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 119
  },
  "hsl": {
    "h": 339.412,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58347,
    "c": 0.13627,
    "h": 0.6
  },
  "luminance": 0.18112
}

Semantic roles & 50–950 ramp

primary
#BA5477
secondary
#9FCBBC
accent
#D2A756
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E

Preview Lab

Preview with #BA5477

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

Preview Lab → · Contrast checker → · Palette generator →

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