#BA3B81#BA3B81

#BA3B81 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.6% C 0.176 H 350.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA3B81
RGBrgb(186, 59, 129)
HSLhsl(327, 52%, 48%)
HSVhsv(327, 68%, 73%)
CMYKcmyk(0%, 68.3%, 30.6%, 27.1%)
CIE-LABlab(45.85, 57.07, -11.32)
CIE-LCHlch(45.85, 58.18, 348.78°)
OKLaboklab(55.64% 0.1739 -0.0294)
OKLCHoklch(55.64% 0.176 350.4)
XYZxyz(25.7774, 15.1548, 22.3323)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B81 #3BBA74
analogous
#B33BBA #BA3B81 #BA3B41
triadic
#BA3B81 #81BA3B #3B81BA
tetradic
#BA3B81 #BAB33B #3BBA74 #3B41BA
square
#BA3B81 #BAB33B #3BBA74 #3B41BA
split-complementary
#BA3B81 #41BA3B #3BBAB3
monochromatic
#5D1E41 #8C2C61 #BA3B81 #CE649F #DD93BB

Accessibility & contrast

On white

5.21
#BA3B81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA3B81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B81
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B81#FFFFFF#000000##FFFFFF
##BA3B811.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5E83
Deuteranopia (green-blind)
#72757E
Tritanopia (blue-blind)
#C73459
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3b81;
/* rgb */ color: rgb(186, 59, 129);
/* oklch */ color: oklch(55.6% 0.176 350.4);
Tailwind
colors: {
  custom: {
    50: '#d37aa5',
    500: '#ba3b81',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b81;
$custom-light: #d37aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b81",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 129
  },
  "hsl": {
    "h": 326.929,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5564,
    "c": 0.17642,
    "h": 350.4
  },
  "luminance": 0.15152
}

Semantic roles & 50–950 ramp

primary
#BA3B81
secondary
#89C8A5
accent
#DB8D4D
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3B81

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

Preview Lab → · Contrast checker → · Palette generator →

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