#BA4873#BA4873

#BA4873 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.6% C 0.153 H 359.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BA4873
RGBrgb(186, 72, 115)
HSLhsl(337, 45%, 51%)
HSVhsv(337, 61%, 73%)
CMYKcmyk(0%, 61.3%, 38.2%, 27.1%)
CIE-LABlab(47.38, 49.96, -0.51)
CIE-LCHlch(47.38, 49.96, 359.41°)
OKLaboklab(56.63% 0.1525 -0.0007)
OKLCHoklch(56.63% 0.153 359.7)
XYZxyz(25.6631, 16.3145, 18.0139)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4873 #48BA8F
analogous
#BA48AC #BA4873 #BA5648
triadic
#BA4873 #73BA48 #4873BA
tetradic
#BA4873 #ACBA48 #48BA8F #5648BA
square
#BA4873 #ACBA48 #48BA8F #5648BA
split-complementary
#BA4873 #48BA56 #48ACBA
monochromatic
#62253C #8F3657 #BA4873 #CB7495 #DCA1B7

Accessibility & contrast

On white

4.93
#BA4873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#BA4873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4873
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4873#FFFFFF#000000##FFFFFF
##BA48731.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6374
Deuteranopia (green-blind)
#7B7870
Tritanopia (blue-blind)
#C93D59
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4873;
/* rgb */ color: rgb(186, 72, 115);
/* oklch */ color: oklch(56.6% 0.153 359.7);
Tailwind
colors: {
  custom: {
    50: '#d3819b',
    500: '#ba4873',
    950: '#000000',
  },
}
SCSS
$custom: #ba4873;
$custom-light: #d3819b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4873",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 337.368,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56627,
    "c": 0.15253,
    "h": 359.7
  },
  "luminance": 0.16312
}

Semantic roles & 50–950 ramp

primary
#BA4873
secondary
#96C8B5
accent
#D5A453
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4873

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

Preview Lab → · Contrast checker → · Palette generator →

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