#BA2A91#BA2A91

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

Color values

HEX#BA2A91
RGBrgb(186, 42, 145)
HSLhsl(317, 63%, 45%)
HSVhsv(317, 77%, 73%)
CMYKcmyk(0%, 77.4%, 22%, 27.1%)
CIE-LABlab(44.44, 64.86, -23.18)
CIE-LCHlch(44.44, 68.88, 340.33°)
OKLaboklab(54.82% 0.1952 -0.0622)
OKLCHoklch(54.82% 0.205 342.3)
XYZxyz(26.1894, 14.1421, 28.1330)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A91 #2ABA53
analogous
#9B2ABA #BA2A91 #BA2A49
triadic
#BA2A91 #91BA2A #2A91BA
tetradic
#BA2A91 #BA9B2A #2ABA53 #2A49BA
square
#BA2A91 #BA9B2A #2ABA53 #2A49BA
split-complementary
#BA2A91 #49BA2A #2ABA9B
monochromatic
#561343 #881F6A #BA2A91 #D64BAF #E27DC5

Accessibility & contrast

On white

5.49
#BA2A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA2A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A91
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A91#FFFFFF#000000##FFFFFF
##BA2A911.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2a91;
/* rgb */ color: rgb(186, 42, 145);
/* oklch */ color: oklch(54.8% 0.205 342.3);
Tailwind
colors: {
  custom: {
    50: '#d373b1',
    500: '#ba2a91',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a91;
$custom-light: #d373b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a91",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 317.083,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54822,
    "c": 0.2049,
    "h": 342.3
  },
  "luminance": 0.14139
}

Semantic roles & 50–950 ramp

primary
#BA2A91
secondary
#76CA8E
accent
#E67042
background
#FDF7FA
surface
#FBEDF5
border
#D4C8CF
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2A91

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

Preview Lab → · Contrast checker → · Palette generator →

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