#BA3784#BA3784

#BA3784 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.4% C 0.183 H 348.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BA3784
RGBrgb(186, 55, 132)
HSLhsl(325, 54%, 47%)
HSVhsv(325, 70%, 73%)
CMYKcmyk(0%, 70.4%, 29%, 27.1%)
CIE-LABlab(45.41, 58.95, -13.79)
CIE-LCHlch(45.41, 60.54, 346.83°)
OKLaboklab(55.36% 0.1794 -0.0362)
OKLCHoklch(55.36% 0.183 348.6)
XYZxyz(25.7820, 14.8402, 23.3320)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3784 #37BA6D
analogous
#AF37BA #BA3784 #BA3742
triadic
#BA3784 #84BA37 #3784BA
tetradic
#BA3784 #BAAF37 #37BA6D #3742BA
square
#BA3784 #BAAF37 #37BA6D #3742BA
split-complementary
#BA3784 #42BA37 #37BAAF
monochromatic
#5C1B41 #8B2962 #BA3784 #D05FA1 #DE8EBD

Accessibility & contrast

On white

5.29
#BA3784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BA3784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3784
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3784#FFFFFF#000000##FFFFFF
##BA37841.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5D86
Deuteranopia (green-blind)
#707481
Tritanopia (blue-blind)
#C73159
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3784;
/* rgb */ color: rgb(186, 55, 132);
/* oklch */ color: oklch(55.4% 0.183 348.6);
Tailwind
colors: {
  custom: {
    50: '#d378a7',
    500: '#ba3784',
    950: '#000000',
  },
}
SCSS
$custom: #ba3784;
$custom-light: #d378a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3784",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 132
  },
  "hsl": {
    "h": 324.733,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55361,
    "c": 0.18303,
    "h": 348.6
  },
  "luminance": 0.14837
}

Semantic roles & 50–950 ramp

primary
#BA3784
secondary
#85C8A0
accent
#DE874A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3784

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

Preview Lab → · Contrast checker → · Palette generator →

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