#BA4972#BA4972

#BA4972 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.7% C 0.151 H 0.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BA4972
RGBrgb(186, 73, 114)
HSLhsl(338, 45%, 51%)
HSVhsv(338, 61%, 73%)
CMYKcmyk(0%, 60.8%, 38.7%, 27.1%)
CIE-LABlab(47.52, 49.39, 0.30)
CIE-LCHlch(47.52, 49.39, 0.35°)
OKLaboklab(56.72% 0.1508 0.0014)
OKLCHoklch(56.72% 0.151 0.5)
XYZxyz(25.6711, 16.4219, 17.7342)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4972 #49BA91
analogous
#BA49AA #BA4972 #BA5849
triadic
#BA4972 #72BA49 #4972BA
tetradic
#BA4972 #AABA49 #49BA91 #5849BA
square
#BA4972 #AABA49 #49BA91 #5849BA
split-complementary
#BA4972 #49BA58 #49AABA
monochromatic
#63263C #8F3657 #BA4972 #CB7594 #DCA2B7

Accessibility & contrast

On white

4.90
#BA4972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BA4972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4972
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4972#FFFFFF#000000##FFFFFF
##BA49721.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6373
Deuteranopia (green-blind)
#7B796F
Tritanopia (blue-blind)
#C93E59
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4972;
/* rgb */ color: rgb(186, 73, 114);
/* oklch */ color: oklch(56.7% 0.151 0.5);
Tailwind
colors: {
  custom: {
    50: '#d3819a',
    500: '#ba4972',
    950: '#000000',
  },
}
SCSS
$custom: #ba4972;
$custom-light: #d3819a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4972",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 114
  },
  "hsl": {
    "h": 338.23,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56721,
    "c": 0.15077,
    "h": 0.5
  },
  "luminance": 0.16419
}

Semantic roles & 50–950 ramp

primary
#BA4972
secondary
#96C8B6
accent
#D5A653
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4972

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

Preview Lab → · Contrast checker → · Palette generator →

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