#BA3991#BA3991

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

Color values

HEX#BA3991
RGBrgb(186, 57, 145)
HSLhsl(319, 53%, 48%)
HSVhsv(319, 69%, 73%)
CMYKcmyk(0%, 69.4%, 22%, 27.1%)
CIE-LABlab(46.19, 59.89, -20.47)
CIE-LCHlch(46.19, 63.30, 341.13°)
OKLaboklab(56.1% 0.18 -0.0547)
OKLCHoklch(56.1% 0.188 343.1)
XYZxyz(26.8246, 15.4124, 28.3448)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3991 #39BA62
analogous
#A239BA #BA3991 #BA3950
triadic
#BA3991 #91BA39 #3991BA
tetradic
#BA3991 #BAA239 #39BA62 #3950BA
square
#BA3991 #BAA239 #39BA62 #3950BA
split-complementary
#BA3991 #50BA39 #39BAA2
monochromatic
#5C1C48 #8B2B6C #BA3991 #CF61AC #DD90C5

Accessibility & contrast

On white

5.14
#BA3991 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3991
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3991#FFFFFF#000000##FFFFFF
##BA39911.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456094
Deuteranopia (green-blind)
#6C758E
Tritanopia (blue-blind)
#C63960
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3991;
/* rgb */ color: rgb(186, 57, 145);
/* oklch */ color: oklch(56.1% 0.188 343.1);
Tailwind
colors: {
  custom: {
    50: '#d27ab1',
    500: '#ba3991',
    950: '#000000',
  },
}
SCSS
$custom: #ba3991;
$custom-light: #d27ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3991",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 145
  },
  "hsl": {
    "h": 319.07,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56099,
    "c": 0.18813,
    "h": 343.1
  },
  "luminance": 0.1541
}

Semantic roles & 50–950 ramp

primary
#BA3991
secondary
#87C89C
accent
#DC794B
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3991

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

Preview Lab → · Contrast checker → · Palette generator →

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