#BA3C7E#BA3C7E

#BA3C7E is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.6% C 0.174 H 351.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA3C7E
RGBrgb(186, 60, 126)
HSLhsl(329, 51%, 48%)
HSVhsv(329, 68%, 73%)
CMYKcmyk(0%, 67.7%, 32.3%, 27.1%)
CIE-LABlab(45.88, 56.32, -9.44)
CIE-LCHlch(45.88, 57.10, 350.49°)
OKLaboklab(55.63% 0.1719 -0.0244)
OKLCHoklch(55.63% 0.174 351.9)
XYZxyz(25.6328, 15.1800, 21.3148)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C7E #3CBA78
analogous
#B73CBA #BA3C7E #BA3C3F
triadic
#BA3C7E #7EBA3C #3C7EBA
tetradic
#BA3C7E #BAB73C #3CBA78 #3C3FBA
square
#BA3C7E #BAB73C #3CBA78 #3C3FBA
split-complementary
#BA3C7E #3FBA3C #3CBAB7
monochromatic
#5D1E3F #8C2D5F #BA3C7E #CE669C #DC94BA

Accessibility & contrast

On white

5.20
#BA3C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BA3C7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C7E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C7E#FFFFFF#000000##FFFFFF
##BA3C7E1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E80
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#C83458
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3c7e;
/* rgb */ color: rgb(186, 60, 126);
/* oklch */ color: oklch(55.6% 0.174 351.9);
Tailwind
colors: {
  custom: {
    50: '#d37ba3',
    500: '#ba3c7e',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c7e;
$custom-light: #d37ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c7e",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 126
  },
  "hsl": {
    "h": 328.571,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5563,
    "c": 0.17361,
    "h": 351.9
  },
  "luminance": 0.15177
}

Semantic roles & 50–950 ramp

primary
#BA3C7E
secondary
#8AC8A7
accent
#DB914D
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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