#BA3A77#BA3A77

#BA3A77 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.2% C 0.173 H 355.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BA3A77
RGBrgb(186, 58, 119)
HSLhsl(331, 52%, 48%)
HSVhsv(331, 69%, 73%)
CMYKcmyk(0%, 68.8%, 36%, 27.1%)
CIE-LABlab(45.36, 56.28, -5.94)
CIE-LCHlch(45.36, 56.59, 353.98°)
OKLaboklab(55.17% 0.1723 -0.0149)
OKLCHoklch(55.17% 0.173 355)
XYZxyz(25.0940, 14.8000, 18.9844)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A77 #3ABA7D
analogous
#BA3AB7 #BA3A77 #BA3D3A
triadic
#BA3A77 #77BA3A #3A77BA
tetradic
#BA3A77 #B7BA3A #3ABA7D #3D3ABA
square
#BA3A77 #B7BA3A #3ABA7D #3D3ABA
split-complementary
#BA3A77 #3ABA3D #3AB7BA
monochromatic
#5D1D3B #8B2B59 #BA3A77 #CE6396 #DD92B5

Accessibility & contrast

On white

5.30
#BA3A77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#BA3A77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A77
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A77#FFFFFF#000000##FFFFFF
##BA3A771.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3a77;
/* rgb */ color: rgb(186, 58, 119);
/* oklch */ color: oklch(55.2% 0.173 355.0);
Tailwind
colors: {
  custom: {
    50: '#d3799e',
    500: '#ba3a77',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a77;
$custom-light: #d3799e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a77",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 119
  },
  "hsl": {
    "h": 331.406,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55169,
    "c": 0.17294,
    "h": 355
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#BA3A77
secondary
#88C8A9
accent
#DC974C
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3A77

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

Preview Lab → · Contrast checker → · Palette generator →

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