#BA3A93#BA3A93

#BA3A93 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.3% C 0.188 H 342.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BA3A93
RGBrgb(186, 58, 147)
HSLhsl(318, 52%, 48%)
HSVhsv(318, 69%, 73%)
CMYKcmyk(0%, 68.8%, 21%, 27.1%)
CIE-LABlab(46.41, 59.79, -21.34)
CIE-LCHlch(46.41, 63.49, 340.36°)
OKLaboklab(56.29% 0.1792 -0.0572)
OKLCHoklch(56.29% 0.188 342.3)
XYZxyz(27.0301, 15.5744, 29.1807)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A93 #3ABA61
analogous
#A13ABA #BA3A93 #BA3A53
triadic
#BA3A93 #93BA3A #3A93BA
tetradic
#BA3A93 #BAA13A #3ABA61 #3A53BA
square
#BA3A93 #BAA13A #3ABA61 #3A53BA
split-complementary
#BA3A93 #53BA3A #3ABAA1
monochromatic
#5D1D49 #8B2B6E #BA3A93 #CE63AE #DD92C6

Accessibility & contrast

On white

5.10
#BA3A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BA3A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A93
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A93#FFFFFF#000000##FFFFFF
##BA3A931.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3a93;
/* rgb */ color: rgb(186, 58, 147);
/* oklch */ color: oklch(56.3% 0.188 342.3);
Tailwind
colors: {
  custom: {
    50: '#d27ab3',
    500: '#ba3a93',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a93;
$custom-light: #d27ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a93",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 147
  },
  "hsl": {
    "h": 318.281,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56285,
    "c": 0.18814,
    "h": 342.3
  },
  "luminance": 0.15572
}

Semantic roles & 50–950 ramp

primary
#BA3A93
secondary
#88C89B
accent
#DC784C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3A93

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

Preview Lab → · Contrast checker → · Palette generator →

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