#BA3772#BA3772

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

Color values

HEX#BA3772
RGBrgb(186, 55, 114)
HSLhsl(333, 54%, 47%)
HSVhsv(333, 70%, 73%)
CMYKcmyk(0%, 70.4%, 38.7%, 27.1%)
CIE-LABlab(44.79, 56.87, -3.72)
CIE-LCHlch(44.79, 56.99, 356.26°)
OKLaboklab(54.69% 0.1743 -0.0091)
OKLCHoklch(54.69% 0.175 357)
XYZxyz(24.6548, 14.3894, 17.3954)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3772 #37BA7F
analogous
#BA37B4 #BA3772 #BA3D37
triadic
#BA3772 #72BA37 #3772BA
tetradic
#BA3772 #B4BA37 #37BA7F #3D37BA
square
#BA3772 #B4BA37 #37BA7F #3D37BA
split-complementary
#BA3772 #37BA3D #37B4BA
monochromatic
#5C1B38 #8B2955 #BA3772 #D05F91 #DE8EB2

Accessibility & contrast

On white

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

On black

3.88
#BA3772 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3772#FFFFFF#000000##FFFFFF
##BA37721.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A74
Deuteranopia (green-blind)
#74736F
Tritanopia (blue-blind)
#C92950
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3772;
/* rgb */ color: rgb(186, 55, 114);
/* oklch */ color: oklch(54.7% 0.175 357.0);
Tailwind
colors: {
  custom: {
    50: '#d3789a',
    500: '#ba3772',
    950: '#000000',
  },
}
SCSS
$custom: #ba3772;
$custom-light: #d3789a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3772",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 114
  },
  "hsl": {
    "h": 332.977,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54693,
    "c": 0.17457,
    "h": 357
  },
  "luminance": 0.14386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3772

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

Preview Lab → · Contrast checker → · Palette generator →

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