#BA3E94#BA3E94

#BA3E94 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.7% C 0.184 H 342.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BA3E94
RGBrgb(186, 62, 148)
HSLhsl(318, 50%, 49%)
HSVhsv(318, 67%, 73%)
CMYKcmyk(0%, 66.7%, 20.4%, 27.1%)
CIE-LABlab(47.01, 58.39, -21.02)
CIE-LCHlch(47.01, 62.06, 340.20°)
OKLaboklab(56.73% 0.1747 -0.0563)
OKLCHoklch(56.73% 0.184 342.1)
XYZxyz(27.3184, 16.0251, 29.6656)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E94 #3EBA64
analogous
#A23EBA #BA3E94 #BA3E56
triadic
#BA3E94 #94BA3E #3E94BA
tetradic
#BA3E94 #BAA23E #3EBA64 #3E56BA
square
#BA3E94 #BAA23E #3EBA64 #3E56BA
split-complementary
#BA3E94 #56BA3E #3EBAA2
monochromatic
#5E1F4B #8C2F6F #BA3E94 #CD68AE #DC96C7

Accessibility & contrast

On white

4.99
#BA3E94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BA3E94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E94
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E94#FFFFFF#000000##FFFFFF
##BA3E941.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486397
Deuteranopia (green-blind)
#6D7791
Tritanopia (blue-blind)
#C53F63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3e94;
/* rgb */ color: rgb(186, 62, 148);
/* oklch */ color: oklch(56.7% 0.184 342.1);
Tailwind
colors: {
  custom: {
    50: '#d27cb3',
    500: '#ba3e94',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e94;
$custom-light: #d27cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e94",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 148
  },
  "hsl": {
    "h": 318.387,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56734,
    "c": 0.18358,
    "h": 342.1
  },
  "luminance": 0.16022
}

Semantic roles & 50–950 ramp

primary
#BA3E94
secondary
#8CC89E
accent
#DA794E
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3E94

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

Preview Lab → · Contrast checker → · Palette generator →

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