#BA4976#BA4976

#BA4976 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.9% C 0.152 H 358.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA4976
RGBrgb(186, 73, 118)
HSLhsl(336, 45%, 51%)
HSVhsv(336, 61%, 73%)
CMYKcmyk(0%, 60.8%, 36.6%, 27.1%)
CIE-LABlab(47.64, 49.85, -1.95)
CIE-LCHlch(47.64, 49.89, 357.76°)
OKLaboklab(56.85% 0.1521 -0.0045)
OKLCHoklch(56.85% 0.152 358.3)
XYZxyz(25.9037, 16.5150, 18.9596)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4976 #49BA8D
analogous
#BA49AE #BA4976 #BA5449
triadic
#BA4976 #76BA49 #4976BA
tetradic
#BA4976 #AEBA49 #49BA8D #5449BA
square
#BA4976 #AEBA49 #49BA8D #5449BA
split-complementary
#BA4976 #49BA54 #49AEBA
monochromatic
#63263E #8F365A #BA4976 #CB7597 #DCA2B9

Accessibility & contrast

On white

4.88
#BA4976 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BA4976 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4976
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4976#FFFFFF#000000##FFFFFF
##BA49761.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6477
Deuteranopia (green-blind)
#7B7973
Tritanopia (blue-blind)
#C83F5B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4976;
/* rgb */ color: rgb(186, 73, 118);
/* oklch */ color: oklch(56.9% 0.152 358.3);
Tailwind
colors: {
  custom: {
    50: '#d3819d',
    500: '#ba4976',
    950: '#000000',
  },
}
SCSS
$custom: #ba4976;
$custom-light: #d3819d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4976",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 118
  },
  "hsl": {
    "h": 336.106,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5685,
    "c": 0.1522,
    "h": 358.3
  },
  "luminance": 0.16512
}

Semantic roles & 50–950 ramp

primary
#BA4976
secondary
#96C8B5
accent
#D5A153
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4976

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

Preview Lab → · Contrast checker → · Palette generator →

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