#BA32A2#BA32A2

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

Color values

HEX#BA32A2
RGBrgb(186, 50, 162)
HSLhsl(311, 58%, 46%)
HSVhsv(311, 73%, 73%)
CMYKcmyk(0%, 73.1%, 12.9%, 27.1%)
CIE-LABlab(46.08, 64.74, -30.82)
CIE-LCHlch(46.08, 71.70, 334.54°)
OKLaboklab(56.27% 0.1899 -0.084)
OKLCHoklch(56.27% 0.208 336.1)
XYZxyz(27.9123, 15.3315, 35.6646)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA32A2 #32BA4A
analogous
#8E32BA #BA32A2 #BA325E
triadic
#BA32A2 #A2BA32 #32A2BA
tetradic
#BA32A2 #BA8E32 #32BA4A #325EBA
square
#BA32A2 #BA8E32 #32BA4A #325EBA
split-complementary
#BA32A2 #5EBA32 #32BA8E
monochromatic
#5A184E #8A2578 #BA32A2 #D257BC #DF88CF

Accessibility & contrast

On white

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

On black

4.07
#BA32A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA32A2#FFFFFF#000000##FFFFFF
##BA32A21.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#63749F
Tritanopia (blue-blind)
#C43C66
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba32a2;
/* rgb */ color: rgb(186, 50, 162);
/* oklch */ color: oklch(56.3% 0.208 336.1);
Tailwind
colors: {
  custom: {
    50: '#d377be',
    500: '#ba32a2',
    950: '#000000',
  },
}
SCSS
$custom: #ba32a2;
$custom-light: #d377be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba32a2",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 310.588,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56268,
    "c": 0.20763,
    "h": 336.1
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#BA32A2
secondary
#7FC98C
accent
#E16247
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA32A2

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

Preview Lab → · Contrast checker → · Palette generator →

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