#BA3976#BA3976

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

Color values

HEX#BA3976
RGBrgb(186, 57, 118)
HSLhsl(332, 53%, 48%)
HSVhsv(332, 69%, 73%)
CMYKcmyk(0%, 69.4%, 36.6%, 27.1%)
CIE-LABlab(45.19, 56.55, -5.58)
CIE-LCHlch(45.19, 56.83, 354.36°)
OKLaboklab(55.03% 0.1732 -0.014)
OKLCHoklch(55.03% 0.174 355.4)
XYZxyz(24.9844, 14.6763, 18.6531)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3976 #39BA7D
analogous
#BA39B6 #BA3976 #BA3D39
triadic
#BA3976 #76BA39 #3976BA
tetradic
#BA3976 #B6BA39 #39BA7D #3D39BA
square
#BA3976 #B6BA39 #39BA7D #3D39BA
split-complementary
#BA3976 #39BA3D #39B6BA
monochromatic
#5C1C3B #8B2B58 #BA3976 #CF6195 #DD90B5

Accessibility & contrast

On white

5.34
#BA3976 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BA3976 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3976
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3976#FFFFFF#000000##FFFFFF
##BA39761.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505C78
Deuteranopia (green-blind)
#747473
Tritanopia (blue-blind)
#C92D53
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3976;
/* rgb */ color: rgb(186, 57, 118);
/* oklch */ color: oklch(55.0% 0.174 355.4);
Tailwind
colors: {
  custom: {
    50: '#d3799d',
    500: '#ba3976',
    950: '#000000',
  },
}
SCSS
$custom: #ba3976;
$custom-light: #d3799d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3976",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 118
  },
  "hsl": {
    "h": 331.628,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55031,
    "c": 0.17375,
    "h": 355.4
  },
  "luminance": 0.14673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3976

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

Preview Lab → · Contrast checker → · Palette generator →

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