#BA3C91#BA3C91

#BA3C91 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.4% C 0.184 H 343.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BA3C91
RGBrgb(186, 60, 145)
HSLhsl(320, 51%, 48%)
HSVhsv(320, 68%, 73%)
CMYKcmyk(0%, 67.7%, 22%, 27.1%)
CIE-LABlab(46.60, 58.76, -19.84)
CIE-LCHlch(46.60, 62.02, 341.34°)
OKLaboklab(56.4% 0.1765 -0.053)
OKLCHoklch(56.4% 0.184 343.3)
XYZxyz(26.9773, 15.7178, 28.3957)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C91 #3CBA65
analogous
#A43CBA #BA3C91 #BA3C52
triadic
#BA3C91 #91BA3C #3C91BA
tetradic
#BA3C91 #BAA43C #3CBA65 #3C52BA
square
#BA3C91 #BAA43C #3CBA65 #3C52BA
split-complementary
#BA3C91 #52BA3C #3CBAA4
monochromatic
#5D1E49 #8C2D6D #BA3C91 #CE66AC #DC94C5

Accessibility & contrast

On white

5.07
#BA3C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BA3C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C91
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C91#FFFFFF#000000##FFFFFF
##BA3C911.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486193
Deuteranopia (green-blind)
#6E768E
Tritanopia (blue-blind)
#C63C61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3c91;
/* rgb */ color: rgb(186, 60, 145);
/* oklch */ color: oklch(56.4% 0.184 343.3);
Tailwind
colors: {
  custom: {
    50: '#d27bb1',
    500: '#ba3c91',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c91;
$custom-light: #d27bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c91",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 145
  },
  "hsl": {
    "h": 319.524,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56397,
    "c": 0.18431,
    "h": 343.3
  },
  "luminance": 0.15715
}

Semantic roles & 50–950 ramp

primary
#BA3C91
secondary
#8AC89E
accent
#DB7B4D
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3C91

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

Preview Lab → · Contrast checker → · Palette generator →

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