#BA3980#BA3980

#BA3980 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.4% C 0.178 H 350.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BA3980
RGBrgb(186, 57, 128)
HSLhsl(327, 53%, 48%)
HSVhsv(327, 69%, 73%)
CMYKcmyk(0%, 69.4%, 31.2%, 27.1%)
CIE-LABlab(45.53, 57.71, -11.18)
CIE-LCHlch(45.53, 58.79, 349.04°)
OKLaboklab(55.4% 0.1761 -0.0291)
OKLCHoklch(55.4% 0.178 350.6)
XYZxyz(25.6104, 14.9267, 21.9503)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3980 #39BA73
analogous
#B339BA #BA3980 #BA393F
triadic
#BA3980 #80BA39 #3980BA
tetradic
#BA3980 #BAB339 #39BA73 #393FBA
square
#BA3980 #BAB339 #39BA73 #393FBA
split-complementary
#BA3980 #3FBA39 #39BAB3
monochromatic
#5C1C40 #8B2B60 #BA3980 #CF619E #DD90BB

Accessibility & contrast

On white

5.27
#BA3980 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BA3980 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3980
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3980#FFFFFF#000000##FFFFFF
##BA39801.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D82
Deuteranopia (green-blind)
#71747D
Tritanopia (blue-blind)
#C83257
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3980;
/* rgb */ color: rgb(186, 57, 128);
/* oklch */ color: oklch(55.4% 0.178 350.6);
Tailwind
colors: {
  custom: {
    50: '#d379a4',
    500: '#ba3980',
    950: '#000000',
  },
}
SCSS
$custom: #ba3980;
$custom-light: #d379a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3980",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 128
  },
  "hsl": {
    "h": 326.977,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55399,
    "c": 0.17844,
    "h": 350.6
  },
  "luminance": 0.14924
}

Semantic roles & 50–950 ramp

primary
#BA3980
secondary
#87C8A4
accent
#DC8D4B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3980

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

Preview Lab → · Contrast checker → · Palette generator →

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