#BA2772#BA2772

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

Color values

HEX#BA2772
RGBrgb(186, 39, 114)
HSLhsl(329, 65%, 44%)
HSVhsv(329, 79%, 73%)
CMYKcmyk(0%, 79%, 38.7%, 27.1%)
CIE-LABlab(42.93, 62.10, -6.48)
CIE-LCHlch(42.93, 62.44, 354.04°)
OKLaboklab(53.33% 0.191 -0.0163)
OKLCHoklch(53.33% 0.192 355.1)
XYZxyz(24.0142, 13.1081, 17.1819)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2772 #27BA6F
analogous
#B927BA #BA2772 #BA2729
triadic
#BA2772 #72BA27 #2772BA
tetradic
#BA2772 #BAB927 #27BA6F #2729BA
square
#BA2772 #BAB927 #27BA6F #2729BA
split-complementary
#BA2772 #29BA27 #27BAB9
monochromatic
#551234 #871C53 #BA2772 #D84691 #E379AF

Accessibility & contrast

On white

5.80
#BA2772 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#BA2772 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2772
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2772#FFFFFF#000000##FFFFFF
##BA27721.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465474
Deuteranopia (green-blind)
#6F6F6F
Tritanopia (blue-blind)
#C91049
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2772;
/* rgb */ color: rgb(186, 39, 114);
/* oklch */ color: oklch(53.3% 0.192 355.1);
Tailwind
colors: {
  custom: {
    50: '#d4719a',
    500: '#ba2772',
    950: '#000000',
  },
}
SCSS
$custom: #ba2772;
$custom-light: #d4719a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2772",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 329.388,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.19167,
    "h": 355.1
  },
  "luminance": 0.13105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2772

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

Preview Lab → · Contrast checker → · Palette generator →

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