#BA3E86#BA3E86

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

Color values

HEX#BA3E86
RGBrgb(186, 62, 134)
HSLhsl(325, 50%, 49%)
HSVhsv(325, 67%, 73%)
CMYKcmyk(0%, 66.7%, 28%, 27.1%)
CIE-LABlab(46.46, 56.51, -13.43)
CIE-LCHlch(46.46, 58.09, 346.63°)
OKLaboklab(56.15% 0.1716 -0.0352)
OKLCHoklch(56.15% 0.175 348.4)
XYZxyz(26.2766, 15.6083, 24.1785)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3E86 #3EBA72
analogous
#B03EBA #BA3E86 #BA3E48
triadic
#BA3E86 #86BA3E #3E86BA
tetradic
#BA3E86 #BAB03E #3EBA72 #3E48BA
square
#BA3E86 #BAB03E #3EBA72 #3E48BA
split-complementary
#BA3E86 #48BA3E #3EBAB0
monochromatic
#5E1F44 #8C2F65 #BA3E86 #CD68A3 #DC96BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3E86#FFFFFF#000000##FFFFFF
##BA3E861.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)
#4E6088
Deuteranopia (green-blind)
#727683
Tritanopia (blue-blind)
#C7395C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3e86;
/* rgb */ color: rgb(186, 62, 134);
/* oklch */ color: oklch(56.1% 0.175 348.4);
Tailwind
colors: {
  custom: {
    50: '#d37ca9',
    500: '#ba3e86',
    950: '#000000',
  },
}
SCSS
$custom: #ba3e86;
$custom-light: #d37ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3e86",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 134
  },
  "hsl": {
    "h": 325.161,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56149,
    "c": 0.17515,
    "h": 348.4
  },
  "luminance": 0.15606
}

Semantic roles & 50–950 ramp

primary
#BA3E86
secondary
#8CC8A5
accent
#DA894E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3E86

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

Preview Lab → · Contrast checker → · Palette generator →

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