#BA4980#BA4980

#BA4980 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.2% C 0.157 H 352.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA4980
RGBrgb(186, 73, 128)
HSLhsl(331, 45%, 51%)
HSVhsv(331, 61%, 73%)
CMYKcmyk(0%, 60.8%, 31.2%, 27.1%)
CIE-LABlab(47.96, 51.06, -7.53)
CIE-LCHlch(47.96, 51.61, 351.61°)
OKLaboklab(57.19% 0.1553 -0.0193)
OKLCHoklch(57.19% 0.157 352.9)
XYZxyz(26.5298, 16.7654, 22.2568)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4980 #49BA83
analogous
#BA49B9 #BA4980 #BA4A49
triadic
#BA4980 #80BA49 #4980BA
tetradic
#BA4980 #B9BA49 #49BA83 #4A49BA
square
#BA4980 #B9BA49 #49BA83 #4A49BA
split-complementary
#BA4980 #49BA4A #49B9BA
monochromatic
#632643 #8F3662 #BA4980 #CB759F #DCA2BE

Accessibility & contrast

On white

4.82
#BA4980 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BA4980 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4980
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4980#FFFFFF#000000##FFFFFF
##BA49801.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596582
Deuteranopia (green-blind)
#78797D
Tritanopia (blue-blind)
#C7435F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4980;
/* rgb */ color: rgb(186, 73, 128);
/* oklch */ color: oklch(57.2% 0.157 352.9);
Tailwind
colors: {
  custom: {
    50: '#d282a4',
    500: '#ba4980',
    950: '#000000',
  },
}
SCSS
$custom: #ba4980;
$custom-light: #d282a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4980",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 128
  },
  "hsl": {
    "h": 330.796,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57192,
    "c": 0.15655,
    "h": 352.9
  },
  "luminance": 0.16763
}

Semantic roles & 50–950 ramp

primary
#BA4980
secondary
#96C8B0
accent
#D59653
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA4980

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

Preview Lab → · Contrast checker → · Palette generator →

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