#BA4E79#BA4E79

#BA4E79 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.6% C 0.146 H 357.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA4E79
RGBrgb(186, 78, 121)
HSLhsl(336, 44%, 52%)
HSVhsv(336, 58%, 73%)
CMYKcmyk(0%, 58.1%, 34.9%, 27.1%)
CIE-LABlab(48.60, 47.89, -2.36)
CIE-LCHlch(48.60, 47.95, 357.18°)
OKLaboklab(57.59% 0.1459 -0.0056)
OKLCHoklch(57.59% 0.146 357.8)
XYZxyz(26.4267, 17.2711, 20.0274)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E79 #4EBA8F
analogous
#BA4EAF #BA4E79 #BA594E
triadic
#BA4E79 #79BA4E #4E79BA
tetradic
#BA4E79 #AFBA4E #4EBA8F #594EBA
square
#BA4E79 #AFBA4E #4EBA8F #594EBA
split-complementary
#BA4E79 #4EBA59 #4EAFBA
monochromatic
#662840 #92395C #BA4E79 #CB7A9A #DCA6BC

Accessibility & contrast

On white

4.72
#BA4E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BA4E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E79
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E79#FFFFFF#000000##FFFFFF
##BA4E791.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60677A
Deuteranopia (green-blind)
#7C7B76
Tritanopia (blue-blind)
#C8465E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4e79;
/* rgb */ color: rgb(186, 78, 121);
/* oklch */ color: oklch(57.6% 0.146 357.8);
Tailwind
colors: {
  custom: {
    50: '#d2849f',
    500: '#ba4e79',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e79;
$custom-light: #d2849f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e79",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 336.111,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57593,
    "c": 0.14604,
    "h": 357.8
  },
  "luminance": 0.17268
}

Semantic roles & 50–950 ramp

primary
#BA4E79
secondary
#9ACAB7
accent
#D4A154
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4E79

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

Preview Lab → · Contrast checker → · Palette generator →

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