#BA2B84#BA2B84

#BA2B84 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.3% C 0.196 H 347.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#BA2B84
RGBrgb(186, 43, 132)
HSLhsl(323, 62%, 45%)
HSVhsv(323, 77%, 73%)
CMYKcmyk(0%, 76.9%, 29%, 27.1%)
CIE-LABlab(44.00, 62.94, -15.95)
CIE-LCHlch(44.00, 64.93, 345.78°)
OKLaboklab(54.33% 0.1919 -0.0421)
OKLCHoklch(54.33% 0.196 347.6)
XYZxyz(25.2797, 13.8357, 23.1646)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B84 #2BBA61
analogous
#A82BBA #BA2B84 #BA2B3D
triadic
#BA2B84 #84BA2B #2B84BA
tetradic
#BA2B84 #BAA82B #2BBA61 #2B3DBA
square
#BA2B84 #BAA82B #2BBA61 #2B3DBA
split-complementary
#BA2B84 #3DBA2B #2BBAA8
monochromatic
#57143D #882061 #BA2B84 #D64CA2 #E17EBC

Accessibility & contrast

On white

5.58
#BA2B84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#BA2B84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B84
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B84#FFFFFF#000000##FFFFFF
##BA2B841.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415886
Deuteranopia (green-blind)
#6C7181
Tritanopia (blue-blind)
#C72454
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2b84;
/* rgb */ color: rgb(186, 43, 132);
/* oklch */ color: oklch(54.3% 0.196 347.6);
Tailwind
colors: {
  custom: {
    50: '#d373a8',
    500: '#ba2b84',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b84;
$custom-light: #d373a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b84",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 322.657,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54326,
    "c": 0.19644,
    "h": 347.6
  },
  "luminance": 0.13833
}

Semantic roles & 50–950 ramp

primary
#BA2B84
secondary
#77CA96
accent
#E68042
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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