#BA3A86#BA3A86

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

Color values

HEX#BA3A86
RGBrgb(186, 58, 134)
HSLhsl(324, 52%, 48%)
HSVhsv(324, 69%, 73%)
CMYKcmyk(0%, 68.8%, 28%, 27.1%)
CIE-LABlab(45.89, 58.08, -14.28)
CIE-LCHlch(45.89, 59.81, 346.18°)
OKLaboklab(55.74% 0.1764 -0.0376)
OKLCHoklch(55.74% 0.18 348)
XYZxyz(26.0670, 15.1892, 24.1087)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A86 #3ABA6E
analogous
#AE3ABA #BA3A86 #BA3A46
triadic
#BA3A86 #86BA3A #3A86BA
tetradic
#BA3A86 #BAAE3A #3ABA6E #3A46BA
square
#BA3A86 #BAAE3A #3ABA6E #3A46BA
split-complementary
#BA3A86 #46BA3A #3ABAAE
monochromatic
#5D1D43 #8B2B64 #BA3A86 #CE63A3 #DD92BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3A86#FFFFFF#000000##FFFFFF
##BA3A861.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)
#4B5E88
Deuteranopia (green-blind)
#707583
Tritanopia (blue-blind)
#C7355B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3a86;
/* rgb */ color: rgb(186, 58, 134);
/* oklch */ color: oklch(55.7% 0.180 348.0);
Tailwind
colors: {
  custom: {
    50: '#d37aa9',
    500: '#ba3a86',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a86;
$custom-light: #d37aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a86",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 134
  },
  "hsl": {
    "h": 324.375,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55735,
    "c": 0.18036,
    "h": 348
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#BA3A86
secondary
#88C8A2
accent
#DC864C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3A86

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

Preview Lab → · Contrast checker → · Palette generator →

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