#BA3B8D#BA3B8D

#BA3B8D is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.1% C 0.183 H 344.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BA3B8D
RGBrgb(186, 59, 141)
HSLhsl(321, 52%, 48%)
HSVhsv(321, 68%, 73%)
CMYKcmyk(0%, 68.3%, 24.2%, 27.1%)
CIE-LABlab(46.30, 58.60, -17.90)
CIE-LCHlch(46.30, 61.27, 343.02°)
OKLaboklab(56.12% 0.1769 -0.0476)
OKLCHoklch(56.12% 0.183 344.9)
XYZxyz(26.6224, 15.4928, 26.7825)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B8D #3BBA68
analogous
#A73BBA #BA3B8D #BA3B4D
triadic
#BA3B8D #8DBA3B #3B8DBA
tetradic
#BA3B8D #BAA73B #3BBA68 #3B4DBA
square
#BA3B8D #BAA73B #3BBA68 #3B4DBA
split-complementary
#BA3B8D #4DBA3B #3BBAA7
monochromatic
#5D1E47 #8C2C6A #BA3B8D #CE64A8 #DD93C2

Accessibility & contrast

On white

5.12
#BA3B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BA3B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B8D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B8D#FFFFFF#000000##FFFFFF
##BA3B8D1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49608F
Deuteranopia (green-blind)
#6E768A
Tritanopia (blue-blind)
#C6395F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3b8d;
/* rgb */ color: rgb(186, 59, 141);
/* oklch */ color: oklch(56.1% 0.183 344.9);
Tailwind
colors: {
  custom: {
    50: '#d27bae',
    500: '#ba3b8d',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b8d;
$custom-light: #d27bae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b8d",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 321.26,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56124,
    "c": 0.18313,
    "h": 344.9
  },
  "luminance": 0.1549
}

Semantic roles & 50–950 ramp

primary
#BA3B8D
secondary
#89C89F
accent
#DB7F4D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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