#BA36A4#BA36A4

#BA36A4 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.7% C 0.205 H 335.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA36A4
RGBrgb(186, 54, 164)
HSLhsl(310, 55%, 47%)
HSVhsv(310, 71%, 73%)
CMYKcmyk(0%, 71%, 11.8%, 27.1%)
CIE-LABlab(46.66, 63.68, -31.11)
CIE-LCHlch(46.66, 70.88, 333.96°)
OKLaboklab(56.71% 0.1861 -0.0849)
OKLCHoklch(56.71% 0.205 335.5)
XYZxyz(28.2701, 15.7602, 36.6679)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36A4 #36BA4C
analogous
#8E36BA #BA36A4 #BA3662
triadic
#BA36A4 #A4BA36 #36A4BA
tetradic
#BA36A4 #BA8E36 #36BA4C #3662BA
square
#BA36A4 #BA8E36 #36BA4C #3662BA
split-complementary
#BA36A4 #62BA36 #36BA8E
monochromatic
#5B1A50 #8B287A #BA36A4 #D05DBD #DE8DD0

Accessibility & contrast

On white

5.06
#BA36A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BA36A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36A4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36A4#FFFFFF#000000##FFFFFF
##BA36A41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A7
Deuteranopia (green-blind)
#6476A1
Tritanopia (blue-blind)
#C34069
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba36a4;
/* rgb */ color: rgb(186, 54, 164);
/* oklch */ color: oklch(56.7% 0.205 335.5);
Tailwind
colors: {
  custom: {
    50: '#d279bf',
    500: '#ba36a4',
    950: '#000000',
  },
}
SCSS
$custom: #ba36a4;
$custom-light: #d279bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36a4",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 310,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56713,
    "c": 0.20452,
    "h": 335.5
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#BA36A4
secondary
#84C88F
accent
#DE6249
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA36A4

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

Preview Lab → · Contrast checker → · Palette generator →

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