#BA36A0#BA36A0

#BA36A0 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.5% C 0.202 H 337.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BA36A0
RGBrgb(186, 54, 160)
HSLhsl(312, 55%, 47%)
HSVhsv(312, 71%, 73%)
CMYKcmyk(0%, 71%, 14%, 27.1%)
CIE-LABlab(46.47, 63.09, -29.03)
CIE-LCHlch(46.47, 69.45, 335.29°)
OKLaboklab(56.52% 0.1856 -0.0789)
OKLCHoklch(56.52% 0.202 337)
XYZxyz(27.9145, 15.6180, 34.7953)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36A0 #36BA50
analogous
#9236BA #BA36A0 #BA365E
triadic
#BA36A0 #A0BA36 #36A0BA
tetradic
#BA36A0 #BA9236 #36BA50 #365EBA
square
#BA36A0 #BA9236 #36BA50 #365EBA
split-complementary
#BA36A0 #5EBA36 #36BA92
monochromatic
#5B1A4E #8B2877 #BA36A0 #D05DB9 #DE8DCE

Accessibility & contrast

On white

5.09
#BA36A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BA36A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36A0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36A0#FFFFFF#000000##FFFFFF
##BA36A01.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3961A3
Deuteranopia (green-blind)
#66759D
Tritanopia (blue-blind)
#C43E67
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba36a0;
/* rgb */ color: rgb(186, 54, 160);
/* oklch */ color: oklch(56.5% 0.202 337.0);
Tailwind
colors: {
  custom: {
    50: '#d279bc',
    500: '#ba36a0',
    950: '#000000',
  },
}
SCSS
$custom: #ba36a0;
$custom-light: #d279bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36a0",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 160
  },
  "hsl": {
    "h": 311.818,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56515,
    "c": 0.20171,
    "h": 337
  },
  "luminance": 0.15616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA36A0

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

Preview Lab → · Contrast checker → · Palette generator →

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