#BA3A87#BA3A87

#BA3A87 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.8% C 0.181 H 347.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BA3A87
RGBrgb(186, 58, 135)
HSLhsl(324, 52%, 48%)
HSVhsv(324, 69%, 73%)
CMYKcmyk(0%, 68.8%, 27.4%, 27.1%)
CIE-LABlab(45.93, 58.20, -14.83)
CIE-LCHlch(45.93, 60.06, 345.70°)
OKLaboklab(55.78% 0.1767 -0.0391)
OKLCHoklch(55.78% 0.181 347.5)
XYZxyz(26.1371, 15.2173, 24.4777)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A87 #3ABA6D
analogous
#AD3ABA #BA3A87 #BA3A47
triadic
#BA3A87 #87BA3A #3A87BA
tetradic
#BA3A87 #BAAD3A #3ABA6D #3A47BA
square
#BA3A87 #BAAD3A #3ABA6D #3A47BA
split-complementary
#BA3A87 #47BA3A #3ABAAD
monochromatic
#5D1D43 #8B2B65 #BA3A87 #CE63A4 #DD92BF

Accessibility & contrast

On white

5.19
#BA3A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3A87
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A87#FFFFFF#000000##FFFFFF
##BA3A871.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F89
Deuteranopia (green-blind)
#707584
Tritanopia (blue-blind)
#C7365B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3a87;
/* rgb */ color: rgb(186, 58, 135);
/* oklch */ color: oklch(55.8% 0.181 347.5);
Tailwind
colors: {
  custom: {
    50: '#d37aaa',
    500: '#ba3a87',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a87;
$custom-light: #d37aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a87",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 323.906,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55776,
    "c": 0.18093,
    "h": 347.5
  },
  "luminance": 0.15214
}

Semantic roles & 50–950 ramp

primary
#BA3A87
secondary
#88C8A1
accent
#DC854C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3A87

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

Preview Lab → · Contrast checker → · Palette generator →

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