#BA2773#BA2773

#BA2773 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.4% C 0.192 H 354.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#BA2773
RGBrgb(186, 39, 115)
HSLhsl(329, 65%, 44%)
HSVhsv(329, 79%, 73%)
CMYKcmyk(0%, 79%, 38.2%, 27.1%)
CIE-LABlab(42.96, 62.20, -7.05)
CIE-LCHlch(42.96, 62.60, 353.53°)
OKLaboklab(53.36% 0.1913 -0.0178)
OKLCHoklch(53.36% 0.192 354.7)
XYZxyz(24.0714, 13.1310, 17.4833)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2773 #27BA6E
analogous
#B827BA #BA2773 #BA2729
triadic
#BA2773 #73BA27 #2773BA
tetradic
#BA2773 #BAB827 #27BA6E #2729BA
square
#BA2773 #BAB827 #27BA6E #2729BA
split-complementary
#BA2773 #29BA27 #27BAB8
monochromatic
#551234 #871C54 #BA2773 #D84692 #E379B0

Accessibility & contrast

On white

5.79
#BA2773 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#BA2773 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2773
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2773#FFFFFF#000000##FFFFFF
##BA27731.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465475
Deuteranopia (green-blind)
#6F6F70
Tritanopia (blue-blind)
#C9114A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2773;
/* rgb */ color: rgb(186, 39, 115);
/* oklch */ color: oklch(53.4% 0.192 354.7);
Tailwind
colors: {
  custom: {
    50: '#d4719b',
    500: '#ba2773',
    950: '#000000',
  },
}
SCSS
$custom: #ba2773;
$custom-light: #d4719b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2773",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 328.98,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53365,
    "c": 0.19209,
    "h": 354.7
  },
  "luminance": 0.13128
}

Semantic roles & 50–950 ramp

primary
#BA2773
secondary
#72CB9D
accent
#E89140
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2773

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

Preview Lab → · Contrast checker → · Palette generator →

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