#BA329E#BA329E

#BA329E is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.1% C 0.205 H 337.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA329E
RGBrgb(186, 50, 158)
HSLhsl(312, 58%, 46%)
HSVhsv(312, 73%, 73%)
CMYKcmyk(0%, 73.1%, 15.1%, 27.1%)
CIE-LABlab(45.90, 64.16, -28.73)
CIE-LCHlch(45.90, 70.30, 335.88°)
OKLaboklab(56.07% 0.1895 -0.078)
OKLCHoklch(56.07% 0.205 337.6)
XYZxyz(27.5624, 15.1915, 33.8218)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA329E #32BA4E
analogous
#9232BA #BA329E #BA325A
triadic
#BA329E #9EBA32 #329EBA
tetradic
#BA329E #BA9232 #32BA4E #325ABA
square
#BA329E #BA9232 #32BA4E #325ABA
split-complementary
#BA329E #5ABA32 #32BA92
monochromatic
#5A184C #8A2575 #BA329E #D257B9 #DF88CD

Accessibility & contrast

On white

5.20
#BA329E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BA329E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA329E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA329E#FFFFFF#000000##FFFFFF
##BA329E1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA1
Deuteranopia (green-blind)
#65749B
Tritanopia (blue-blind)
#C43A64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba329e;
/* rgb */ color: rgb(186, 50, 158);
/* oklch */ color: oklch(56.1% 0.205 337.6);
Tailwind
colors: {
  custom: {
    50: '#d377bb',
    500: '#ba329e',
    950: '#000000',
  },
}
SCSS
$custom: #ba329e;
$custom-light: #d377bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba329e",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 312.353,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56069,
    "c": 0.2049,
    "h": 337.6
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#BA329E
secondary
#7FC98E
accent
#E16747
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA329E

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

Preview Lab → · Contrast checker → · Palette generator →

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