#BA3A89#BA3A89

#BA3A89 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.9% C 0.182 H 346.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BA3A89
RGBrgb(186, 58, 137)
HSLhsl(323, 52%, 48%)
HSVhsv(323, 69%, 73%)
CMYKcmyk(0%, 68.8%, 26.3%, 27.1%)
CIE-LABlab(46.01, 58.46, -15.93)
CIE-LCHlch(46.01, 60.59, 344.76°)
OKLaboklab(55.86% 0.1771 -0.0421)
OKLCHoklch(55.86% 0.182 346.6)
XYZxyz(26.2792, 15.2741, 25.2263)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A89 #3ABA6B
analogous
#AB3ABA #BA3A89 #BA3A49
triadic
#BA3A89 #89BA3A #3A89BA
tetradic
#BA3A89 #BAAB3A #3ABA6B #3A49BA
square
#BA3A89 #BAAB3A #3ABA6B #3A49BA
split-complementary
#BA3A89 #49BA3A #3ABAAB
monochromatic
#5D1D44 #8B2B67 #BA3A89 #CE63A5 #DD92C0

Accessibility & contrast

On white

5.18
#BA3A89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BA3A89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A89
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A89#FFFFFF#000000##FFFFFF
##BA3A891.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8B
Deuteranopia (green-blind)
#6F7586
Tritanopia (blue-blind)
#C7375C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3a89;
/* rgb */ color: rgb(186, 58, 137);
/* oklch */ color: oklch(55.9% 0.182 346.6);
Tailwind
colors: {
  custom: {
    50: '#d37aab',
    500: '#ba3a89',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a89;
$custom-light: #d37aab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a89",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 322.969,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55857,
    "c": 0.18206,
    "h": 346.6
  },
  "luminance": 0.15271
}

Semantic roles & 50–950 ramp

primary
#BA3A89
secondary
#88C8A0
accent
#DC834C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3A89

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

Preview Lab → · Contrast checker → · Palette generator →

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