#BA3F81#BA3F81

#BA3F81 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.1% C 0.171 H 350.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BA3F81
RGBrgb(186, 63, 129)
HSLhsl(328, 49%, 49%)
HSVhsv(328, 66%, 73%)
CMYKcmyk(0%, 66.1%, 30.6%, 27.1%)
CIE-LABlab(46.42, 55.48, -10.45)
CIE-LCHlch(46.42, 56.46, 349.33°)
OKLaboklab(56.06% 0.169 -0.0271)
OKLCHoklch(56.06% 0.171 350.9)
XYZxyz(25.9909, 15.5819, 22.4035)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F81 #3FBA78
analogous
#B63FBA #BA3F81 #BA3F43
triadic
#BA3F81 #81BA3F #3F81BA
tetradic
#BA3F81 #BAB63F #3FBA78 #3F43BA
square
#BA3F81 #BAB63F #3FBA78 #3F43BA
split-complementary
#BA3F81 #43BA3F #3FBAB6
monochromatic
#5F2042 #8C3061 #BA3F81 #CC6A9F #DC97BC

Accessibility & contrast

On white

5.10
#BA3F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BA3F81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F81
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F81#FFFFFF#000000##FFFFFF
##BA3F811.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516083
Deuteranopia (green-blind)
#74767E
Tritanopia (blue-blind)
#C7385A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3f81;
/* rgb */ color: rgb(186, 63, 129);
/* oklch */ color: oklch(56.1% 0.171 350.9);
Tailwind
colors: {
  custom: {
    50: '#d37ca5',
    500: '#ba3f81',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f81;
$custom-light: #d37ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f81",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 129
  },
  "hsl": {
    "h": 327.805,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56064,
    "c": 0.17114,
    "h": 350.9
  },
  "luminance": 0.15579
}

Semantic roles & 50–950 ramp

primary
#BA3F81
secondary
#8DC8A8
accent
#D98F4F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3F81

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

Preview Lab → · Contrast checker → · Palette generator →

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