#BA3F96#BA3F96

#BA3F96 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.9% C 0.184 H 341.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA3F96
RGBrgb(186, 63, 150)
HSLhsl(318, 49%, 49%)
HSVhsv(318, 66%, 73%)
CMYKcmyk(0%, 66.1%, 19.4%, 27.1%)
CIE-LABlab(47.23, 58.27, -21.87)
CIE-LCHlch(47.23, 62.24, 339.43°)
OKLaboklab(56.93% 0.1739 -0.0587)
OKLCHoklch(56.93% 0.184 341.3)
XYZxyz(27.5330, 16.1987, 30.5249)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F96 #3FBA63
analogous
#A13FBA #BA3F96 #BA3F59
triadic
#BA3F96 #96BA3F #3F96BA
tetradic
#BA3F96 #BAA13F #3FBA63 #3F59BA
square
#BA3F96 #BAA13F #3FBA63 #3F59BA
split-complementary
#BA3F96 #59BA3F #3FBAA1
monochromatic
#5F204C #8C3071 #BA3F96 #CC6AB0 #DC97C8

Accessibility & contrast

On white

4.95
#BA3F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BA3F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F96
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F96#FFFFFF#000000##FFFFFF
##BA3F961.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486399
Deuteranopia (green-blind)
#6D7793
Tritanopia (blue-blind)
#C54165
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3f96;
/* rgb */ color: rgb(186, 63, 150);
/* oklch */ color: oklch(56.9% 0.184 341.3);
Tailwind
colors: {
  custom: {
    50: '#d27db5',
    500: '#ba3f96',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f96;
$custom-light: #d27db5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f96",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 317.561,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56927,
    "c": 0.18357,
    "h": 341.3
  },
  "luminance": 0.16196
}

Semantic roles & 50–950 ramp

primary
#BA3F96
secondary
#8DC89E
accent
#D9774F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3F96

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

Preview Lab → · Contrast checker → · Palette generator →

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