#BA32A1#BA32A1

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

Color values

HEX#BA32A1
RGBrgb(186, 50, 161)
HSLhsl(311, 58%, 46%)
HSVhsv(311, 73%, 73%)
CMYKcmyk(0%, 73.1%, 13.4%, 27.1%)
CIE-LABlab(46.04, 64.59, -30.30)
CIE-LCHlch(46.04, 71.35, 334.87°)
OKLaboklab(56.22% 0.1898 -0.0825)
OKLCHoklch(56.22% 0.207 336.5)
XYZxyz(27.8238, 15.2961, 35.1984)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA32A1 #32BA4B
analogous
#8F32BA #BA32A1 #BA325D
triadic
#BA32A1 #A1BA32 #32A1BA
tetradic
#BA32A1 #BA8F32 #32BA4B #325DBA
square
#BA32A1 #BA8F32 #32BA4B #325DBA
split-complementary
#BA32A1 #5DBA32 #32BA8F
monochromatic
#5A184E #8A2577 #BA32A1 #D257BB #DF88CF

Accessibility & contrast

On white

5.17
#BA32A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA32A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA32A1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA32A1#FFFFFF#000000##FFFFFF
##BA32A11.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A4
Deuteranopia (green-blind)
#64749E
Tritanopia (blue-blind)
#C43B66
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba32a1;
/* rgb */ color: rgb(186, 50, 161);
/* oklch */ color: oklch(56.2% 0.207 336.5);
Tailwind
colors: {
  custom: {
    50: '#d377bd',
    500: '#ba32a1',
    950: '#000000',
  },
}
SCSS
$custom: #ba32a1;
$custom-light: #d377bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba32a1",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 161
  },
  "hsl": {
    "h": 311.029,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.20694,
    "h": 336.5
  },
  "luminance": 0.15294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA32A1

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

Preview Lab → · Contrast checker → · Palette generator →

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