#BA3993#BA3993

#BA3993 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.2% C 0.189 H 342.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA3993
RGBrgb(186, 57, 147)
HSLhsl(318, 53%, 48%)
HSVhsv(318, 69%, 73%)
CMYKcmyk(0%, 69.4%, 21%, 27.1%)
CIE-LABlab(46.28, 60.17, -21.55)
CIE-LCHlch(46.28, 63.91, 340.30°)
OKLaboklab(56.19% 0.1804 -0.0577)
OKLCHoklch(56.19% 0.189 342.2)
XYZxyz(26.9801, 15.4746, 29.1641)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3993 #39BA60
analogous
#A139BA #BA3993 #BA3952
triadic
#BA3993 #93BA39 #3993BA
tetradic
#BA3993 #BAA139 #39BA60 #3952BA
square
#BA3993 #BAA139 #39BA60 #3952BA
split-complementary
#BA3993 #52BA39 #39BAA1
monochromatic
#5C1C49 #8B2B6E #BA3993 #CF61AE #DD90C6

Accessibility & contrast

On white

5.13
#BA3993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BA3993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3993
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3993#FFFFFF#000000##FFFFFF
##BA39931.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446096
Deuteranopia (green-blind)
#6C7590
Tritanopia (blue-blind)
#C53A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3993;
/* rgb */ color: rgb(186, 57, 147);
/* oklch */ color: oklch(56.2% 0.189 342.2);
Tailwind
colors: {
  custom: {
    50: '#d27ab3',
    500: '#ba3993',
    950: '#000000',
  },
}
SCSS
$custom: #ba3993;
$custom-light: #d27ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3993",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 147
  },
  "hsl": {
    "h": 318.14,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56187,
    "c": 0.18939,
    "h": 342.2
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#BA3993
secondary
#87C89B
accent
#DC774B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3993

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

Preview Lab → · Contrast checker → · Palette generator →

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