#BA36A2#BA36A2

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

Color values

HEX#BA36A2
RGBrgb(186, 54, 162)
HSLhsl(311, 55%, 47%)
HSVhsv(311, 71%, 73%)
CMYKcmyk(0%, 71%, 12.9%, 27.1%)
CIE-LABlab(46.56, 63.38, -30.07)
CIE-LCHlch(46.56, 70.16, 334.62°)
OKLaboklab(56.61% 0.1859 -0.0819)
OKLCHoklch(56.61% 0.203 336.2)
XYZxyz(28.0909, 15.6886, 35.7242)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36A2 #36BA4E
analogous
#9036BA #BA36A2 #BA3660
triadic
#BA36A2 #A2BA36 #36A2BA
tetradic
#BA36A2 #BA9036 #36BA4E #3660BA
square
#BA36A2 #BA9036 #36BA4E #3660BA
split-complementary
#BA36A2 #60BA36 #36BA90
monochromatic
#5B1A4F #8B2879 #BA36A2 #D05DBB #DE8DCF

Accessibility & contrast

On white

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

On black

4.14
#BA36A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA36A2#FFFFFF#000000##FFFFFF
##BA36A21.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A5
Deuteranopia (green-blind)
#65759F
Tritanopia (blue-blind)
#C43F68
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba36a2;
/* rgb */ color: rgb(186, 54, 162);
/* oklch */ color: oklch(56.6% 0.203 336.2);
Tailwind
colors: {
  custom: {
    50: '#d279be',
    500: '#ba36a2',
    950: '#000000',
  },
}
SCSS
$custom: #ba36a2;
$custom-light: #d279be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36a2",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 310.909,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56613,
    "c": 0.2031,
    "h": 336.2
  },
  "luminance": 0.15686
}

Semantic roles & 50–950 ramp

primary
#BA36A2
secondary
#84C890
accent
#DE6549
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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