#BA3EA1#BA3EA1

#BA3EA1 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.3% C 0.192 H 336.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA3EA1
RGBrgb(186, 62, 161)
HSLhsl(312, 50%, 49%)
HSVhsv(312, 67%, 73%)
CMYKcmyk(0%, 66.7%, 13.4%, 27.1%)
CIE-LABlab(47.57, 60.27, -27.91)
CIE-LCHlch(47.57, 66.42, 335.16°)
OKLaboklab(57.33% 0.1769 -0.0758)
OKLCHoklch(57.33% 0.192 336.8)
XYZxyz(28.4058, 16.4600, 35.3924)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EA1 #3EBA57
analogous
#953EBA #BA3EA1 #BA3E63
triadic
#BA3EA1 #A1BA3E #3EA1BA
tetradic
#BA3EA1 #BA953E #3EBA57 #3E63BA
square
#BA3EA1 #BA953E #3EBA57 #3E63BA
split-complementary
#BA3EA1 #63BA3E #3EBA95
monochromatic
#5E1F52 #8C2F79 #BA3EA1 #CD68B9 #DC96CE

Accessibility & contrast

On white

4.89
#BA3EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#BA3EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3EA1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EA1#FFFFFF#000000##FFFFFF
##BA3EA11.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A4
Deuteranopia (green-blind)
#69789E
Tritanopia (blue-blind)
#C4456A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3ea1;
/* rgb */ color: rgb(186, 62, 161);
/* oklch */ color: oklch(57.3% 0.192 336.8);
Tailwind
colors: {
  custom: {
    50: '#d27dbd',
    500: '#ba3ea1',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ea1;
$custom-light: #d27dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ea1",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 312.097,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57331,
    "c": 0.19248,
    "h": 336.8
  },
  "luminance": 0.16458
}

Semantic roles & 50–950 ramp

primary
#BA3EA1
secondary
#8CC898
accent
#DA6A4E
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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