#BA2C71#BA2C71

#BA2C71 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.186 H 356.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#BA2C71
RGBrgb(186, 44, 113)
HSLhsl(331, 62%, 45%)
HSVhsv(331, 76%, 73%)
CMYKcmyk(0%, 76.3%, 39.2%, 27.1%)
CIE-LABlab(43.41, 60.52, -5.14)
CIE-LCHlch(43.41, 60.74, 355.15°)
OKLaboklab(53.67% 0.186 -0.0128)
OKLCHoklch(53.67% 0.186 356.1)
XYZxyz(24.1327, 13.4358, 16.9421)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C71 #2CBA75
analogous
#BA2CB8 #BA2C71 #BA2E2C
triadic
#BA2C71 #71BA2C #2C71BA
tetradic
#BA2C71 #B8BA2C #2CBA75 #2E2CBA
square
#BA2C71 #B8BA2C #2CBA75 #2E2CBA
split-complementary
#BA2C71 #2CBA2E #2CB8BA
monochromatic
#571535 #892053 #BA2C71 #D54E90 #E180AF

Accessibility & contrast

On white

5.70
#BA2C71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2C71
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C71#FFFFFF#000000##FFFFFF
##BA2C711.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495673
Deuteranopia (green-blind)
#71706E
Tritanopia (blue-blind)
#C9184B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2c71;
/* rgb */ color: rgb(186, 44, 113);
/* oklch */ color: oklch(53.7% 0.186 356.1);
Tailwind
colors: {
  custom: {
    50: '#d47399',
    500: '#ba2c71',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c71;
$custom-light: #d47399;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c71",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 330.845,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53674,
    "c": 0.18641,
    "h": 356.1
  },
  "luminance": 0.13433
}

Semantic roles & 50–950 ramp

primary
#BA2C71
secondary
#78CAA2
accent
#E59643
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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