#BA3C78#BA3C78

#BA3C78 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.4% C 0.171 H 354.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BA3C78
RGBrgb(186, 60, 120)
HSLhsl(331, 51%, 48%)
HSVhsv(331, 68%, 73%)
CMYKcmyk(0%, 67.7%, 35.5%, 27.1%)
CIE-LABlab(45.67, 55.61, -6.08)
CIE-LCHlch(45.67, 55.95, 353.76°)
OKLaboklab(55.41% 0.1701 -0.0153)
OKLCHoklch(55.41% 0.171 354.8)
XYZxyz(25.2572, 15.0298, 19.3366)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C78 #3CBA7E
analogous
#BA3CB7 #BA3C78 #BA3F3C
triadic
#BA3C78 #78BA3C #3C78BA
tetradic
#BA3C78 #B7BA3C #3CBA7E #3F3CBA
square
#BA3C78 #B7BA3C #3CBA7E #3F3CBA
split-complementary
#BA3C78 #3CBA3F #3CB7BA
monochromatic
#5D1E3C #8C2D5A #BA3C78 #CE6697 #DC94B6

Accessibility & contrast

On white

5.24
#BA3C78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BA3C78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C78
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C78#FFFFFF#000000##FFFFFF
##BA3C781.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525D7A
Deuteranopia (green-blind)
#757575
Tritanopia (blue-blind)
#C83155
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3c78;
/* rgb */ color: rgb(186, 60, 120);
/* oklch */ color: oklch(55.4% 0.171 354.8);
Tailwind
colors: {
  custom: {
    50: '#d37a9e',
    500: '#ba3c78',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c78;
$custom-light: #d37a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c78",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 120
  },
  "hsl": {
    "h": 331.429,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55412,
    "c": 0.17082,
    "h": 354.8
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#BA3C78
secondary
#8AC8AA
accent
#DB974D
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3C78

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

Preview Lab → · Contrast checker → · Palette generator →

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