#BA5979#BA5979

#BA5979 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.1% C 0.129 H 1.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA5979
RGBrgb(186, 89, 121)
HSLhsl(340, 41%, 54%)
HSVhsv(340, 52%, 73%)
CMYKcmyk(0%, 52.2%, 34.9%, 27.1%)
CIE-LABlab(50.65, 42.52, 0.64)
CIE-LCHlch(50.65, 42.52, 0.86°)
OKLaboklab(59.13% 0.1293 0.0022)
OKLCHoklch(59.13% 0.129 1)
XYZxyz(27.2746, 18.9670, 20.3100)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5979 #59BA9A
analogous
#BA59AA #BA5979 #BA6A59
triadic
#BA5979 #79BA59 #5979BA
tetradic
#BA5979 #AABA59 #59BA9A #6A59BA
square
#BA5979 #AABA59 #59BA9A #6A59BA
split-complementary
#BA5979 #59BA6A #59AABA
monochromatic
#6C2D42 #973F5C #BA5979 #CC849C #DEAFBF

Accessibility & contrast

On white

4.38
#BA5979 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BA5979 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5979
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5979#FFFFFF#000000##000000
##BA59791.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#696D7A
Deuteranopia (green-blind)
#827F77
Tritanopia (blue-blind)
#C85165
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba5979;
/* rgb */ color: rgb(186, 89, 121);
/* oklch */ color: oklch(59.1% 0.129 1.0);
Tailwind
colors: {
  custom: {
    50: '#d28b9f',
    500: '#ba5979',
    950: '#000000',
  },
}
SCSS
$custom: #ba5979;
$custom-light: #d28b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5979",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 121
  },
  "hsl": {
    "h": 340.206,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59127,
    "c": 0.12929,
    "h": 1
  },
  "luminance": 0.18964
}

Semantic roles & 50–950 ramp

primary
#BA5979
secondary
#A3CCBE
accent
#D1A957
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E

Preview Lab

Preview with #BA5979

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

Preview Lab → · Contrast checker → · Palette generator →

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