#BA3A95#BA3A95

#BA3A95 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.4% C 0.189 H 341.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BA3A95
RGBrgb(186, 58, 149)
HSLhsl(317, 52%, 48%)
HSVhsv(317, 69%, 73%)
CMYKcmyk(0%, 68.8%, 19.9%, 27.1%)
CIE-LABlab(46.50, 60.07, -22.41)
CIE-LCHlch(46.50, 64.11, 339.54°)
OKLaboklab(56.37% 0.1796 -0.0602)
OKLCHoklch(56.37% 0.189 341.5)
XYZxyz(27.1884, 15.6378, 30.0145)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A95 #3ABA5F
analogous
#9F3ABA #BA3A95 #BA3A55
triadic
#BA3A95 #95BA3A #3A95BA
tetradic
#BA3A95 #BA9F3A #3ABA5F #3A55BA
square
#BA3A95 #BA9F3A #3ABA5F #3A55BA
split-complementary
#BA3A95 #55BA3A #3ABA9F
monochromatic
#5D1D4A #8B2B70 #BA3A95 #CE63AF #DD92C7

Accessibility & contrast

On white

5.09
#BA3A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BA3A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A95
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A95#FFFFFF#000000##FFFFFF
##BA3A951.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446198
Deuteranopia (green-blind)
#6B7692
Tritanopia (blue-blind)
#C53C62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3a95;
/* rgb */ color: rgb(186, 58, 149);
/* oklch */ color: oklch(56.4% 0.189 341.5);
Tailwind
colors: {
  custom: {
    50: '#d27ab4',
    500: '#ba3a95',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a95;
$custom-light: #d27ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a95",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 317.344,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56374,
    "c": 0.18943,
    "h": 341.5
  },
  "luminance": 0.15635
}

Semantic roles & 50–950 ramp

primary
#BA3A95
secondary
#88C89A
accent
#DC764C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3A95

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

Preview Lab → · Contrast checker → · Palette generator →

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