#BA2B77#BA2B77

#BA2B77 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.8% C 0.190 H 353.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#BA2B77
RGBrgb(186, 43, 119)
HSLhsl(328, 62%, 45%)
HSVhsv(328, 77%, 73%)
CMYKcmyk(0%, 76.9%, 36%, 27.1%)
CIE-LABlab(43.51, 61.46, -8.70)
CIE-LCHlch(43.51, 62.08, 351.94°)
OKLaboklab(53.81% 0.1887 -0.0223)
OKLCHoklch(53.81% 0.19 353.3)
XYZxyz(24.4449, 13.5018, 18.7680)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B77 #2BBA6E
analogous
#B52BBA #BA2B77 #BA2B30
triadic
#BA2B77 #77BA2B #2B77BA
tetradic
#BA2B77 #BAB52B #2BBA6E #2B30BA
square
#BA2B77 #BAB52B #2BBA6E #2B30BA
split-complementary
#BA2B77 #30BA2B #2BBAB5
monochromatic
#571437 #882057 #BA2B77 #D64C95 #E17EB3

Accessibility & contrast

On white

5.68
#BA2B77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#BA2B77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B77
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B77#FFFFFF#000000##FFFFFF
##BA2B771.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2b77;
/* rgb */ color: rgb(186, 43, 119);
/* oklch */ color: oklch(53.8% 0.190 353.3);
Tailwind
colors: {
  custom: {
    50: '#d4739e',
    500: '#ba2b77',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b77;
$custom-light: #d4739e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b77",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 328.112,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53812,
    "c": 0.18998,
    "h": 353.3
  },
  "luminance": 0.13499
}

Semantic roles & 50–950 ramp

primary
#BA2B77
secondary
#77CA9E
accent
#E68F42
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2B77

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

Preview Lab → · Contrast checker → · Palette generator →

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