#BA3D82#BA3D82

#BA3D82 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.9% C 0.174 H 350.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BA3D82
RGBrgb(186, 61, 130)
HSLhsl(327, 51%, 48%)
HSVhsv(327, 67%, 73%)
CMYKcmyk(0%, 67.2%, 30.1%, 27.1%)
CIE-LABlab(46.17, 56.41, -11.44)
CIE-LCHlch(46.17, 57.56, 348.53°)
OKLaboklab(55.89% 0.1718 -0.0298)
OKLCHoklch(55.89% 0.174 350.2)
XYZxyz(25.9490, 15.3911, 22.7190)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D82 #3DBA75
analogous
#B33DBA #BA3D82 #BA3D43
triadic
#BA3D82 #82BA3D #3D82BA
tetradic
#BA3D82 #BAB33D #3DBA75 #3D43BA
square
#BA3D82 #BAB33D #3DBA75 #3D43BA
split-complementary
#BA3D82 #43BA3D #3DBAB3
monochromatic
#5E1F42 #8C2E62 #BA3D82 #CD679F #DC95BC

Accessibility & contrast

On white

5.15
#BA3D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BA3D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D82
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D82#FFFFFF#000000##FFFFFF
##BA3D821.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F84
Deuteranopia (green-blind)
#72757F
Tritanopia (blue-blind)
#C7375A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3d82;
/* rgb */ color: rgb(186, 61, 130);
/* oklch */ color: oklch(55.9% 0.174 350.2);
Tailwind
colors: {
  custom: {
    50: '#d37ba6',
    500: '#ba3d82',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d82;
$custom-light: #d37ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d82",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 130
  },
  "hsl": {
    "h": 326.88,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55887,
    "c": 0.17433,
    "h": 350.2
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

primary
#BA3D82
secondary
#8BC8A6
accent
#DA8D4E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3D82

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

Preview Lab → · Contrast checker → · Palette generator →

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