#BA2777#BA2777

#BA2777 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.194 H 352.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#BA2777
RGBrgb(186, 39, 119)
HSLhsl(327, 65%, 44%)
HSVhsv(327, 79%, 73%)
CMYKcmyk(0%, 79%, 36%, 27.1%)
CIE-LABlab(43.10, 62.63, -9.32)
CIE-LCHlch(43.10, 63.32, 351.54°)
OKLaboklab(53.51% 0.1924 -0.0239)
OKLCHoklch(53.51% 0.194 352.9)
XYZxyz(24.3066, 13.2251, 18.7219)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2777 #27BA6A
analogous
#B427BA #BA2777 #BA272E
triadic
#BA2777 #77BA27 #2777BA
tetradic
#BA2777 #BAB427 #27BA6A #272EBA
square
#BA2777 #BAB427 #27BA6A #272EBA
split-complementary
#BA2777 #2EBA27 #27BAB4
monochromatic
#551236 #871C57 #BA2777 #D84696 #E379B2

Accessibility & contrast

On white

5.76
#BA2777 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#BA2777 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2777
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2777#FFFFFF#000000##FFFFFF
##BA27771.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445579
Deuteranopia (green-blind)
#6E6F74
Tritanopia (blue-blind)
#C9154C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2777;
/* rgb */ color: rgb(186, 39, 119);
/* oklch */ color: oklch(53.5% 0.194 352.9);
Tailwind
colors: {
  custom: {
    50: '#d4719e',
    500: '#ba2777',
    950: '#000000',
  },
}
SCSS
$custom: #ba2777;
$custom-light: #d4719e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2777",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 119
  },
  "hsl": {
    "h": 327.347,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.19384,
    "h": 352.9
  },
  "luminance": 0.13222
}

Semantic roles & 50–950 ramp

primary
#BA2777
secondary
#72CB9A
accent
#E88C40
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2777

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

Preview Lab → · Contrast checker → · Palette generator →

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