#BA3994#BA3994

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

Color values

HEX#BA3994
RGBrgb(186, 57, 148)
HSLhsl(318, 53%, 48%)
HSVhsv(318, 69%, 73%)
CMYKcmyk(0%, 69.4%, 20.4%, 27.1%)
CIE-LABlab(46.32, 60.30, -22.08)
CIE-LCHlch(46.32, 64.22, 339.89°)
OKLaboklab(56.23% 0.1806 -0.0593)
OKLCHoklch(56.23% 0.19 341.8)
XYZxyz(27.0589, 15.5061, 29.5792)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3994 #39BA5F
analogous
#9F39BA #BA3994 #BA3954
triadic
#BA3994 #94BA39 #3994BA
tetradic
#BA3994 #BA9F39 #39BA5F #3954BA
square
#BA3994 #BA9F39 #39BA5F #3954BA
split-complementary
#BA3994 #54BA39 #39BA9F
monochromatic
#5C1C49 #8B2B6F #BA3994 #CF61AF #DD90C6

Accessibility & contrast

On white

5.12
#BA3994 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BA3994 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3994
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3994#FFFFFF#000000##FFFFFF
##BA39941.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446097
Deuteranopia (green-blind)
#6B7591
Tritanopia (blue-blind)
#C53B61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3994;
/* rgb */ color: rgb(186, 57, 148);
/* oklch */ color: oklch(56.2% 0.190 341.8);
Tailwind
colors: {
  custom: {
    50: '#d27ab3',
    500: '#ba3994',
    950: '#000000',
  },
}
SCSS
$custom: #ba3994;
$custom-light: #d27ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3994",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 148
  },
  "hsl": {
    "h": 317.674,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56232,
    "c": 0.19004,
    "h": 341.8
  },
  "luminance": 0.15503
}

Semantic roles & 50–950 ramp

primary
#BA3994
secondary
#87C89A
accent
#DC764B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3994

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

Preview Lab → · Contrast checker → · Palette generator →

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