#BA329D#BA329D

#BA329D is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.0% C 0.204 H 338.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA329D
RGBrgb(186, 50, 157)
HSLhsl(313, 58%, 46%)
HSVhsv(313, 73%, 73%)
CMYKcmyk(0%, 73.1%, 15.6%, 27.1%)
CIE-LABlab(45.85, 64.02, -28.21)
CIE-LCHlch(45.85, 69.96, 336.22°)
OKLaboklab(56.02% 0.1893 -0.0765)
OKLCHoklch(56.02% 0.204 338)
XYZxyz(27.4767, 15.1572, 33.3703)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA329D #32BA4F
analogous
#9332BA #BA329D #BA3259
triadic
#BA329D #9DBA32 #329DBA
tetradic
#BA329D #BA9332 #32BA4F #3259BA
square
#BA329D #BA9332 #32BA4F #3259BA
split-complementary
#BA329D #59BA32 #32BA93
monochromatic
#5A184C #8A2574 #BA329D #D257B8 #DF88CC

Accessibility & contrast

On white

5.21
#BA329D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA329D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA329D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA329D#FFFFFF#000000##FFFFFF
##BA329D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385FA0
Deuteranopia (green-blind)
#65749A
Tritanopia (blue-blind)
#C43964
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba329d;
/* rgb */ color: rgb(186, 50, 157);
/* oklch */ color: oklch(56.0% 0.204 338.0);
Tailwind
colors: {
  custom: {
    50: '#d377ba',
    500: '#ba329d',
    950: '#000000',
  },
}
SCSS
$custom: #ba329d;
$custom-light: #d377ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba329d",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 312.794,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5602,
    "c": 0.20423,
    "h": 338
  },
  "luminance": 0.15155
}

Semantic roles & 50–950 ramp

primary
#BA329D
secondary
#7FC98F
accent
#E16847
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA329D

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

Preview Lab → · Contrast checker → · Palette generator →

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