#BA3F82#BA3F82

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

Color values

HEX#BA3F82
RGBrgb(186, 63, 130)
HSLhsl(327, 49%, 49%)
HSVhsv(327, 66%, 73%)
CMYKcmyk(0%, 66.1%, 30.1%, 27.1%)
CIE-LABlab(46.46, 55.60, -11.00)
CIE-LCHlch(46.46, 56.68, 348.81°)
OKLaboklab(56.1% 0.1693 -0.0286)
OKLCHoklch(56.1% 0.172 350.4)
XYZxyz(26.0577, 15.6086, 22.7552)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F82 #3FBA77
analogous
#B53FBA #BA3F82 #BA3F45
triadic
#BA3F82 #82BA3F #3F82BA
tetradic
#BA3F82 #BAB53F #3FBA77 #3F45BA
square
#BA3F82 #BAB53F #3FBA77 #3F45BA
split-complementary
#BA3F82 #45BA3F #3FBAB5
monochromatic
#5F2042 #8C3062 #BA3F82 #CC6AA0 #DC97BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3F82#FFFFFF#000000##FFFFFF
##BA3F821.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)
#516084
Deuteranopia (green-blind)
#73767F
Tritanopia (blue-blind)
#C7395B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3f82;
/* rgb */ color: rgb(186, 63, 130);
/* oklch */ color: oklch(56.1% 0.172 350.4);
Tailwind
colors: {
  custom: {
    50: '#d37ca6',
    500: '#ba3f82',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f82;
$custom-light: #d37ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f82",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 130
  },
  "hsl": {
    "h": 327.317,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56102,
    "c": 0.17166,
    "h": 350.4
  },
  "luminance": 0.15606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3F82

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

Preview Lab → · Contrast checker → · Palette generator →

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