#BA36A1#BA36A1

#BA36A1 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.6% C 0.202 H 336.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BA36A1
RGBrgb(186, 54, 161)
HSLhsl(311, 55%, 47%)
HSVhsv(311, 71%, 73%)
CMYKcmyk(0%, 71%, 13.4%, 27.1%)
CIE-LABlab(46.52, 63.24, -29.55)
CIE-LCHlch(46.52, 69.80, 334.95°)
OKLaboklab(56.56% 0.1857 -0.0804)
OKLCHoklch(56.56% 0.202 336.6)
XYZxyz(28.0023, 15.6532, 35.2579)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36A1 #36BA4F
analogous
#9136BA #BA36A1 #BA365F
triadic
#BA36A1 #A1BA36 #36A1BA
tetradic
#BA36A1 #BA9136 #36BA4F #365FBA
square
#BA36A1 #BA9136 #36BA4F #365FBA
split-complementary
#BA36A1 #5FBA36 #36BA91
monochromatic
#5B1A4F #8B2878 #BA36A1 #D05DBA #DE8DCE

Accessibility & contrast

On white

5.08
#BA36A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BA36A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36A1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36A1#FFFFFF#000000##FFFFFF
##BA36A11.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3961A4
Deuteranopia (green-blind)
#65759E
Tritanopia (blue-blind)
#C43E67
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba36a1;
/* rgb */ color: rgb(186, 54, 161);
/* oklch */ color: oklch(56.6% 0.202 336.6);
Tailwind
colors: {
  custom: {
    50: '#d279bd',
    500: '#ba36a1',
    950: '#000000',
  },
}
SCSS
$custom: #ba36a1;
$custom-light: #d279bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36a1",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 161
  },
  "hsl": {
    "h": 311.364,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56564,
    "c": 0.2024,
    "h": 336.6
  },
  "luminance": 0.15651
}

Semantic roles & 50–950 ramp

primary
#BA36A1
secondary
#84C891
accent
#DE6649
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA36A1

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

Preview Lab → · Contrast checker → · Palette generator →

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