#BA3992#BA3992

#BA3992 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.1% C 0.189 H 342.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA3992
RGBrgb(186, 57, 146)
HSLhsl(319, 53%, 48%)
HSVhsv(319, 69%, 73%)
CMYKcmyk(0%, 69.4%, 21.5%, 27.1%)
CIE-LABlab(46.24, 60.03, -21.01)
CIE-LCHlch(46.24, 63.60, 340.71°)
OKLaboklab(56.14% 0.1802 -0.0562)
OKLCHoklch(56.14% 0.189 342.7)
XYZxyz(26.9020, 15.4433, 28.7526)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3992 #39BA61
analogous
#A239BA #BA3992 #BA3951
triadic
#BA3992 #92BA39 #3992BA
tetradic
#BA3992 #BAA239 #39BA61 #3951BA
square
#BA3992 #BAA239 #39BA61 #3951BA
split-complementary
#BA3992 #51BA39 #39BAA2
monochromatic
#5C1C48 #8B2B6D #BA3992 #CF61AD #DD90C5

Accessibility & contrast

On white

5.14
#BA3992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3992
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3992#FFFFFF#000000##FFFFFF
##BA39921.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456095
Deuteranopia (green-blind)
#6C758F
Tritanopia (blue-blind)
#C63A60
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3992;
/* rgb */ color: rgb(186, 57, 146);
/* oklch */ color: oklch(56.1% 0.189 342.7);
Tailwind
colors: {
  custom: {
    50: '#d27ab2',
    500: '#ba3992',
    950: '#000000',
  },
}
SCSS
$custom: #ba3992;
$custom-light: #d27ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3992",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 318.605,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56143,
    "c": 0.18877,
    "h": 342.7
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

primary
#BA3992
secondary
#87C89B
accent
#DC784B
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3992

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

Preview Lab → · Contrast checker → · Palette generator →

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