#BA2C73#BA2C73

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

Color values

HEX#BA2C73
RGBrgb(186, 44, 115)
HSLhsl(330, 62%, 45%)
HSVhsv(330, 76%, 73%)
CMYKcmyk(0%, 76.3%, 38.2%, 27.1%)
CIE-LABlab(43.48, 60.73, -6.28)
CIE-LCHlch(43.48, 61.05, 354.10°)
OKLaboklab(53.75% 0.1866 -0.0158)
OKLCHoklch(53.75% 0.187 355.2)
XYZxyz(24.2465, 13.4813, 17.5417)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C73 #2CBA73
analogous
#BA2CBA #BA2C73 #BA2C2C
triadic
#BA2C73 #73BA2C #2C73BA
tetradic
#BA2C73 #BABA2C #2CBA73 #2C2CBA
square
#BA2C73 #BABA2C #2CBA73 #2C2CBA
split-complementary
#BA2C73 #2CBA2C #2CBABA
monochromatic
#571536 #892054 #BA2C73 #D54E92 #E180B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2C73#FFFFFF#000000##FFFFFF
##BA2C731.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)
#495675
Deuteranopia (green-blind)
#707070
Tritanopia (blue-blind)
#C91A4C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2c73;
/* rgb */ color: rgb(186, 44, 115);
/* oklch */ color: oklch(53.7% 0.187 355.2);
Tailwind
colors: {
  custom: {
    50: '#d4739b',
    500: '#ba2c73',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c73;
$custom-light: #d4739b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c73",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 330,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53745,
    "c": 0.18723,
    "h": 355.2
  },
  "luminance": 0.13478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2C73

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

Preview Lab → · Contrast checker → · Palette generator →

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