#BA3E96#BA3E96

#BA3E96 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.8% C 0.185 H 341.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA3E96
RGBrgb(186, 62, 150)
HSLhsl(317, 50%, 49%)
HSVhsv(317, 67%, 73%)
CMYKcmyk(0%, 66.7%, 19.4%, 27.1%)
CIE-LABlab(47.09, 58.67, -22.09)
CIE-LCHlch(47.09, 62.69, 339.37°)
OKLaboklab(56.82% 0.1751 -0.0593)
OKLCHoklch(56.82% 0.185 341.3)
XYZxyz(27.4781, 16.0889, 30.5066)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E96 #3EBA62
analogous
#A03EBA #BA3E96 #BA3E58
triadic
#BA3E96 #96BA3E #3E96BA
tetradic
#BA3E96 #BAA03E #3EBA62 #3E58BA
square
#BA3E96 #BAA03E #3EBA62 #3E58BA
split-complementary
#BA3E96 #58BA3E #3EBAA0
monochromatic
#5E1F4C #8C2F71 #BA3E96 #CD68B0 #DC96C8

Accessibility & contrast

On white

4.98
#BA3E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BA3E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E96
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E96#FFFFFF#000000##FFFFFF
##BA3E961.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3e96;
/* rgb */ color: rgb(186, 62, 150);
/* oklch */ color: oklch(56.8% 0.185 341.3);
Tailwind
colors: {
  custom: {
    50: '#d27cb5',
    500: '#ba3e96',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e96;
$custom-light: #d27cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e96",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 150
  },
  "hsl": {
    "h": 317.419,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.1849,
    "h": 341.3
  },
  "luminance": 0.16086
}

Semantic roles & 50–950 ramp

primary
#BA3E96
secondary
#8CC89D
accent
#DA774E
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3E96

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

Preview Lab → · Contrast checker → · Palette generator →

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