#BA33A1#BA33A1

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

Color values

HEX#BA33A1
RGBrgb(186, 51, 161)
HSLhsl(311, 57%, 46%)
HSVhsv(311, 73%, 73%)
CMYKcmyk(0%, 72.6%, 13.4%, 27.1%)
CIE-LABlab(46.15, 64.26, -30.12)
CIE-LCHlch(46.15, 70.97, 334.89°)
OKLaboklab(56.3% 0.1888 -0.082)
OKLCHoklch(56.3% 0.206 336.5)
XYZxyz(27.8670, 15.3825, 35.2128)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA33A1 #33BA4C
analogous
#9033BA #BA33A1 #BA335E
triadic
#BA33A1 #A1BA33 #33A1BA
tetradic
#BA33A1 #BA9033 #33BA4C #335EBA
square
#BA33A1 #BA9033 #33BA4C #335EBA
split-complementary
#BA33A1 #5EBA33 #33BA90
monochromatic
#5A194E #8A2677 #BA33A1 #D159BB #DF89CF

Accessibility & contrast

On white

5.15
#BA33A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BA33A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA33A1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA33A1#FFFFFF#000000##FFFFFF
##BA33A11.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A4
Deuteranopia (green-blind)
#64759E
Tritanopia (blue-blind)
#C43C66
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba33a1;
/* rgb */ color: rgb(186, 51, 161);
/* oklch */ color: oklch(56.3% 0.206 336.5);
Tailwind
colors: {
  custom: {
    50: '#d378bd',
    500: '#ba33a1',
    950: '#000000',
  },
}
SCSS
$custom: #ba33a1;
$custom-light: #d378bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba33a1",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 161
  },
  "hsl": {
    "h": 311.111,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56302,
    "c": 0.20584,
    "h": 336.5
  },
  "luminance": 0.1538
}

Semantic roles & 50–950 ramp

primary
#BA33A1
secondary
#80C98E
accent
#E06448
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA33A1

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

Preview Lab → · Contrast checker → · Palette generator →

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