#BA3876#BA3876

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

Color values

HEX#BA3876
RGBrgb(186, 56, 118)
HSLhsl(331, 54%, 47%)
HSVhsv(331, 70%, 73%)
CMYKcmyk(0%, 69.9%, 36.6%, 27.1%)
CIE-LABlab(45.05, 56.93, -5.78)
CIE-LCHlch(45.05, 57.22, 354.20°)
OKLaboklab(54.93% 0.1744 -0.0145)
OKLCHoklch(54.93% 0.175 355.2)
XYZxyz(24.9354, 14.5784, 18.6368)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3876 #38BA7C
analogous
#BA38B7 #BA3876 #BA3B38
triadic
#BA3876 #76BA38 #3876BA
tetradic
#BA3876 #B7BA38 #38BA7C #3B38BA
square
#BA3876 #B7BA38 #38BA7C #3B38BA
split-complementary
#BA3876 #38BA3B #38B7BA
monochromatic
#5C1C3A #8B2A58 #BA3876 #CF6095 #DD8FB4

Accessibility & contrast

On white

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

On black

3.91
#BA3876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3876#FFFFFF#000000##FFFFFF
##BA38761.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505B78
Deuteranopia (green-blind)
#747373
Tritanopia (blue-blind)
#C92C52
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3876;
/* rgb */ color: rgb(186, 56, 118);
/* oklch */ color: oklch(54.9% 0.175 355.2);
Tailwind
colors: {
  custom: {
    50: '#d3789d',
    500: '#ba3876',
    950: '#000000',
  },
}
SCSS
$custom: #ba3876;
$custom-light: #d3789d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3876",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 118
  },
  "hsl": {
    "h": 331.385,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54931,
    "c": 0.17499,
    "h": 355.2
  },
  "luminance": 0.14575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3876

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

Preview Lab → · Contrast checker → · Palette generator →

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