#BA3C79#BA3C79

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

Color values

HEX#BA3C79
RGBrgb(186, 60, 121)
HSLhsl(331, 51%, 48%)
HSVhsv(331, 68%, 73%)
CMYKcmyk(0%, 67.7%, 34.9%, 27.1%)
CIE-LABlab(45.71, 55.73, -6.64)
CIE-LCHlch(45.71, 56.12, 353.20°)
OKLaboklab(55.45% 0.1704 -0.0168)
OKLCHoklch(55.45% 0.171 354.4)
XYZxyz(25.3182, 15.0542, 19.6579)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C79 #3CBA7D
analogous
#BA3CB8 #BA3C79 #BA3E3C
triadic
#BA3C79 #79BA3C #3C79BA
tetradic
#BA3C79 #B8BA3C #3CBA7D #3E3CBA
square
#BA3C79 #B8BA3C #3CBA7D #3E3CBA
split-complementary
#BA3C79 #3CBA3E #3CB8BA
monochromatic
#5D1E3D #8C2D5B #BA3C79 #CE6698 #DC94B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3C79#FFFFFF#000000##FFFFFF
##BA3C791.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)
#515E7B
Deuteranopia (green-blind)
#747576
Tritanopia (blue-blind)
#C83255
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3c79;
/* rgb */ color: rgb(186, 60, 121);
/* oklch */ color: oklch(55.4% 0.171 354.4);
Tailwind
colors: {
  custom: {
    50: '#d37a9f',
    500: '#ba3c79',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c79;
$custom-light: #d37a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c79",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 121
  },
  "hsl": {
    "h": 330.952,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55448,
    "c": 0.17127,
    "h": 354.4
  },
  "luminance": 0.15051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3C79

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

Preview Lab → · Contrast checker → · Palette generator →

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