#BA3D91#BA3D91

#BA3D91 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.5% C 0.183 H 343.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BA3D91
RGBrgb(186, 61, 145)
HSLhsl(320, 51%, 48%)
HSVhsv(320, 67%, 73%)
CMYKcmyk(0%, 67.2%, 22%, 27.1%)
CIE-LABlab(46.74, 58.37, -19.63)
CIE-LCHlch(46.74, 61.58, 341.41°)
OKLaboklab(56.5% 0.1753 -0.0524)
OKLCHoklch(56.5% 0.183 343.4)
XYZxyz(27.0302, 15.8236, 28.4133)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D91 #3DBA66
analogous
#A43DBA #BA3D91 #BA3D52
triadic
#BA3D91 #91BA3D #3D91BA
tetradic
#BA3D91 #BAA43D #3DBA66 #3D52BA
square
#BA3D91 #BAA43D #3DBA66 #3D52BA
split-complementary
#BA3D91 #52BA3D #3DBAA4
monochromatic
#5E1F49 #8C2E6D #BA3D91 #CD67AC #DC95C5

Accessibility & contrast

On white

5.04
#BA3D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BA3D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D91
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D91#FFFFFF#000000##FFFFFF
##BA3D911.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496293
Deuteranopia (green-blind)
#6E768E
Tritanopia (blue-blind)
#C63D61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3d91;
/* rgb */ color: rgb(186, 61, 145);
/* oklch */ color: oklch(56.5% 0.183 343.4);
Tailwind
colors: {
  custom: {
    50: '#d27cb1',
    500: '#ba3d91',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d91;
$custom-light: #d27cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d91",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 145
  },
  "hsl": {
    "h": 319.68,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56499,
    "c": 0.183,
    "h": 343.4
  },
  "luminance": 0.15821
}

Semantic roles & 50–950 ramp

primary
#BA3D91
secondary
#8BC89F
accent
#DA7C4E
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3D91

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

Preview Lab → · Contrast checker → · Palette generator →

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