#BA3F83#BA3F83

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

Color values

HEX#BA3F83
RGBrgb(186, 63, 131)
HSLhsl(327, 49%, 49%)
HSVhsv(327, 66%, 73%)
CMYKcmyk(0%, 66.1%, 29.6%, 27.1%)
CIE-LABlab(46.49, 55.73, -11.56)
CIE-LCHlch(46.49, 56.92, 348.29°)
OKLaboklab(56.14% 0.1695 -0.0301)
OKLCHoklch(56.14% 0.172 349.9)
XYZxyz(26.1252, 15.6356, 23.1105)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F83 #3FBA76
analogous
#B43FBA #BA3F83 #BA3F46
triadic
#BA3F83 #83BA3F #3F83BA
tetradic
#BA3F83 #BAB43F #3FBA76 #3F46BA
square
#BA3F83 #BAB43F #3FBA76 #3F46BA
split-complementary
#BA3F83 #46BA3F #3FBAB4
monochromatic
#5F2043 #8C3063 #BA3F83 #CC6AA0 #DC97BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3F83#FFFFFF#000000##FFFFFF
##BA3F831.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)
#506085
Deuteranopia (green-blind)
#737680
Tritanopia (blue-blind)
#C7395B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3f83;
/* rgb */ color: rgb(186, 63, 131);
/* oklch */ color: oklch(56.1% 0.172 349.9);
Tailwind
colors: {
  custom: {
    50: '#d37ca7',
    500: '#ba3f83',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f83;
$custom-light: #d37ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f83",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 131
  },
  "hsl": {
    "h": 326.829,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5614,
    "c": 0.17219,
    "h": 349.9
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#BA3F83
secondary
#8DC8A7
accent
#D98D4F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3F83

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

Preview Lab → · Contrast checker → · Palette generator →

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