#BA32A0#BA32A0

#BA32A0 is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.2% C 0.206 H 336.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BA32A0
RGBrgb(186, 50, 160)
HSLhsl(311, 58%, 46%)
HSVhsv(311, 73%, 73%)
CMYKcmyk(0%, 73.1%, 14%, 27.1%)
CIE-LABlab(45.99, 64.45, -29.78)
CIE-LCHlch(45.99, 71.00, 335.20°)
OKLaboklab(56.17% 0.1897 -0.081)
OKLCHoklch(56.17% 0.206 336.9)
XYZxyz(27.7360, 15.2609, 34.7358)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA32A0 #32BA4C
analogous
#9032BA #BA32A0 #BA325C
triadic
#BA32A0 #A0BA32 #32A0BA
tetradic
#BA32A0 #BA9032 #32BA4C #325CBA
square
#BA32A0 #BA9032 #32BA4C #325CBA
split-complementary
#BA32A0 #5CBA32 #32BA90
monochromatic
#5A184D #8A2577 #BA32A0 #D257BA #DF88CE

Accessibility & contrast

On white

5.18
#BA32A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BA32A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA32A0
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA32A0#FFFFFF#000000##FFFFFF
##BA32A01.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A3
Deuteranopia (green-blind)
#64749D
Tritanopia (blue-blind)
#C43B65
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba32a0;
/* rgb */ color: rgb(186, 50, 160);
/* oklch */ color: oklch(56.2% 0.206 336.9);
Tailwind
colors: {
  custom: {
    50: '#d377bc',
    500: '#ba32a0',
    950: '#000000',
  },
}
SCSS
$custom: #ba32a0;
$custom-light: #d377bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba32a0",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 160
  },
  "hsl": {
    "h": 311.471,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56168,
    "c": 0.20626,
    "h": 336.9
  },
  "luminance": 0.15258
}

Semantic roles & 50–950 ramp

primary
#BA32A0
secondary
#7FC98D
accent
#E16447
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA32A0

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

Preview Lab → · Contrast checker → · Palette generator →

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