#BA3C8D#BA3C8D

#BA3C8D is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.2% C 0.182 H 345.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BA3C8D
RGBrgb(186, 60, 141)
HSLhsl(321, 51%, 48%)
HSVhsv(321, 68%, 73%)
CMYKcmyk(0%, 67.7%, 24.2%, 27.1%)
CIE-LABlab(46.44, 58.22, -17.68)
CIE-LCHlch(46.44, 60.84, 343.10°)
OKLaboklab(56.23% 0.1757 -0.047)
OKLCHoklch(56.23% 0.182 345)
XYZxyz(26.6743, 15.5966, 26.7998)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C8D #3CBA69
analogous
#A83CBA #BA3C8D #BA3C4E
triadic
#BA3C8D #8DBA3C #3C8DBA
tetradic
#BA3C8D #BAA83C #3CBA69 #3C4EBA
square
#BA3C8D #BAA83C #3CBA69 #3C4EBA
split-complementary
#BA3C8D #4EBA3C #3CBAA8
monochromatic
#5D1E47 #8C2D6A #BA3C8D #CE66A8 #DC94C3

Accessibility & contrast

On white

5.10
#BA3C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BA3C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C8D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C8D#FFFFFF#000000##FFFFFF
##BA3C8D1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608F
Deuteranopia (green-blind)
#6F768A
Tritanopia (blue-blind)
#C63A5F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3c8d;
/* rgb */ color: rgb(186, 60, 141);
/* oklch */ color: oklch(56.2% 0.182 345.0);
Tailwind
colors: {
  custom: {
    50: '#d27bae',
    500: '#ba3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c8d;
$custom-light: #d27bae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c8d",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 321.429,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56226,
    "c": 0.18184,
    "h": 345
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#BA3C8D
secondary
#8AC8A0
accent
#DB804D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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