#BA33A2#BA33A2

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

Color values

HEX#BA33A2
RGBrgb(186, 51, 162)
HSLhsl(311, 57%, 46%)
HSVhsv(311, 73%, 73%)
CMYKcmyk(0%, 72.6%, 12.9%, 27.1%)
CIE-LABlab(46.20, 64.41, -30.64)
CIE-LCHlch(46.20, 71.32, 334.56°)
OKLaboklab(56.35% 0.1889 -0.0835)
OKLCHoklch(56.35% 0.207 336.2)
XYZxyz(27.9555, 15.4179, 35.6790)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA33A2 #33BA4B
analogous
#8F33BA #BA33A2 #BA335F
triadic
#BA33A2 #A2BA33 #33A2BA
tetradic
#BA33A2 #BA8F33 #33BA4B #335FBA
square
#BA33A2 #BA8F33 #33BA4B #335FBA
split-complementary
#BA33A2 #5FBA33 #33BA8F
monochromatic
#5A194E #8A2678 #BA33A2 #D159BC #DF89CF

Accessibility & contrast

On white

5.14
#BA33A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA33A2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA33A2#FFFFFF#000000##FFFFFF
##BA33A21.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#64759F
Tritanopia (blue-blind)
#C43C67
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba33a2;
/* rgb */ color: rgb(186, 51, 162);
/* oklch */ color: oklch(56.4% 0.207 336.2);
Tailwind
colors: {
  custom: {
    50: '#d378be',
    500: '#ba33a2',
    950: '#000000',
  },
}
SCSS
$custom: #ba33a2;
$custom-light: #d378be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba33a2",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 310.667,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56352,
    "c": 0.20653,
    "h": 336.2
  },
  "luminance": 0.15415
}

Semantic roles & 50–950 ramp

primary
#BA33A2
secondary
#80C98D
accent
#E06348
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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