#BA3E91#BA3E91

#BA3E91 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.6% C 0.182 H 343.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BA3E91
RGBrgb(186, 62, 145)
HSLhsl(320, 50%, 49%)
HSVhsv(320, 67%, 73%)
CMYKcmyk(0%, 66.7%, 22%, 27.1%)
CIE-LABlab(46.88, 57.97, -19.41)
CIE-LCHlch(46.88, 61.14, 341.49°)
OKLaboklab(56.6% 0.1741 -0.0518)
OKLCHoklch(56.6% 0.182 343.4)
XYZxyz(27.0840, 15.9313, 28.4312)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E91 #3EBA67
analogous
#A53EBA #BA3E91 #BA3E53
triadic
#BA3E91 #91BA3E #3E91BA
tetradic
#BA3E91 #BAA53E #3EBA67 #3E53BA
square
#BA3E91 #BAA53E #3EBA67 #3E53BA
split-complementary
#BA3E91 #53BA3E #3EBAA5
monochromatic
#5E1F49 #8C2F6D #BA3E91 #CD68AC #DC96C5

Accessibility & contrast

On white

5.02
#BA3E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BA3E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3E91
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3E91#FFFFFF#000000##FFFFFF
##BA3E911.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496293
Deuteranopia (green-blind)
#6E778E
Tritanopia (blue-blind)
#C63E62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3e91;
/* rgb */ color: rgb(186, 62, 145);
/* oklch */ color: oklch(56.6% 0.182 343.4);
Tailwind
colors: {
  custom: {
    50: '#d27cb1',
    500: '#ba3e91',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e91;
$custom-light: #d27cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e91",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 319.839,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56603,
    "c": 0.18167,
    "h": 343.4
  },
  "luminance": 0.15929
}

Semantic roles & 50–950 ramp

primary
#BA3E91
secondary
#8CC8A0
accent
#DA7C4E
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3E91

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

Preview Lab → · Contrast checker → · Palette generator →

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