#BA3C7C#BA3C7C

#BA3C7C is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.6% C 0.173 H 352.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BA3C7C
RGBrgb(186, 60, 124)
HSLhsl(330, 51%, 48%)
HSVhsv(330, 68%, 73%)
CMYKcmyk(0%, 67.7%, 33.3%, 27.1%)
CIE-LABlab(45.81, 56.08, -8.32)
CIE-LCHlch(45.81, 56.69, 351.56°)
OKLaboklab(55.56% 0.1713 -0.0213)
OKLCHoklch(55.56% 0.173 352.9)
XYZxyz(25.5051, 15.1289, 20.6419)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C7C #3CBA7A
analogous
#B93CBA #BA3C7C #BA3C3D
triadic
#BA3C7C #7CBA3C #3C7CBA
tetradic
#BA3C7C #BAB93C #3CBA7A #3C3DBA
square
#BA3C7C #BAB93C #3CBA7A #3C3DBA
split-complementary
#BA3C7C #3DBA3C #3CBAB9
monochromatic
#5D1E3E #8C2D5D #BA3C7C #CE669A #DC94B9

Accessibility & contrast

On white

5.22
#BA3C7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA3C7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C7C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C7C#FFFFFF#000000##FFFFFF
##BA3C7C1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E7E
Deuteranopia (green-blind)
#747579
Tritanopia (blue-blind)
#C83357
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3c7c;
/* rgb */ color: rgb(186, 60, 124);
/* oklch */ color: oklch(55.6% 0.173 352.9);
Tailwind
colors: {
  custom: {
    50: '#d37ba1',
    500: '#ba3c7c',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c7c;
$custom-light: #d37ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c7c",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 124
  },
  "hsl": {
    "h": 329.524,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55556,
    "c": 0.17265,
    "h": 352.9
  },
  "luminance": 0.15126
}

Semantic roles & 50–950 ramp

primary
#BA3C7C
secondary
#8AC8A8
accent
#DB934D
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BA3C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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