#BA3A92#BA3A92

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

Color values

HEX#BA3A92
RGBrgb(186, 58, 146)
HSLhsl(319, 52%, 48%)
HSVhsv(319, 69%, 73%)
CMYKcmyk(0%, 68.8%, 21.5%, 27.1%)
CIE-LABlab(46.37, 59.66, -20.80)
CIE-LCHlch(46.37, 63.18, 340.77°)
OKLaboklab(56.24% 0.179 -0.0557)
OKLCHoklch(56.24% 0.188 342.7)
XYZxyz(26.9519, 15.5432, 28.7693)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A92 #3ABA62
analogous
#A23ABA #BA3A92 #BA3A52
triadic
#BA3A92 #92BA3A #3A92BA
tetradic
#BA3A92 #BAA23A #3ABA62 #3A52BA
square
#BA3A92 #BAA23A #3ABA62 #3A52BA
split-complementary
#BA3A92 #52BA3A #3ABAA2
monochromatic
#5D1D49 #8B2B6D #BA3A92 #CE63AD #DD92C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3A92#FFFFFF#000000##FFFFFF
##BA3A921.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)
#466095
Deuteranopia (green-blind)
#6C768F
Tritanopia (blue-blind)
#C63B61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3a92;
/* rgb */ color: rgb(186, 58, 146);
/* oklch */ color: oklch(56.2% 0.188 342.7);
Tailwind
colors: {
  custom: {
    50: '#d27ab2',
    500: '#ba3a92',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a92;
$custom-light: #d27ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a92",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 318.75,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5624,
    "c": 0.18751,
    "h": 342.7
  },
  "luminance": 0.15541
}

Semantic roles & 50–950 ramp

primary
#BA3A92
secondary
#88C89C
accent
#DC794C
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3A92

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

Preview Lab → · Contrast checker → · Palette generator →

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