#BA3894#BA3894

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

Color values

HEX#BA3894
RGBrgb(186, 56, 148)
HSLhsl(318, 54%, 47%)
HSVhsv(318, 70%, 73%)
CMYKcmyk(0%, 69.9%, 20.4%, 27.1%)
CIE-LABlab(46.19, 60.67, -22.29)
CIE-LCHlch(46.19, 64.63, 339.83°)
OKLaboklab(56.14% 0.1817 -0.0598)
OKLCHoklch(56.14% 0.191 341.8)
XYZxyz(27.0100, 15.4082, 29.5628)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3894 #38BA5E
analogous
#9F38BA #BA3894 #BA3853
triadic
#BA3894 #94BA38 #3894BA
tetradic
#BA3894 #BA9F38 #38BA5E #3853BA
square
#BA3894 #BA9F38 #38BA5E #3853BA
split-complementary
#BA3894 #53BA38 #38BA9F
monochromatic
#5C1C49 #8B2A6F #BA3894 #CF60AF #DD8FC6

Accessibility & contrast

On white

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

On black

4.08
#BA3894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3894#FFFFFF#000000##FFFFFF
##BA38941.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436097
Deuteranopia (green-blind)
#6B7591
Tritanopia (blue-blind)
#C53A61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3894;
/* rgb */ color: rgb(186, 56, 148);
/* oklch */ color: oklch(56.1% 0.191 341.8);
Tailwind
colors: {
  custom: {
    50: '#d279b3',
    500: '#ba3894',
    950: '#000000',
  },
}
SCSS
$custom: #ba3894;
$custom-light: #d279b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3894",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 317.538,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.19127,
    "h": 341.8
  },
  "luminance": 0.15406
}

Semantic roles & 50–950 ramp

primary
#BA3894
secondary
#86C899
accent
#DD754B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3894

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

Preview Lab → · Contrast checker → · Palette generator →

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