#BA3776#BA3776

#BA3776 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.8% C 0.176 H 355.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BA3776
RGBrgb(186, 55, 118)
HSLhsl(331, 54%, 47%)
HSVhsv(331, 70%, 73%)
CMYKcmyk(0%, 70.4%, 36.6%, 27.1%)
CIE-LABlab(44.92, 57.30, -5.98)
CIE-LCHlch(44.92, 57.62, 354.04°)
OKLaboklab(54.83% 0.1756 -0.0151)
OKLCHoklch(54.83% 0.176 355.1)
XYZxyz(24.8874, 14.4824, 18.6208)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3776 #37BA7B
analogous
#BA37B8 #BA3776 #BA3937
triadic
#BA3776 #76BA37 #3776BA
tetradic
#BA3776 #B8BA37 #37BA7B #3937BA
square
#BA3776 #B8BA37 #37BA7B #3937BA
split-complementary
#BA3776 #37BA39 #37B8BA
monochromatic
#5C1B3A #8B2958 #BA3776 #D05F95 #DE8EB4

Accessibility & contrast

On white

5.39
#BA3776 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BA3776 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3776
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3776#FFFFFF#000000##FFFFFF
##BA37761.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5B78
Deuteranopia (green-blind)
#737373
Tritanopia (blue-blind)
#C92B52
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3776;
/* rgb */ color: rgb(186, 55, 118);
/* oklch */ color: oklch(54.8% 0.176 355.1);
Tailwind
colors: {
  custom: {
    50: '#d3789d',
    500: '#ba3776',
    950: '#000000',
  },
}
SCSS
$custom: #ba3776;
$custom-light: #d3789d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3776",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 118
  },
  "hsl": {
    "h": 331.145,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54832,
    "c": 0.17621,
    "h": 355.1
  },
  "luminance": 0.14479
}

Semantic roles & 50–950 ramp

primary
#BA3776
secondary
#85C8A8
accent
#DE974A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3776

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

Preview Lab → · Contrast checker → · Palette generator →

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