#BA4D79#BA4D79

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

Color values

HEX#BA4D79
RGBrgb(186, 77, 121)
HSLhsl(336, 44%, 52%)
HSVhsv(336, 59%, 73%)
CMYKcmyk(0%, 58.6%, 34.9%, 27.1%)
CIE-LABlab(48.42, 48.36, -2.62)
CIE-LCHlch(48.42, 48.43, 356.90°)
OKLaboklab(57.46% 0.1474 -0.0063)
OKLCHoklch(57.46% 0.148 357.6)
XYZxyz(26.3562, 17.1301, 20.0039)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4D79 #4DBA8E
analogous
#BA4DB0 #BA4D79 #BA584D
triadic
#BA4D79 #79BA4D #4D79BA
tetradic
#BA4D79 #B0BA4D #4DBA8E #584DBA
square
#BA4D79 #B0BA4D #4DBA8E #584DBA
split-complementary
#BA4D79 #4DBA58 #4DB0BA
monochromatic
#652740 #91385C #BA4D79 #CB799A #DCA5BB

Accessibility & contrast

On white

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

On black

4.43
#BA4D79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA4D79#FFFFFF#000000##FFFFFF
##BA4D791.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F667A
Deuteranopia (green-blind)
#7C7B76
Tritanopia (blue-blind)
#C8455E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4d79;
/* rgb */ color: rgb(186, 77, 121);
/* oklch */ color: oklch(57.5% 0.148 357.6);
Tailwind
colors: {
  custom: {
    50: '#d2849f',
    500: '#ba4d79',
    950: '#000000',
  },
}
SCSS
$custom: #ba4d79;
$custom-light: #d2849f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4d79",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 121
  },
  "hsl": {
    "h": 335.78,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57461,
    "c": 0.14752,
    "h": 357.6
  },
  "luminance": 0.17127
}

Semantic roles & 50–950 ramp

primary
#BA4D79
secondary
#99C9B6
accent
#D4A054
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4D79

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

Preview Lab → · Contrast checker → · Palette generator →

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