#BA3770#BA3770

#BA3770 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.6% C 0.174 H 358.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BA3770
RGBrgb(186, 55, 112)
HSLhsl(334, 54%, 47%)
HSVhsv(334, 70%, 73%)
CMYKcmyk(0%, 70.4%, 39.8%, 27.1%)
CIE-LABlab(44.72, 56.66, -2.58)
CIE-LCHlch(44.72, 56.71, 357.39°)
OKLaboklab(54.63% 0.1737 -0.0061)
OKLCHoklch(54.63% 0.174 358)
XYZxyz(24.5422, 14.3443, 16.8024)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3770 #37BA81
analogous
#BA37B2 #BA3770 #BA3F37
triadic
#BA3770 #70BA37 #3770BA
tetradic
#BA3770 #B2BA37 #37BA81 #3F37BA
square
#BA3770 #B2BA37 #37BA81 #3F37BA
split-complementary
#BA3770 #37BA3F #37B2BA
monochromatic
#5C1B37 #8B2954 #BA3770 #D05F90 #DE8EB1

Accessibility & contrast

On white

5.43
#BA3770 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3770
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3770#FFFFFF#000000##FFFFFF
##BA37701.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A72
Deuteranopia (green-blind)
#75736D
Tritanopia (blue-blind)
#C9284F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3770;
/* rgb */ color: rgb(186, 55, 112);
/* oklch */ color: oklch(54.6% 0.174 358.0);
Tailwind
colors: {
  custom: {
    50: '#d47899',
    500: '#ba3770',
    950: '#000000',
  },
}
SCSS
$custom: #ba3770;
$custom-light: #d47899;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3770",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 112
  },
  "hsl": {
    "h": 333.893,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54626,
    "c": 0.1738,
    "h": 358
  },
  "luminance": 0.14341
}

Semantic roles & 50–950 ramp

primary
#BA3770
secondary
#85C8AB
accent
#DE9D4A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA3770

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

Preview Lab → · Contrast checker → · Palette generator →

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