#BA3771#BA3771

#BA3771 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.7% C 0.174 H 357.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BA3771
RGBrgb(186, 55, 113)
HSLhsl(333, 54%, 47%)
HSVhsv(333, 70%, 73%)
CMYKcmyk(0%, 70.4%, 39.2%, 27.1%)
CIE-LABlab(44.75, 56.76, -3.15)
CIE-LCHlch(44.75, 56.85, 356.82°)
OKLaboklab(54.66% 0.174 -0.0076)
OKLCHoklch(54.66% 0.174 357.5)
XYZxyz(24.5982, 14.3667, 17.0973)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3771 #37BA80
analogous
#BA37B3 #BA3771 #BA3E37
triadic
#BA3771 #71BA37 #3771BA
tetradic
#BA3771 #B3BA37 #37BA80 #3E37BA
square
#BA3771 #B3BA37 #37BA80 #3E37BA
split-complementary
#BA3771 #37BA3E #37B3BA
monochromatic
#5C1B38 #8B2954 #BA3771 #D05F91 #DE8EB1

Accessibility & contrast

On white

5.42
#BA3771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA3771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3771
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3771#FFFFFF#000000##FFFFFF
##BA37711.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A73
Deuteranopia (green-blind)
#74736E
Tritanopia (blue-blind)
#C9284F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3771;
/* rgb */ color: rgb(186, 55, 113);
/* oklch */ color: oklch(54.7% 0.174 357.5);
Tailwind
colors: {
  custom: {
    50: '#d37899',
    500: '#ba3771',
    950: '#000000',
  },
}
SCSS
$custom: #ba3771;
$custom-light: #d37899;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3771",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 333.435,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54659,
    "c": 0.17417,
    "h": 357.5
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#BA3771
secondary
#85C8AA
accent
#DE9C4A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3771

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

Preview Lab → · Contrast checker → · Palette generator →

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