#BA3F86#BA3F86

#BA3F86 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.3% C 0.174 H 348.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BA3F86
RGBrgb(186, 63, 134)
HSLhsl(325, 49%, 49%)
HSVhsv(325, 66%, 73%)
CMYKcmyk(0%, 66.1%, 28%, 27.1%)
CIE-LABlab(46.60, 56.11, -13.21)
CIE-LCHlch(46.60, 57.64, 346.75°)
OKLaboklab(56.26% 0.1703 -0.0346)
OKLCHoklch(56.26% 0.174 348.5)
XYZxyz(26.3314, 15.7181, 24.1968)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F86 #3FBA73
analogous
#B13FBA #BA3F86 #BA3F48
triadic
#BA3F86 #86BA3F #3F86BA
tetradic
#BA3F86 #BAB13F #3FBA73 #3F48BA
square
#BA3F86 #BAB13F #3FBA73 #3F48BA
split-complementary
#BA3F86 #48BA3F #3FBAB1
monochromatic
#5F2044 #8C3065 #BA3F86 #CC6AA3 #DC97BF

Accessibility & contrast

On white

5.07
#BA3F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BA3F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F86
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F86#FFFFFF#000000##FFFFFF
##BA3F861.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6188
Deuteranopia (green-blind)
#727683
Tritanopia (blue-blind)
#C73A5D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3f86;
/* rgb */ color: rgb(186, 63, 134);
/* oklch */ color: oklch(56.3% 0.174 348.5);
Tailwind
colors: {
  custom: {
    50: '#d27ca9',
    500: '#ba3f86',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f86;
$custom-light: #d27ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f86",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 134
  },
  "hsl": {
    "h": 325.366,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56257,
    "c": 0.17381,
    "h": 348.5
  },
  "luminance": 0.15715
}

Semantic roles & 50–950 ramp

primary
#BA3F86
secondary
#8DC8A6
accent
#D9894F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3F86

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

Preview Lab → · Contrast checker → · Palette generator →

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