#BA3C8C#BA3C8C

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

Color values

HEX#BA3C8C
RGBrgb(186, 60, 140)
HSLhsl(322, 51%, 48%)
HSVhsv(322, 68%, 73%)
CMYKcmyk(0%, 67.7%, 24.7%, 27.1%)
CIE-LABlab(46.40, 58.08, -17.14)
CIE-LCHlch(46.40, 60.56, 343.56°)
OKLaboklab(56.18% 0.1755 -0.0455)
OKLCHoklch(56.18% 0.181 345.5)
XYZxyz(26.6002, 15.5670, 26.4097)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C8C #3CBA6A
analogous
#A93CBA #BA3C8C #BA3C4D
triadic
#BA3C8C #8CBA3C #3C8CBA
tetradic
#BA3C8C #BAA93C #3CBA6A #3C4DBA
square
#BA3C8C #BAA93C #3CBA6A #3C4DBA
split-complementary
#BA3C8C #4DBA3C #3CBAA9
monochromatic
#5D1E46 #8C2D69 #BA3C8C #CE66A8 #DC94C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3C8C#FFFFFF#000000##FFFFFF
##BA3C8C1.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)
#4A608E
Deuteranopia (green-blind)
#6F7689
Tritanopia (blue-blind)
#C63A5F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3c8c;
/* rgb */ color: rgb(186, 60, 140);
/* oklch */ color: oklch(56.2% 0.181 345.5);
Tailwind
colors: {
  custom: {
    50: '#d27bad',
    500: '#ba3c8c',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c8c;
$custom-light: #d27bad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c8c",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 140
  },
  "hsl": {
    "h": 321.905,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56184,
    "c": 0.18125,
    "h": 345.5
  },
  "luminance": 0.15564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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