#BA3EA3#BA3EA3

#BA3EA3 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.4% C 0.194 H 336.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA3EA3
RGBrgb(186, 62, 163)
HSLhsl(311, 50%, 49%)
HSVhsv(311, 67%, 73%)
CMYKcmyk(0%, 66.7%, 12.4%, 27.1%)
CIE-LABlab(47.66, 60.58, -28.95)
CIE-LCHlch(47.66, 67.14, 334.46°)
OKLaboklab(57.43% 0.1772 -0.0788)
OKLCHoklch(57.43% 0.194 336)
XYZxyz(28.5835, 16.5311, 36.3286)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EA3 #3EBA55
analogous
#933EBA #BA3EA3 #BA3E65
triadic
#BA3EA3 #A3BA3E #3EA3BA
tetradic
#BA3EA3 #BA933E #3EBA55 #3E65BA
square
#BA3EA3 #BA933E #3EBA55 #3E65BA
split-complementary
#BA3EA3 #65BA3E #3EBA93
monochromatic
#5E1F53 #8C2F7B #BA3EA3 #CD68BA #DC96CF

Accessibility & contrast

On white

4.88
#BA3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3EA3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EA3#FFFFFF#000000##FFFFFF
##BA3EA31.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3ea3;
/* rgb */ color: rgb(186, 62, 163);
/* oklch */ color: oklch(57.4% 0.194 336.0);
Tailwind
colors: {
  custom: {
    50: '#d27dbe',
    500: '#ba3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ea3;
$custom-light: #d27dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ea3",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 311.129,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57427,
    "c": 0.19391,
    "h": 336
  },
  "luminance": 0.16529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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