#BA329F#BA329F

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

Color values

HEX#BA329F
RGBrgb(186, 50, 159)
HSLhsl(312, 58%, 46%)
HSVhsv(312, 73%, 73%)
CMYKcmyk(0%, 73.1%, 14.5%, 27.1%)
CIE-LABlab(45.94, 64.30, -29.26)
CIE-LCHlch(45.94, 70.65, 335.54°)
OKLaboklab(56.12% 0.1896 -0.0795)
OKLCHoklch(56.12% 0.206 337.2)
XYZxyz(27.6488, 15.2261, 34.2769)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA329F #32BA4D
analogous
#9132BA #BA329F #BA325B
triadic
#BA329F #9FBA32 #329FBA
tetradic
#BA329F #BA9132 #32BA4D #325BBA
square
#BA329F #BA9132 #32BA4D #325BBA
split-complementary
#BA329F #5BBA32 #32BA91
monochromatic
#5A184D #8A2576 #BA329F #D257BA #DF88CE

Accessibility & contrast

On white

5.19
#BA329F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA329F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA329F#FFFFFF#000000##FFFFFF
##BA329F1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A2
Deuteranopia (green-blind)
#64749C
Tritanopia (blue-blind)
#C43A65
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba329f;
/* rgb */ color: rgb(186, 50, 159);
/* oklch */ color: oklch(56.1% 0.206 337.2);
Tailwind
colors: {
  custom: {
    50: '#d377bb',
    500: '#ba329f',
    950: '#000000',
  },
}
SCSS
$custom: #ba329f;
$custom-light: #d377bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba329f",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 311.912,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56118,
    "c": 0.20558,
    "h": 337.2
  },
  "luminance": 0.15224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA329F

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

Preview Lab → · Contrast checker → · Palette generator →

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