#BA3493#BA3493

#BA3493 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.7% C 0.195 H 342.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA3493
RGBrgb(186, 52, 147)
HSLhsl(317, 56%, 47%)
HSVhsv(317, 72%, 73%)
CMYKcmyk(0%, 72%, 21%, 27.1%)
CIE-LABlab(45.64, 61.96, -22.53)
CIE-LCHlch(45.64, 65.92, 340.02°)
OKLaboklab(55.72% 0.1858 -0.0605)
OKLCHoklch(55.72% 0.195 342)
XYZxyz(26.7450, 15.0044, 29.0857)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3493 #34BA5B
analogous
#9E34BA #BA3493 #BA3450
triadic
#BA3493 #93BA34 #3493BA
tetradic
#BA3493 #BA9E34 #34BA5B #3450BA
square
#BA3493 #BA9E34 #34BA5B #3450BA
split-complementary
#BA3493 #50BA34 #34BA9E
monochromatic
#5A1947 #8A276D #BA3493 #D15AAE #DE8AC6

Accessibility & contrast

On white

5.25
#BA3493 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA3493 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3493
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3493#FFFFFF#000000##FFFFFF
##BA34931.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405E96
Deuteranopia (green-blind)
#6A7490
Tritanopia (blue-blind)
#C6365F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3493;
/* rgb */ color: rgb(186, 52, 147);
/* oklch */ color: oklch(55.7% 0.195 342.0);
Tailwind
colors: {
  custom: {
    50: '#d377b3',
    500: '#ba3493',
    950: '#000000',
  },
}
SCSS
$custom: #ba3493;
$custom-light: #d377b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3493",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 147
  },
  "hsl": {
    "h": 317.463,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55723,
    "c": 0.19542,
    "h": 342
  },
  "luminance": 0.15002
}

Semantic roles & 50–950 ramp

primary
#BA3493
secondary
#81C896
accent
#E07448
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3493

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

Preview Lab → · Contrast checker → · Palette generator →

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