#BA3877#BA3877

#BA3877 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.175 H 354.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BA3877
RGBrgb(186, 56, 119)
HSLhsl(331, 54%, 47%)
HSVhsv(331, 70%, 73%)
CMYKcmyk(0%, 69.9%, 36%, 27.1%)
CIE-LABlab(45.08, 57.04, -6.35)
CIE-LCHlch(45.08, 57.40, 353.65°)
OKLaboklab(54.97% 0.1747 -0.016)
OKLCHoklch(54.97% 0.175 354.8)
XYZxyz(24.9952, 14.6023, 18.9514)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3877 #38BA7B
analogous
#BA38B8 #BA3877 #BA3A38
triadic
#BA3877 #77BA38 #3877BA
tetradic
#BA3877 #B8BA38 #38BA7B #3A38BA
square
#BA3877 #B8BA38 #38BA7B #3A38BA
split-complementary
#BA3877 #38BA3A #38B8BA
monochromatic
#5C1C3B #8B2A59 #BA3877 #CF6096 #DD8FB5

Accessibility & contrast

On white

5.36
#BA3877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BA3877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3877
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3877#FFFFFF#000000##FFFFFF
##BA38771.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3877;
/* rgb */ color: rgb(186, 56, 119);
/* oklch */ color: oklch(55.0% 0.175 354.8);
Tailwind
colors: {
  custom: {
    50: '#d3789e',
    500: '#ba3877',
    950: '#000000',
  },
}
SCSS
$custom: #ba3877;
$custom-light: #d3789e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3877",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 119
  },
  "hsl": {
    "h": 330.923,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54967,
    "c": 0.17542,
    "h": 354.8
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#BA3877
secondary
#86C8A8
accent
#DD964B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3877

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

Preview Lab → · Contrast checker → · Palette generator →

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