#BA3E82#BA3E82

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

Color values

HEX#BA3E82
RGBrgb(186, 62, 130)
HSLhsl(327, 50%, 49%)
HSVhsv(327, 67%, 73%)
CMYKcmyk(0%, 66.7%, 30.1%, 27.1%)
CIE-LABlab(46.31, 56.01, -11.22)
CIE-LCHlch(46.31, 57.12, 348.67°)
OKLaboklab(55.99% 0.1705 -0.0292)
OKLCHoklch(55.99% 0.173 350.3)
XYZxyz(26.0028, 15.4988, 22.7369)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E82 #3EBA76
analogous
#B43EBA #BA3E82 #BA3E44
triadic
#BA3E82 #82BA3E #3E82BA
tetradic
#BA3E82 #BAB43E #3EBA76 #3E44BA
square
#BA3E82 #BAB43E #3EBA76 #3E44BA
split-complementary
#BA3E82 #44BA3E #3EBAB4
monochromatic
#5E1F42 #8C2F62 #BA3E82 #CD689F #DC96BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3E82#FFFFFF#000000##FFFFFF
##BA3E821.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)
#506084
Deuteranopia (green-blind)
#73767F
Tritanopia (blue-blind)
#C7385B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3e82;
/* rgb */ color: rgb(186, 62, 130);
/* oklch */ color: oklch(56.0% 0.173 350.3);
Tailwind
colors: {
  custom: {
    50: '#d37ca6',
    500: '#ba3e82',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e82;
$custom-light: #d37ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e82",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 130
  },
  "hsl": {
    "h": 327.097,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55994,
    "c": 0.17301,
    "h": 350.3
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

primary
#BA3E82
secondary
#8CC8A7
accent
#DA8D4E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3E82

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

Preview Lab → · Contrast checker → · Palette generator →

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