#BA4580#BA4580

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

Color values

HEX#BA4580
RGBrgb(186, 69, 128)
HSLhsl(330, 46%, 50%)
HSVhsv(330, 63%, 73%)
CMYKcmyk(0%, 62.9%, 31.2%, 27.1%)
CIE-LABlab(47.31, 52.83, -8.51)
CIE-LCHlch(47.31, 53.51, 350.85°)
OKLaboklab(56.71% 0.1608 -0.0219)
OKLCHoklch(56.71% 0.162 352.2)
XYZxyz(26.2754, 16.2566, 22.1720)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4580 #45BA7F
analogous
#BA45BA #BA4580 #BA4545
triadic
#BA4580 #80BA45 #4580BA
tetradic
#BA4580 #BABA45 #45BA7F #4545BA
square
#BA4580 #BABA45 #45BA7F #4545BA
split-complementary
#BA4580 #45BA45 #45BABA
monochromatic
#612443 #8D3461 #BA4580 #CB729E #DB9EBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4580#FFFFFF#000000##FFFFFF
##BA45801.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)
#566382
Deuteranopia (green-blind)
#76787D
Tritanopia (blue-blind)
#C73E5D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4580;
/* rgb */ color: rgb(186, 69, 128);
/* oklch */ color: oklch(56.7% 0.162 352.2);
Tailwind
colors: {
  custom: {
    50: '#d27fa4',
    500: '#ba4580',
    950: '#000000',
  },
}
SCSS
$custom: #ba4580;
$custom-light: #d27fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4580",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 329.744,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.56708,
    "c": 0.16233,
    "h": 352.2
  },
  "luminance": 0.16254
}

Semantic roles & 50–950 ramp

primary
#BA4580
secondary
#93C8AD
accent
#D69352
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA4580

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

Preview Lab → · Contrast checker → · Palette generator →

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