#BA3893#BA3893

#BA3893 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.1% C 0.191 H 342.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BA3893
RGBrgb(186, 56, 147)
HSLhsl(318, 54%, 47%)
HSVhsv(318, 70%, 73%)
CMYKcmyk(0%, 69.9%, 21%, 27.1%)
CIE-LABlab(46.15, 60.53, -21.75)
CIE-LCHlch(46.15, 64.32, 340.24°)
OKLaboklab(56.09% 0.1815 -0.0583)
OKLCHoklch(56.09% 0.191 342.2)
XYZxyz(26.9312, 15.3767, 29.1478)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3893 #38BA5F
analogous
#A038BA #BA3893 #BA3852
triadic
#BA3893 #93BA38 #3893BA
tetradic
#BA3893 #BAA038 #38BA5F #3852BA
square
#BA3893 #BAA038 #38BA5F #3852BA
split-complementary
#BA3893 #52BA38 #38BAA0
monochromatic
#5C1C49 #8B2A6E #BA3893 #CF60AE #DD8FC6

Accessibility & contrast

On white

5.15
#BA3893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BA3893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3893
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3893#FFFFFF#000000##FFFFFF
##BA38931.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436096
Deuteranopia (green-blind)
#6B7590
Tritanopia (blue-blind)
#C53961
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3893;
/* rgb */ color: rgb(186, 56, 147);
/* oklch */ color: oklch(56.1% 0.191 342.2);
Tailwind
colors: {
  custom: {
    50: '#d379b3',
    500: '#ba3893',
    950: '#000000',
  },
}
SCSS
$custom: #ba3893;
$custom-light: #d379b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3893",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 147
  },
  "hsl": {
    "h": 318,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56091,
    "c": 0.19064,
    "h": 342.2
  },
  "luminance": 0.15374
}

Semantic roles & 50–950 ramp

primary
#BA3893
secondary
#86C89A
accent
#DD774B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3893

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

Preview Lab → · Contrast checker → · Palette generator →

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