#BA2C72#BA2C72

#BA2C72 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.187 H 355.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#BA2C72
RGBrgb(186, 44, 114)
HSLhsl(330, 62%, 45%)
HSVhsv(330, 76%, 73%)
CMYKcmyk(0%, 76.3%, 38.7%, 27.1%)
CIE-LABlab(43.45, 60.63, -5.71)
CIE-LCHlch(43.45, 60.89, 354.62°)
OKLaboklab(53.71% 0.1863 -0.0143)
OKLCHoklch(53.71% 0.187 355.6)
XYZxyz(24.1893, 13.4584, 17.2403)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C72 #2CBA74
analogous
#BA2CB9 #BA2C72 #BA2D2C
triadic
#BA2C72 #72BA2C #2C72BA
tetradic
#BA2C72 #B9BA2C #2CBA74 #2D2CBA
square
#BA2C72 #B9BA2C #2CBA74 #2D2CBA
split-complementary
#BA2C72 #2CBA2D #2CB9BA
monochromatic
#571535 #892054 #BA2C72 #D54E91 #E180B0

Accessibility & contrast

On white

5.69
#BA2C72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#BA2C72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C72
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C72#FFFFFF#000000##FFFFFF
##BA2C721.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495674
Deuteranopia (green-blind)
#71706F
Tritanopia (blue-blind)
#C9194B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2c72;
/* rgb */ color: rgb(186, 44, 114);
/* oklch */ color: oklch(53.7% 0.187 355.6);
Tailwind
colors: {
  custom: {
    50: '#d4739a',
    500: '#ba2c72',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c72;
$custom-light: #d4739a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c72",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 330.423,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53709,
    "c": 0.18682,
    "h": 355.6
  },
  "luminance": 0.13455
}

Semantic roles & 50–950 ramp

primary
#BA2C72
secondary
#78CAA1
accent
#E59543
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2C72

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

Preview Lab → · Contrast checker → · Palette generator →

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