#BA3977#BA3977

#BA3977 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.1% C 0.174 H 354.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BA3977
RGBrgb(186, 57, 119)
HSLhsl(331, 53%, 48%)
HSVhsv(331, 69%, 73%)
CMYKcmyk(0%, 69.4%, 36%, 27.1%)
CIE-LABlab(45.22, 56.66, -6.15)
CIE-LCHlch(45.22, 57.00, 353.81°)
OKLaboklab(55.07% 0.1735 -0.0155)
OKLCHoklch(55.07% 0.174 354.9)
XYZxyz(25.0441, 14.7002, 18.9677)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3977 #39BA7C
analogous
#BA39B7 #BA3977 #BA3C39
triadic
#BA3977 #77BA39 #3977BA
tetradic
#BA3977 #B7BA39 #39BA7C #3C39BA
square
#BA3977 #B7BA39 #39BA7C #3C39BA
split-complementary
#BA3977 #39BA3C #39B7BA
monochromatic
#5C1C3B #8B2B59 #BA3977 #CF6196 #DD90B5

Accessibility & contrast

On white

5.33
#BA3977 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BA3977 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3977
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3977#FFFFFF#000000##FFFFFF
##BA39771.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505C79
Deuteranopia (green-blind)
#747474
Tritanopia (blue-blind)
#C82E53
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3977;
/* rgb */ color: rgb(186, 57, 119);
/* oklch */ color: oklch(55.1% 0.174 354.9);
Tailwind
colors: {
  custom: {
    50: '#d3799e',
    500: '#ba3977',
    950: '#000000',
  },
}
SCSS
$custom: #ba3977;
$custom-light: #d3799e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3977",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 119
  },
  "hsl": {
    "h": 331.163,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55067,
    "c": 0.17419,
    "h": 354.9
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#BA3977
secondary
#87C8A9
accent
#DC974B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3977

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

Preview Lab → · Contrast checker → · Palette generator →

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