#BA3177#BA3177

#BA3177 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.184 H 353.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BA3177
RGBrgb(186, 49, 119)
HSLhsl(329, 58%, 46%)
HSVhsv(329, 74%, 73%)
CMYKcmyk(0%, 73.7%, 36%, 27.1%)
CIE-LABlab(44.19, 59.54, -7.68)
CIE-LCHlch(44.19, 60.03, 352.65°)
OKLaboklab(54.31% 0.1826 -0.0196)
OKLCHoklch(54.31% 0.184 353.9)
XYZxyz(24.6793, 13.9706, 18.8461)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3177 #31BA74
analogous
#B831BA #BA3177 #BA3132
triadic
#BA3177 #77BA31 #3177BA
tetradic
#BA3177 #BAB831 #31BA74 #3132BA
square
#BA3177 #BAB831 #31BA74 #3132BA
split-complementary
#BA3177 #32BA31 #31BAB8
monochromatic
#591739 #8A2458 #BA3177 #D25695 #DF86B4

Accessibility & contrast

On white

5.54
#BA3177 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BA3177 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3177
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3177#FFFFFF#000000##FFFFFF
##BA31771.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5879
Deuteranopia (green-blind)
#717274
Tritanopia (blue-blind)
#C92450
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3177;
/* rgb */ color: rgb(186, 49, 119);
/* oklch */ color: oklch(54.3% 0.184 353.9);
Tailwind
colors: {
  custom: {
    50: '#d3759e',
    500: '#ba3177',
    950: '#000000',
  },
}
SCSS
$custom: #ba3177;
$custom-light: #d3759e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3177",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 119
  },
  "hsl": {
    "h": 329.343,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5431,
    "c": 0.18363,
    "h": 353.9
  },
  "luminance": 0.13968
}

Semantic roles & 50–950 ramp

primary
#BA3177
secondary
#7EC9A3
accent
#E29246
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3177

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

Preview Lab → · Contrast checker → · Palette generator →

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