#BA3C8B#BA3C8B

#BA3C8B is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.1% C 0.181 H 345.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BA3C8B
RGBrgb(186, 60, 139)
HSLhsl(322, 51%, 48%)
HSVhsv(322, 68%, 73%)
CMYKcmyk(0%, 67.7%, 25.3%, 27.1%)
CIE-LABlab(46.36, 57.95, -16.60)
CIE-LCHlch(46.36, 60.28, 344.02°)
OKLaboklab(56.14% 0.1752 -0.044)
OKLCHoklch(56.14% 0.181 345.9)
XYZxyz(26.5268, 15.5376, 26.0231)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C8B #3CBA6B
analogous
#AA3CBA #BA3C8B #BA3C4C
triadic
#BA3C8B #8BBA3C #3C8BBA
tetradic
#BA3C8B #BAAA3C #3CBA6B #3C4CBA
square
#BA3C8B #BAAA3C #3CBA6B #3C4CBA
split-complementary
#BA3C8B #4CBA3C #3CBAAA
monochromatic
#5D1E46 #8C2D68 #BA3C8B #CE66A7 #DC94C1

Accessibility & contrast

On white

5.11
#BA3C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BA3C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C8B
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C8B#FFFFFF#000000##FFFFFF
##BA3C8B1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608D
Deuteranopia (green-blind)
#6F7688
Tritanopia (blue-blind)
#C63A5E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3c8b;
/* rgb */ color: rgb(186, 60, 139);
/* oklch */ color: oklch(56.1% 0.181 345.9);
Tailwind
colors: {
  custom: {
    50: '#d37bad',
    500: '#ba3c8b',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c8b;
$custom-light: #d37bad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c8b",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 322.381,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56142,
    "c": 0.18065,
    "h": 345.9
  },
  "luminance": 0.15535
}

Semantic roles & 50–950 ramp

primary
#BA3C8B
secondary
#8AC8A1
accent
#DB824D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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