#BA2C84#BA2C84

#BA2C84 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.4% C 0.195 H 347.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BA2C84
RGBrgb(186, 44, 132)
HSLhsl(323, 62%, 45%)
HSVhsv(323, 76%, 73%)
CMYKcmyk(0%, 76.3%, 29%, 27.1%)
CIE-LABlab(44.10, 62.64, -15.79)
CIE-LCHlch(44.10, 64.60, 345.85°)
OKLaboklab(54.4% 0.1909 -0.0416)
OKLCHoklch(54.4% 0.195 347.7)
XYZxyz(25.3165, 13.9093, 23.1769)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C84 #2CBA62
analogous
#A92CBA #BA2C84 #BA2C3D
triadic
#BA2C84 #84BA2C #2C84BA
tetradic
#BA2C84 #BAA92C #2CBA62 #2C3DBA
square
#BA2C84 #BAA92C #2CBA62 #2C3DBA
split-complementary
#BA2C84 #3DBA2C #2CBAA9
monochromatic
#57153E #892061 #BA2C84 #D54EA2 #E180BC

Accessibility & contrast

On white

5.55
#BA2C84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#BA2C84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C84
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C84#FFFFFF#000000##FFFFFF
##BA2C841.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2c84;
/* rgb */ color: rgb(186, 44, 132);
/* oklch */ color: oklch(54.4% 0.195 347.7);
Tailwind
colors: {
  custom: {
    50: '#d374a7',
    500: '#ba2c84',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c84;
$custom-light: #d374a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c84",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 322.817,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54403,
    "c": 0.19541,
    "h": 347.7
  },
  "luminance": 0.13906
}

Semantic roles & 50–950 ramp

primary
#BA2C84
secondary
#78CA97
accent
#E58143
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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