#BA3982#BA3982

#BA3982 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.5% C 0.179 H 349.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA3982
RGBrgb(186, 57, 130)
HSLhsl(326, 53%, 48%)
HSVhsv(326, 69%, 73%)
CMYKcmyk(0%, 69.4%, 30.1%, 27.1%)
CIE-LABlab(45.61, 57.96, -12.29)
CIE-LCHlch(45.61, 59.25, 348.03°)
OKLaboklab(55.48% 0.1766 -0.0321)
OKLCHoklch(55.48% 0.179 349.7)
XYZxyz(25.7434, 14.9799, 22.6505)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3982 #39BA71
analogous
#B239BA #BA3982 #BA3941
triadic
#BA3982 #82BA39 #3982BA
tetradic
#BA3982 #BAB239 #39BA71 #3941BA
square
#BA3982 #BAB239 #39BA71 #3941BA
split-complementary
#BA3982 #41BA39 #39BAB2
monochromatic
#5C1C41 #8B2B61 #BA3982 #CF619F #DD90BC

Accessibility & contrast

On white

5.26
#BA3982 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA3982 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3982
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3982#FFFFFF#000000##FFFFFF
##BA39821.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5D84
Deuteranopia (green-blind)
#71747F
Tritanopia (blue-blind)
#C73358
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3982;
/* rgb */ color: rgb(186, 57, 130);
/* oklch */ color: oklch(55.5% 0.179 349.7);
Tailwind
colors: {
  custom: {
    50: '#d379a6',
    500: '#ba3982',
    950: '#000000',
  },
}
SCSS
$custom: #ba3982;
$custom-light: #d379a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3982",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 130
  },
  "hsl": {
    "h": 326.047,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55477,
    "c": 0.17948,
    "h": 349.7
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#BA3982
secondary
#87C8A3
accent
#DC8A4B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3982

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

Preview Lab → · Contrast checker → · Palette generator →

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