#BA37A4#BA37A4

#BA37A4 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 56.8% C 0.203 H 335.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BA37A4
RGBrgb(186, 55, 164)
HSLhsl(310, 54%, 47%)
HSVhsv(310, 70%, 73%)
CMYKcmyk(0%, 70.4%, 11.8%, 27.1%)
CIE-LABlab(46.78, 63.33, -30.92)
CIE-LCHlch(46.78, 70.47, 333.98°)
OKLaboklab(56.8% 0.185 -0.0843)
OKLCHoklch(56.8% 0.203 335.5)
XYZxyz(28.3171, 15.8543, 36.6836)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA37A4 #37BA4D
analogous
#8E37BA #BA37A4 #BA3763
triadic
#BA37A4 #A4BA37 #37A4BA
tetradic
#BA37A4 #BA8E37 #37BA4D #3763BA
square
#BA37A4 #BA8E37 #37BA4D #3763BA
split-complementary
#BA37A4 #63BA37 #37BA8E
monochromatic
#5C1B51 #8B297A #BA37A4 #D05FBD #DE8ED0

Accessibility & contrast

On white

5.04
#BA37A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BA37A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA37A4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA37A4#FFFFFF#000000##FFFFFF
##BA37A41.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba37a4;
/* rgb */ color: rgb(186, 55, 164);
/* oklch */ color: oklch(56.8% 0.203 335.5);
Tailwind
colors: {
  custom: {
    50: '#d279bf',
    500: '#ba37a4',
    950: '#000000',
  },
}
SCSS
$custom: #ba37a4;
$custom-light: #d279bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba37a4",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 310.076,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56803,
    "c": 0.20334,
    "h": 335.5
  },
  "luminance": 0.15852
}

Semantic roles & 50–950 ramp

primary
#BA37A4
secondary
#85C890
accent
#DE634A
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA37A4

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

Preview Lab → · Contrast checker → · Palette generator →

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