#BA33A3#BA33A3

#BA33A3 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.4% C 0.207 H 335.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA33A3
RGBrgb(186, 51, 163)
HSLhsl(310, 57%, 46%)
HSVhsv(310, 73%, 73%)
CMYKcmyk(0%, 72.6%, 12.4%, 27.1%)
CIE-LABlab(46.25, 64.55, -31.16)
CIE-LCHlch(46.25, 71.68, 334.23°)
OKLaboklab(56.4% 0.189 -0.085)
OKLCHoklch(56.4% 0.207 335.8)
XYZxyz(28.0448, 15.4536, 36.1491)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA33A3 #33BA4A
analogous
#8E33BA #BA33A3 #BA3360
triadic
#BA33A3 #A3BA33 #33A3BA
tetradic
#BA33A3 #BA8E33 #33BA4A #3360BA
square
#BA33A3 #BA8E33 #33BA4A #3360BA
split-complementary
#BA33A3 #60BA33 #33BA8E
monochromatic
#5A194F #8A2679 #BA33A3 #D159BD #DF89D0

Accessibility & contrast

On white

5.13
#BA33A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BA33A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA33A3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA33A3#FFFFFF#000000##FFFFFF
##BA33A31.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A6
Deuteranopia (green-blind)
#6375A0
Tritanopia (blue-blind)
#C33D67
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba33a3;
/* rgb */ color: rgb(186, 51, 163);
/* oklch */ color: oklch(56.4% 0.207 335.8);
Tailwind
colors: {
  custom: {
    50: '#d378be',
    500: '#ba33a3',
    950: '#000000',
  },
}
SCSS
$custom: #ba33a3;
$custom-light: #d378be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba33a3",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 310.222,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56402,
    "c": 0.20723,
    "h": 335.8
  },
  "luminance": 0.15451
}

Semantic roles & 50–950 ramp

primary
#BA33A3
secondary
#80C98D
accent
#E06248
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA33A3

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

Preview Lab → · Contrast checker → · Palette generator →

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