#BA3176#BA3176

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

Color values

HEX#BA3176
RGBrgb(186, 49, 118)
HSLhsl(330, 58%, 46%)
HSVhsv(330, 74%, 73%)
CMYKcmyk(0%, 73.7%, 36.6%, 27.1%)
CIE-LABlab(44.16, 59.43, -7.12)
CIE-LCHlch(44.16, 59.86, 353.17°)
OKLaboklab(54.27% 0.1823 -0.018)
OKLCHoklch(54.27% 0.183 354.3)
XYZxyz(24.6196, 13.9467, 18.5315)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3176 #31BA75
analogous
#B931BA #BA3176 #BA3131
triadic
#BA3176 #76BA31 #3176BA
tetradic
#BA3176 #BAB931 #31BA75 #3131BA
square
#BA3176 #BAB931 #31BA75 #3131BA
split-complementary
#BA3176 #31BA31 #31BAB9
monochromatic
#591739 #8A2457 #BA3176 #D25695 #DF86B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3176#FFFFFF#000000##FFFFFF
##BA31761.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)
#4B5878
Deuteranopia (green-blind)
#717273
Tritanopia (blue-blind)
#C9234F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3176;
/* rgb */ color: rgb(186, 49, 118);
/* oklch */ color: oklch(54.3% 0.183 354.3);
Tailwind
colors: {
  custom: {
    50: '#d4759d',
    500: '#ba3176',
    950: '#000000',
  },
}
SCSS
$custom: #ba3176;
$custom-light: #d4759d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3176",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 329.781,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54274,
    "c": 0.18318,
    "h": 354.3
  },
  "luminance": 0.13944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3176

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

Preview Lab → · Contrast checker → · Palette generator →

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