#BA4974#BA4974

#BA4974 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.8% C 0.151 H 359.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA4974
RGBrgb(186, 73, 116)
HSLhsl(337, 45%, 51%)
HSVhsv(337, 61%, 73%)
CMYKcmyk(0%, 60.8%, 37.6%, 27.1%)
CIE-LABlab(47.58, 49.62, -0.83)
CIE-LCHlch(47.58, 49.63, 359.04°)
OKLaboklab(56.79% 0.1515 -0.0015)
OKLCHoklch(56.79% 0.151 359.4)
XYZxyz(25.7861, 16.4680, 18.3403)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4974 #49BA8F
analogous
#BA49AC #BA4974 #BA5649
triadic
#BA4974 #74BA49 #4974BA
tetradic
#BA4974 #ACBA49 #49BA8F #5649BA
square
#BA4974 #ACBA49 #49BA8F #5649BA
split-complementary
#BA4974 #49BA56 #49ACBA
monochromatic
#63263D #8F3658 #BA4974 #CB7596 #DCA2B8

Accessibility & contrast

On white

4.89
#BA4974 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#BA4974 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4974
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4974#FFFFFF#000000##FFFFFF
##BA49741.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6375
Deuteranopia (green-blind)
#7B7971
Tritanopia (blue-blind)
#C83F5A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4974;
/* rgb */ color: rgb(186, 73, 116);
/* oklch */ color: oklch(56.8% 0.151 359.4);
Tailwind
colors: {
  custom: {
    50: '#d3819b',
    500: '#ba4974',
    950: '#000000',
  },
}
SCSS
$custom: #ba4974;
$custom-light: #d3819b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4974",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 116
  },
  "hsl": {
    "h": 337.168,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56785,
    "c": 0.15146,
    "h": 359.4
  },
  "luminance": 0.16465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4974

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

Preview Lab → · Contrast checker → · Palette generator →

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