#BA3B92#BA3B92

#BA3B92 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.3% C 0.186 H 342.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BA3B92
RGBrgb(186, 59, 146)
HSLhsl(319, 52%, 48%)
HSVhsv(319, 68%, 73%)
CMYKcmyk(0%, 68.3%, 21.5%, 27.1%)
CIE-LABlab(46.51, 59.28, -20.59)
CIE-LCHlch(46.51, 62.75, 340.84°)
OKLaboklab(56.34% 0.1779 -0.0551)
OKLCHoklch(56.34% 0.186 342.8)
XYZxyz(27.0028, 15.6450, 28.7862)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B92 #3BBA63
analogous
#A33BBA #BA3B92 #BA3B52
triadic
#BA3B92 #92BA3B #3B92BA
tetradic
#BA3B92 #BAA33B #3BBA63 #3B52BA
square
#BA3B92 #BAA33B #3BBA63 #3B52BA
split-complementary
#BA3B92 #52BA3B #3BBAA3
monochromatic
#5D1E49 #8C2C6E #BA3B92 #CE64AD #DD93C5

Accessibility & contrast

On white

5.09
#BA3B92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BA3B92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B92
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B92#FFFFFF#000000##FFFFFF
##BA3B921.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466195
Deuteranopia (green-blind)
#6D768F
Tritanopia (blue-blind)
#C63C61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3b92;
/* rgb */ color: rgb(186, 59, 146);
/* oklch */ color: oklch(56.3% 0.186 342.8);
Tailwind
colors: {
  custom: {
    50: '#d27bb2',
    500: '#ba3b92',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b92;
$custom-light: #d27bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b92",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 146
  },
  "hsl": {
    "h": 318.898,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.18623,
    "h": 342.8
  },
  "luminance": 0.15642
}

Semantic roles & 50–950 ramp

primary
#BA3B92
secondary
#89C89D
accent
#DB794D
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3B92

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

Preview Lab → · Contrast checker → · Palette generator →

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