#BA3C8A#BA3C8A

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

Color values

HEX#BA3C8A
RGBrgb(186, 60, 138)
HSLhsl(323, 51%, 48%)
HSVhsv(323, 68%, 73%)
CMYKcmyk(0%, 67.7%, 25.8%, 27.1%)
CIE-LABlab(46.32, 57.82, -16.05)
CIE-LCHlch(46.32, 60.01, 344.49°)
OKLaboklab(56.1% 0.175 -0.0425)
OKLCHoklch(56.1% 0.18 346.4)
XYZxyz(26.4541, 15.5085, 25.6401)
Luminance0.1551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3C8A #3CBA6C
analogous
#AB3CBA #BA3C8A #BA3C4B
triadic
#BA3C8A #8ABA3C #3C8ABA
tetradic
#BA3C8A #BAAB3C #3CBA6C #3C4BBA
square
#BA3C8A #BAAB3C #3CBA6C #3C4BBA
split-complementary
#BA3C8A #4BBA3C #3CBAAB
monochromatic
#5D1E45 #8C2D68 #BA3C8A #CE66A6 #DC94C1

Accessibility & contrast

On white

5.12
#BA3C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BA3C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3C8A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3C8A#FFFFFF#000000##FFFFFF
##BA3C8A1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#707687
Tritanopia (blue-blind)
#C6395E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3c8a;
/* rgb */ color: rgb(186, 60, 138);
/* oklch */ color: oklch(56.1% 0.180 346.4);
Tailwind
colors: {
  custom: {
    50: '#d37bac',
    500: '#ba3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #ba3c8a;
$custom-light: #d37bac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3c8a",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 322.857,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56101,
    "c": 0.18007,
    "h": 346.4
  },
  "luminance": 0.15506
}

Semantic roles & 50–950 ramp

primary
#BA3C8A
secondary
#8AC8A2
accent
#DB834D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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