#BA3873#BA3873

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

Color values

HEX#BA3873
RGBrgb(186, 56, 115)
HSLhsl(333, 54%, 47%)
HSVhsv(333, 70%, 73%)
CMYKcmyk(0%, 69.9%, 38.2%, 27.1%)
CIE-LABlab(44.95, 56.60, -4.09)
CIE-LCHlch(44.95, 56.75, 355.87°)
OKLaboklab(54.83% 0.1735 -0.01)
OKLCHoklch(54.83% 0.174 356.7)
XYZxyz(24.7600, 14.5082, 17.7128)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3873 #38BA7F
analogous
#BA38B4 #BA3873 #BA3E38
triadic
#BA3873 #73BA38 #3873BA
tetradic
#BA3873 #B4BA38 #38BA7F #3E38BA
square
#BA3873 #B4BA38 #38BA7F #3E38BA
split-complementary
#BA3873 #38BA3E #38B4BA
monochromatic
#5C1C39 #8B2A56 #BA3873 #CF6092 #DD8FB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3873#FFFFFF#000000##FFFFFF
##BA38731.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)
#515B75
Deuteranopia (green-blind)
#747370
Tritanopia (blue-blind)
#C92A51
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3873;
/* rgb */ color: rgb(186, 56, 115);
/* oklch */ color: oklch(54.8% 0.174 356.7);
Tailwind
colors: {
  custom: {
    50: '#d3789b',
    500: '#ba3873',
    950: '#000000',
  },
}
SCSS
$custom: #ba3873;
$custom-light: #d3789b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3873",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 332.769,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.17375,
    "h": 356.7
  },
  "luminance": 0.14505
}

Semantic roles & 50–950 ramp

primary
#BA3873
secondary
#86C8AA
accent
#DD9B4B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3873

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

Preview Lab → · Contrast checker → · Palette generator →

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