#BA3A82#BA3A82

#BA3A82 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.6% C 0.178 H 349.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BA3A82
RGBrgb(186, 58, 130)
HSLhsl(326, 52%, 48%)
HSVhsv(326, 69%, 73%)
CMYKcmyk(0%, 68.8%, 30.1%, 27.1%)
CIE-LABlab(45.74, 57.58, -12.08)
CIE-LCHlch(45.74, 58.83, 348.15°)
OKLaboklab(55.58% 0.1754 -0.0315)
OKLCHoklch(55.58% 0.178 349.8)
XYZxyz(25.7933, 15.0797, 22.6671)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A82 #3ABA72
analogous
#B23ABA #BA3A82 #BA3A42
triadic
#BA3A82 #82BA3A #3A82BA
tetradic
#BA3A82 #BAB23A #3ABA72 #3A42BA
square
#BA3A82 #BAB23A #3ABA72 #3A42BA
split-complementary
#BA3A82 #42BA3A #3ABAB2
monochromatic
#5D1D41 #8B2B61 #BA3A82 #CE639F #DD92BC

Accessibility & contrast

On white

5.23
#BA3A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BA3A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A82
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A82#FFFFFF#000000##FFFFFF
##BA3A821.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E84
Deuteranopia (green-blind)
#71757F
Tritanopia (blue-blind)
#C73459
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3a82;
/* rgb */ color: rgb(186, 58, 130);
/* oklch */ color: oklch(55.6% 0.178 349.8);
Tailwind
colors: {
  custom: {
    50: '#d37aa6',
    500: '#ba3a82',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a82;
$custom-light: #d37aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a82",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 130
  },
  "hsl": {
    "h": 326.25,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55577,
    "c": 0.17821,
    "h": 349.8
  },
  "luminance": 0.15077
}

Semantic roles & 50–950 ramp

primary
#BA3A82
secondary
#88C8A4
accent
#DC8B4C
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3A82

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

Preview Lab → · Contrast checker → · Palette generator →

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