#BA4A71#BA4A71

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

Color values

HEX#BA4A71
RGBrgb(186, 74, 113)
HSLhsl(339, 45%, 51%)
HSVhsv(339, 60%, 73%)
CMYKcmyk(0%, 60.2%, 39.2%, 27.1%)
CIE-LABlab(47.66, 48.82, 1.11)
CIE-LCHlch(47.66, 48.84, 1.31°)
OKLaboklab(56.82% 0.149 0.0035)
OKLCHoklch(56.82% 0.149 1.3)
XYZxyz(25.6807, 16.5318, 17.4581)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4A71 #4ABA93
analogous
#BA4AA9 #BA4A71 #BA5B4A
triadic
#BA4A71 #71BA4A #4A71BA
tetradic
#BA4A71 #A9BA4A #4ABA93 #5B4ABA
square
#BA4A71 #A9BA4A #4ABA93 #5B4ABA
split-complementary
#BA4A71 #4ABA5B #4AA9BA
monochromatic
#64263B #903756 #BA4A71 #CB7694 #DCA3B7

Accessibility & contrast

On white

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

On black

4.31
#BA4A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA4A71#FFFFFF#000000##FFFFFF
##BA4A711.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6472
Deuteranopia (green-blind)
#7C796E
Tritanopia (blue-blind)
#C93F59
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4a71;
/* rgb */ color: rgb(186, 74, 113);
/* oklch */ color: oklch(56.8% 0.149 1.3);
Tailwind
colors: {
  custom: {
    50: '#d38299',
    500: '#ba4a71',
    950: '#000000',
  },
}
SCSS
$custom: #ba4a71;
$custom-light: #d38299;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4a71",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 113
  },
  "hsl": {
    "h": 339.107,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56817,
    "c": 0.14902,
    "h": 1.3
  },
  "luminance": 0.16529
}

Semantic roles & 50–950 ramp

primary
#BA4A71
secondary
#97C9B7
accent
#D5A853
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4A71

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

Preview Lab → · Contrast checker → · Palette generator →

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