#BA37A0#BA37A0

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

Color values

HEX#BA37A0
RGBrgb(186, 55, 160)
HSLhsl(312, 54%, 47%)
HSVhsv(312, 70%, 73%)
CMYKcmyk(0%, 70.4%, 14%, 27.1%)
CIE-LABlab(46.59, 62.74, -28.84)
CIE-LCHlch(46.59, 69.05, 335.32°)
OKLaboklab(56.61% 0.1846 -0.0784)
OKLCHoklch(56.61% 0.201 337)
XYZxyz(27.9615, 15.7121, 34.8110)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA37A0 #37BA51
analogous
#9237BA #BA37A0 #BA375F
triadic
#BA37A0 #A0BA37 #37A0BA
tetradic
#BA37A0 #BA9237 #37BA51 #375FBA
square
#BA37A0 #BA9237 #37BA51 #375FBA
split-complementary
#BA37A0 #5FBA37 #37BA92
monochromatic
#5C1B4F #8B2977 #BA37A0 #D05FB9 #DE8ECE

Accessibility & contrast

On white

5.07
#BA37A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA37A0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA37A0#FFFFFF#000000##FFFFFF
##BA37A01.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A3
Deuteranopia (green-blind)
#66769D
Tritanopia (blue-blind)
#C43F67
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba37a0;
/* rgb */ color: rgb(186, 55, 160);
/* oklch */ color: oklch(56.6% 0.201 337.0);
Tailwind
colors: {
  custom: {
    50: '#d279bc',
    500: '#ba37a0',
    950: '#000000',
  },
}
SCSS
$custom: #ba37a0;
$custom-light: #d279bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba37a0",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 160
  },
  "hsl": {
    "h": 311.908,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56605,
    "c": 0.20052,
    "h": 337
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

primary
#BA37A0
secondary
#85C892
accent
#DE674A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA37A0

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

Preview Lab → · Contrast checker → · Palette generator →

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