#BA2C77#BA2C77

#BA2C77 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.189 H 353.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#BA2C77
RGBrgb(186, 44, 119)
HSLhsl(328, 62%, 45%)
HSVhsv(328, 76%, 73%)
CMYKcmyk(0%, 76.3%, 36%, 27.1%)
CIE-LABlab(43.62, 61.16, -8.54)
CIE-LCHlch(43.62, 61.75, 352.05°)
OKLaboklab(53.89% 0.1877 -0.0218)
OKLCHoklch(53.89% 0.189 353.4)
XYZxyz(24.4817, 13.5754, 18.7803)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C77 #2CBA6F
analogous
#B62CBA #BA2C77 #BA2C30
triadic
#BA2C77 #77BA2C #2C77BA
tetradic
#BA2C77 #BAB62C #2CBA6F #2C30BA
square
#BA2C77 #BAB62C #2CBA6F #2C30BA
split-complementary
#BA2C77 #30BA2C #2CBAB6
monochromatic
#571538 #892057 #BA2C77 #D54E95 #E180B3

Accessibility & contrast

On white

5.65
#BA2C77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#BA2C77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C77
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C77#FFFFFF#000000##FFFFFF
##BA2C771.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475779
Deuteranopia (green-blind)
#6F7074
Tritanopia (blue-blind)
#C91D4E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2c77;
/* rgb */ color: rgb(186, 44, 119);
/* oklch */ color: oklch(53.9% 0.189 353.4);
Tailwind
colors: {
  custom: {
    50: '#d4739e',
    500: '#ba2c77',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c77;
$custom-light: #d4739e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c77",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 328.31,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53891,
    "c": 0.18897,
    "h": 353.4
  },
  "luminance": 0.13572
}

Semantic roles & 50–950 ramp

primary
#BA2C77
secondary
#78CA9F
accent
#E58F43
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2C77

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

Preview Lab → · Contrast checker → · Palette generator →

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