#BA32A3#BA32A3

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

Color values

HEX#BA32A3
RGBrgb(186, 50, 163)
HSLhsl(310, 58%, 46%)
HSVhsv(310, 73%, 73%)
CMYKcmyk(0%, 73.1%, 12.4%, 27.1%)
CIE-LABlab(46.13, 64.88, -31.34)
CIE-LCHlch(46.13, 72.06, 334.22°)
OKLaboklab(56.32% 0.19 -0.0855)
OKLCHoklch(56.32% 0.208 335.8)
XYZxyz(28.0016, 15.3672, 36.1346)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA32A3 #32BA49
analogous
#8D32BA #BA32A3 #BA325F
triadic
#BA32A3 #A3BA32 #32A3BA
tetradic
#BA32A3 #BA8D32 #32BA49 #325FBA
square
#BA32A3 #BA8D32 #32BA49 #325FBA
split-complementary
#BA32A3 #5FBA32 #32BA8D
monochromatic
#5A184E #8A2579 #BA32A3 #D257BD #DF88D0

Accessibility & contrast

On white

5.16
#BA32A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA32A3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA32A3#FFFFFF#000000##FFFFFF
##BA32A31.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A6
Deuteranopia (green-blind)
#6375A0
Tritanopia (blue-blind)
#C33C67
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba32a3;
/* rgb */ color: rgb(186, 50, 163);
/* oklch */ color: oklch(56.3% 0.208 335.8);
Tailwind
colors: {
  custom: {
    50: '#d377be',
    500: '#ba32a3',
    950: '#000000',
  },
}
SCSS
$custom: #ba32a3;
$custom-light: #d377be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba32a3",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 310.147,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56318,
    "c": 0.20833,
    "h": 335.8
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#BA32A3
secondary
#7FC98C
accent
#E16147
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA32A3

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

Preview Lab → · Contrast checker → · Palette generator →

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