#BA4A74#BA4A74

#BA4A74 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.9% C 0.150 H 359.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BA4A74
RGBrgb(186, 74, 116)
HSLhsl(338, 45%, 51%)
HSVhsv(338, 60%, 73%)
CMYKcmyk(0%, 60.2%, 37.6%, 27.1%)
CIE-LABlab(47.75, 49.16, -0.58)
CIE-LCHlch(47.75, 49.17, 359.32°)
OKLaboklab(56.91% 0.15 -0.0009)
OKLCHoklch(56.91% 0.15 359.7)
XYZxyz(25.8524, 16.6004, 18.3624)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4A74 #4ABA90
analogous
#BA4AAC #BA4A74 #BA584A
triadic
#BA4A74 #74BA4A #4A74BA
tetradic
#BA4A74 #ACBA4A #4ABA90 #584ABA
square
#BA4A74 #ACBA4A #4ABA90 #584ABA
split-complementary
#BA4A74 #4ABA58 #4AACBA
monochromatic
#64263D #903758 #BA4A74 #CB7696 #DCA3B8

Accessibility & contrast

On white

4.86
#BA4A74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#BA4A74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4A74
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4A74#FFFFFF#000000##FFFFFF
##BA4A741.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4a74;
/* rgb */ color: rgb(186, 74, 116);
/* oklch */ color: oklch(56.9% 0.150 359.7);
Tailwind
colors: {
  custom: {
    50: '#d3829b',
    500: '#ba4a74',
    950: '#000000',
  },
}
SCSS
$custom: #ba4a74;
$custom-light: #d3829b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4a74",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 116
  },
  "hsl": {
    "h": 337.5,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.15003,
    "h": 359.7
  },
  "luminance": 0.16598
}

Semantic roles & 50–950 ramp

primary
#BA4A74
secondary
#97C9B6
accent
#D5A453
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4A74

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

Preview Lab → · Contrast checker → · Palette generator →

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