#BA2991#BA2991

#BA2991 is a mid, highly saturated pink. Relative luminance 0.141; OKLCH L 54.8% C 0.206 H 342.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#BA2991
RGBrgb(186, 41, 145)
HSLhsl(317, 64%, 45%)
HSVhsv(317, 78%, 73%)
CMYKcmyk(0%, 78%, 22%, 27.1%)
CIE-LABlab(44.34, 65.15, -23.34)
CIE-LCHlch(44.34, 69.20, 340.29°)
OKLaboklab(54.75% 0.1961 -0.0627)
OKLCHoklch(54.75% 0.206 342.3)
XYZxyz(26.1544, 14.0721, 28.1214)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2991 #29BA52
analogous
#9B29BA #BA2991 #BA2948
triadic
#BA2991 #91BA29 #2991BA
tetradic
#BA2991 #BA9B29 #29BA52 #2948BA
square
#BA2991 #BA9B29 #29BA52 #2948BA
split-complementary
#BA2991 #48BA29 #29BA9B
monochromatic
#561343 #881E6A #BA2991 #D749AF #E27BC5

Accessibility & contrast

On white

5.51
#BA2991 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BA2991 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2991
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2991#FFFFFF#000000##FFFFFF
##BA29911.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385A94
Deuteranopia (green-blind)
#67718E
Tritanopia (blue-blind)
#C62B5B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2991;
/* rgb */ color: rgb(186, 41, 145);
/* oklch */ color: oklch(54.8% 0.206 342.3);
Tailwind
colors: {
  custom: {
    50: '#d373b1',
    500: '#ba2991',
    950: '#000000',
  },
}
SCSS
$custom: #ba2991;
$custom-light: #d373b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2991",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 316.966,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5475,
    "c": 0.20585,
    "h": 342.3
  },
  "luminance": 0.14069
}

Semantic roles & 50–950 ramp

primary
#BA2991
secondary
#75CA8D
accent
#E77041
background
#FDF7FA
surface
#FBEDF5
border
#D4C8CF
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2991

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

Preview Lab → · Contrast checker → · Palette generator →

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