#BA5478#BA5478

#BA5478 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.4% C 0.137 H 0.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA5478
RGBrgb(186, 84, 120)
HSLhsl(339, 43%, 53%)
HSVhsv(339, 55%, 73%)
CMYKcmyk(0%, 54.8%, 35.5%, 27.1%)
CIE-LABlab(49.66, 44.88, -0.20)
CIE-LCHlch(49.66, 44.88, 359.74°)
OKLaboklab(58.38% 0.1366 0.0001)
OKLCHoklch(58.38% 0.137 0)
XYZxyz(26.8116, 18.1385, 19.8547)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5478 #54BA96
analogous
#BA54AB #BA5478 #BA6354
triadic
#BA5478 #78BA54 #5478BA
tetradic
#BA5478 #ABBA54 #54BA96 #6354BA
square
#BA5478 #ABBA54 #54BA96 #6354BA
split-complementary
#BA5478 #54BA63 #54ABBA
monochromatic
#692A41 #953C5B #BA5478 #CC809A #DDABBD

Accessibility & contrast

On white

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

On black

4.63
#BA5478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5478
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5478#FFFFFF#000000##000000
##BA54781.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#656A79
Deuteranopia (green-blind)
#7F7D76
Tritanopia (blue-blind)
#C84C61
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba5478;
/* rgb */ color: rgb(186, 84, 120);
/* oklch */ color: oklch(58.4% 0.137 0.0);
Tailwind
colors: {
  custom: {
    50: '#d2889e',
    500: '#ba5478',
    950: '#000000',
  },
}
SCSS
$custom: #ba5478;
$custom-light: #d2889e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5478",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 338.824,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58378,
    "c": 0.13662,
    "h": 0
  },
  "luminance": 0.18136
}

Semantic roles & 50–950 ramp

primary
#BA5478
secondary
#9FCBBB
accent
#D2A656
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E

Preview Lab

Preview with #BA5478

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

Preview Lab → · Contrast checker → · Palette generator →

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