#BA3EA4#BA3EA4

#BA3EA4 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.5% C 0.195 H 335.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA3EA4
RGBrgb(186, 62, 164)
HSLhsl(311, 50%, 49%)
HSVhsv(311, 67%, 73%)
CMYKcmyk(0%, 66.7%, 11.8%, 27.1%)
CIE-LABlab(47.71, 60.73, -29.47)
CIE-LCHlch(47.71, 67.50, 334.11°)
OKLaboklab(57.48% 0.1773 -0.0802)
OKLCHoklch(57.48% 0.195 335.7)
XYZxyz(28.6735, 16.5671, 36.8024)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EA4 #3EBA54
analogous
#923EBA #BA3EA4 #BA3E66
triadic
#BA3EA4 #A4BA3E #3EA4BA
tetradic
#BA3EA4 #BA923E #3EBA54 #3E66BA
square
#BA3EA4 #BA923E #3EBA54 #3E66BA
split-complementary
#BA3EA4 #66BA3E #3EBA92
monochromatic
#5E1F53 #8C2F7C #BA3EA4 #CD68BB #DC96D0

Accessibility & contrast

On white

4.87
#BA3EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BA3EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3EA4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EA4#FFFFFF#000000##FFFFFF
##BA3EA41.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A7
Deuteranopia (green-blind)
#6878A1
Tritanopia (blue-blind)
#C3466B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3ea4;
/* rgb */ color: rgb(186, 62, 164);
/* oklch */ color: oklch(57.5% 0.195 335.7);
Tailwind
colors: {
  custom: {
    50: '#d27dbf',
    500: '#ba3ea4',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ea4;
$custom-light: #d27dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ea4",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 310.645,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57476,
    "c": 0.19464,
    "h": 335.7
  },
  "luminance": 0.16565
}

Semantic roles & 50–950 ramp

primary
#BA3EA4
secondary
#8CC897
accent
#DA674E
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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