#BA3C71#BA3C71

#BA3C71 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.2% C 0.168 H 358.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BA3C71
RGBrgb(186, 60, 113)
HSLhsl(335, 51%, 48%)
HSVhsv(335, 68%, 73%)
CMYKcmyk(0%, 67.7%, 39.2%, 27.1%)
CIE-LABlab(45.45, 54.84, -2.13)
CIE-LCHlch(45.45, 54.88, 357.78°)
OKLaboklab(55.17% 0.1679 -0.0049)
OKLCHoklch(55.17% 0.168 358.3)
XYZxyz(24.8478, 14.8660, 17.1805)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C71 #3CBA85
analogous
#BA3CB0 #BA3C71 #BA463C
triadic
#BA3C71 #71BA3C #3C71BA
tetradic
#BA3C71 #B0BA3C #3CBA85 #463CBA
square
#BA3C71 #B0BA3C #3CBA85 #463CBA
split-complementary
#BA3C71 #3CBA46 #3CB0BA
monochromatic
#5D1E39 #8C2D55 #BA3C71 #CE6691 #DC94B2

Accessibility & contrast

On white

5.29
#BA3C71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BA3C71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C71
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C71#FFFFFF#000000##FFFFFF
##BA3C711.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C72
Deuteranopia (green-blind)
#76746E
Tritanopia (blue-blind)
#C92F52
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3c71;
/* rgb */ color: rgb(186, 60, 113);
/* oklch */ color: oklch(55.2% 0.168 358.3);
Tailwind
colors: {
  custom: {
    50: '#d37a99',
    500: '#ba3c71',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c71;
$custom-light: #d37a99;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c71",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 113
  },
  "hsl": {
    "h": 334.762,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55173,
    "c": 0.16799,
    "h": 358.3
  },
  "luminance": 0.14863
}

Semantic roles & 50–950 ramp

primary
#BA3C71
secondary
#8AC8AE
accent
#DB9F4D
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3C71

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

Preview Lab → · Contrast checker → · Palette generator →

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