#BA3777#BA3777

#BA3777 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.177 H 354.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA3777
RGBrgb(186, 55, 119)
HSLhsl(331, 54%, 47%)
HSVhsv(331, 70%, 73%)
CMYKcmyk(0%, 70.4%, 36%, 27.1%)
CIE-LABlab(44.95, 57.42, -6.55)
CIE-LCHlch(44.95, 57.79, 353.49°)
OKLaboklab(54.87% 0.1759 -0.0166)
OKLCHoklch(54.87% 0.177 354.6)
XYZxyz(24.9472, 14.5063, 18.9354)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3777 #37BA7A
analogous
#BA37B9 #BA3777 #BA3837
triadic
#BA3777 #77BA37 #3777BA
tetradic
#BA3777 #B9BA37 #37BA7A #3837BA
square
#BA3777 #B9BA37 #37BA7A #3837BA
split-complementary
#BA3777 #37BA38 #37B9BA
monochromatic
#5C1B3B #8B2959 #BA3777 #D05F96 #DE8EB5

Accessibility & contrast

On white

5.38
#BA3777 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3777
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3777#FFFFFF#000000##FFFFFF
##BA37771.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5B79
Deuteranopia (green-blind)
#737374
Tritanopia (blue-blind)
#C82B52
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3777;
/* rgb */ color: rgb(186, 55, 119);
/* oklch */ color: oklch(54.9% 0.177 354.6);
Tailwind
colors: {
  custom: {
    50: '#d3789e',
    500: '#ba3777',
    950: '#000000',
  },
}
SCSS
$custom: #ba3777;
$custom-light: #d3789e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3777",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 119
  },
  "hsl": {
    "h": 330.687,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.17665,
    "h": 354.6
  },
  "luminance": 0.14503
}

Semantic roles & 50–950 ramp

primary
#BA3777
secondary
#85C8A7
accent
#DE964A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3777

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

Preview Lab → · Contrast checker → · Palette generator →

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