#BA3786#BA3786

#BA3786 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.4% C 0.184 H 347.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BA3786
RGBrgb(186, 55, 134)
HSLhsl(324, 54%, 47%)
HSVhsv(324, 70%, 73%)
CMYKcmyk(0%, 70.4%, 28%, 27.1%)
CIE-LABlab(45.49, 59.20, -14.89)
CIE-LCHlch(45.49, 61.04, 345.88°)
OKLaboklab(55.44% 0.1799 -0.0392)
OKLCHoklch(55.44% 0.184 347.7)
XYZxyz(25.9202, 14.8955, 24.0597)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3786 #37BA6B
analogous
#AD37BA #BA3786 #BA3744
triadic
#BA3786 #86BA37 #3786BA
tetradic
#BA3786 #BAAD37 #37BA6B #3744BA
square
#BA3786 #BAAD37 #37BA6B #3744BA
split-complementary
#BA3786 #44BA37 #37BAAD
monochromatic
#5C1B42 #8B2964 #BA3786 #D05FA3 #DE8EBE

Accessibility & contrast

On white

5.28
#BA3786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BA3786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3786
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3786#FFFFFF#000000##FFFFFF
##BA37861.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495D88
Deuteranopia (green-blind)
#6F7483
Tritanopia (blue-blind)
#C7325A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3786;
/* rgb */ color: rgb(186, 55, 134);
/* oklch */ color: oklch(55.4% 0.184 347.7);
Tailwind
colors: {
  custom: {
    50: '#d378a9',
    500: '#ba3786',
    950: '#000000',
  },
}
SCSS
$custom: #ba3786;
$custom-light: #d378a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3786",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 323.817,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55441,
    "c": 0.18412,
    "h": 347.7
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

primary
#BA3786
secondary
#85C89F
accent
#DE854A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3786

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

Preview Lab → · Contrast checker → · Palette generator →

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