#BA2891#BA2891

#BA2891 is a mid, highly saturated pink. Relative luminance 0.140; OKLCH L 54.7% C 0.207 H 342.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#BA2891
RGBrgb(186, 40, 145)
HSLhsl(317, 65%, 44%)
HSVhsv(317, 78%, 73%)
CMYKcmyk(0%, 78.5%, 22%, 27.1%)
CIE-LABlab(44.24, 65.43, -23.49)
CIE-LCHlch(44.24, 69.52, 340.25°)
OKLaboklab(54.68% 0.1969 -0.0631)
OKLCHoklch(54.68% 0.207 342.2)
XYZxyz(26.1203, 14.0038, 28.1100)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2891 #28BA51
analogous
#9A28BA #BA2891 #BA2848
triadic
#BA2891 #91BA28 #2891BA
tetradic
#BA2891 #BA9A28 #28BA51 #2848BA
square
#BA2891 #BA9A28 #28BA51 #2848BA
split-complementary
#BA2891 #48BA28 #28BA9A
monochromatic
#551242 #881D6A #BA2891 #D848AF #E27AC5

Accessibility & contrast

On white

5.53
#BA2891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#BA2891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2891
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2891#FFFFFF#000000##FFFFFF
##BA28911.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385994
Deuteranopia (green-blind)
#66718E
Tritanopia (blue-blind)
#C62A5A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2891;
/* rgb */ color: rgb(186, 40, 145);
/* oklch */ color: oklch(54.7% 0.207 342.2);
Tailwind
colors: {
  custom: {
    50: '#d373b1',
    500: '#ba2891',
    950: '#000000',
  },
}
SCSS
$custom: #ba2891;
$custom-light: #d373b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2891",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 316.849,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.2068,
    "h": 342.2
  },
  "luminance": 0.14001
}

Semantic roles & 50–950 ramp

primary
#BA2891
secondary
#73CA8C
accent
#E86F40
background
#FDF7FA
surface
#FBEDF5
border
#D4C8CF
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2891

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

Preview Lab → · Contrast checker → · Palette generator →

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