#BA3C7A#BA3C7A

#BA3C7A is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.5% C 0.172 H 353.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BA3C7A
RGBrgb(186, 60, 122)
HSLhsl(330, 51%, 48%)
HSVhsv(330, 68%, 73%)
CMYKcmyk(0%, 67.7%, 34.4%, 27.1%)
CIE-LABlab(45.74, 55.84, -7.20)
CIE-LCHlch(45.74, 56.31, 352.65°)
OKLaboklab(55.48% 0.1707 -0.0184)
OKLCHoklch(55.48% 0.172 353.9)
XYZxyz(25.3799, 15.0788, 19.9825)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C7A #3CBA7C
analogous
#BA3CB9 #BA3C7A #BA3D3C
triadic
#BA3C7A #7ABA3C #3C7ABA
tetradic
#BA3C7A #B9BA3C #3CBA7C #3D3CBA
square
#BA3C7A #B9BA3C #3CBA7C #3D3CBA
split-complementary
#BA3C7A #3CBA3D #3CB9BA
monochromatic
#5D1E3D #8C2D5C #BA3C7A #CE6699 #DC94B8

Accessibility & contrast

On white

5.23
#BA3C7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BA3C7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C7A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C7A#FFFFFF#000000##FFFFFF
##BA3C7A1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7C
Deuteranopia (green-blind)
#747577
Tritanopia (blue-blind)
#C83256
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3c7a;
/* rgb */ color: rgb(186, 60, 122);
/* oklch */ color: oklch(55.5% 0.172 353.9);
Tailwind
colors: {
  custom: {
    50: '#d37aa0',
    500: '#ba3c7a',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c7a;
$custom-light: #d37aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c7a",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 122
  },
  "hsl": {
    "h": 330.476,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55484,
    "c": 0.17171,
    "h": 353.9
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#BA3C7A
secondary
#8AC8A9
accent
#DB954D
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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