#BA4E72#BA4E72

#BA4E72 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.4% C 0.144 H 1.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA4E72
RGBrgb(186, 78, 114)
HSLhsl(340, 44%, 52%)
HSVhsv(340, 58%, 73%)
CMYKcmyk(0%, 58.1%, 38.7%, 27.1%)
CIE-LABlab(48.39, 47.07, 1.57)
CIE-LCHlch(48.39, 47.10, 1.91°)
OKLaboklab(57.37% 0.1435 0.0046)
OKLCHoklch(57.37% 0.144 1.9)
XYZxyz(26.0129, 17.1056, 17.8481)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E72 #4EBA96
analogous
#BA4EA8 #BA4E72 #BA604E
triadic
#BA4E72 #72BA4E #4E72BA
tetradic
#BA4E72 #A8BA4E #4EBA96 #604EBA
square
#BA4E72 #A8BA4E #4EBA96 #604EBA
split-complementary
#BA4E72 #4EBA60 #4EA8BA
monochromatic
#66283C #923957 #BA4E72 #CB7A95 #DCA6B8

Accessibility & contrast

On white

4.75
#BA4E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BA4E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E72
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E72#FFFFFF#000000##FFFFFF
##BA4E721.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616673
Deuteranopia (green-blind)
#7E7B70
Tritanopia (blue-blind)
#C8445C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4e72;
/* rgb */ color: rgb(186, 78, 114);
/* oklch */ color: oklch(57.4% 0.144 1.9);
Tailwind
colors: {
  custom: {
    50: '#d2849a',
    500: '#ba4e72',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e72;
$custom-light: #d2849a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e72",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 340,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5737,
    "c": 0.14357,
    "h": 1.9
  },
  "luminance": 0.17103
}

Semantic roles & 50–950 ramp

primary
#BA4E72
secondary
#9ACABA
accent
#D4A954
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4E72

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

Preview Lab → · Contrast checker → · Palette generator →

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