#BA4F79#BA4F79

#BA4F79 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.7% C 0.145 H 358.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA4F79
RGBrgb(186, 79, 121)
HSLhsl(336, 44%, 52%)
HSVhsv(336, 58%, 73%)
CMYKcmyk(0%, 57.5%, 34.9%, 27.1%)
CIE-LABlab(48.78, 47.42, -2.10)
CIE-LCHlch(48.78, 47.47, 357.46°)
OKLaboklab(57.73% 0.1445 -0.0049)
OKLCHoklch(57.73% 0.145 358.1)
XYZxyz(26.4983, 17.4143, 20.0512)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F79 #4FBA90
analogous
#BA4FAE #BA4F79 #BA5B4F
triadic
#BA4F79 #79BA4F #4F79BA
tetradic
#BA4F79 #AEBA4F #4FBA90 #5B4FBA
square
#BA4F79 #AEBA4F #4FBA90 #5B4FBA
split-complementary
#BA4F79 #4FBA5B #4FAEBA
monochromatic
#662841 #92395C #BA4F79 #CB7B9A #DCA7BC

Accessibility & contrast

On white

4.68
#BA4F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BA4F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4F79
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F79#FFFFFF#000000##FFFFFF
##BA4F791.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60677A
Deuteranopia (green-blind)
#7D7B76
Tritanopia (blue-blind)
#C8475F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4f79;
/* rgb */ color: rgb(186, 79, 121);
/* oklch */ color: oklch(57.7% 0.145 358.1);
Tailwind
colors: {
  custom: {
    50: '#d2859f',
    500: '#ba4f79',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f79;
$custom-light: #d2859f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f79",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 121
  },
  "hsl": {
    "h": 336.449,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57725,
    "c": 0.14454,
    "h": 358.1
  },
  "luminance": 0.17412
}

Semantic roles & 50–950 ramp

primary
#BA4F79
secondary
#9BCAB7
accent
#D3A254
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4F79

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

Preview Lab → · Contrast checker → · Palette generator →

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