#BA3B86#BA3B86

#BA3B86 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.8% C 0.179 H 348.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BA3B86
RGBrgb(186, 59, 134)
HSLhsl(325, 52%, 48%)
HSVhsv(325, 68%, 73%)
CMYKcmyk(0%, 68.3%, 28%, 27.1%)
CIE-LABlab(46.03, 57.69, -14.07)
CIE-LCHlch(46.03, 59.39, 346.29°)
OKLaboklab(55.84% 0.1752 -0.037)
OKLCHoklch(55.84% 0.179 348.1)
XYZxyz(26.1179, 15.2910, 24.1256)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B86 #3BBA6F
analogous
#AE3BBA #BA3B86 #BA3B46
triadic
#BA3B86 #86BA3B #3B86BA
tetradic
#BA3B86 #BAAE3B #3BBA6F #3B46BA
square
#BA3B86 #BAAE3B #3BBA6F #3B46BA
split-complementary
#BA3B86 #46BA3B #3BBAAE
monochromatic
#5D1E43 #8C2C65 #BA3B86 #CE64A3 #DD93BE

Accessibility & contrast

On white

5.18
#BA3B86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA3B86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B86
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B86#FFFFFF#000000##FFFFFF
##BA3B861.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F88
Deuteranopia (green-blind)
#717583
Tritanopia (blue-blind)
#C7365B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3b86;
/* rgb */ color: rgb(186, 59, 134);
/* oklch */ color: oklch(55.8% 0.179 348.1);
Tailwind
colors: {
  custom: {
    50: '#d37aa9',
    500: '#ba3b86',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b86;
$custom-light: #d37aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b86",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 134
  },
  "hsl": {
    "h": 324.567,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55836,
    "c": 0.17908,
    "h": 348.1
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

primary
#BA3B86
secondary
#89C8A3
accent
#DB874D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3B86

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

Preview Lab → · Contrast checker → · Palette generator →

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