#BA5976#BA5976

#BA5976 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.0% C 0.128 H 2.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BA5976
RGBrgb(186, 89, 118)
HSLhsl(342, 41%, 54%)
HSVhsv(342, 52%, 73%)
CMYKcmyk(0%, 52.2%, 36.6%, 27.1%)
CIE-LABlab(50.56, 42.15, 2.31)
CIE-LCHlch(50.56, 42.21, 3.13°)
OKLaboklab(59.04% 0.1282 0.0065)
OKLCHoklch(59.04% 0.128 2.9)
XYZxyz(27.0935, 18.8945, 19.3562)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5976 #59BA9D
analogous
#BA59A7 #BA5976 #BA6D59
triadic
#BA5976 #76BA59 #5976BA
tetradic
#BA5976 #A7BA59 #59BA9D #6D59BA
square
#BA5976 #A7BA59 #59BA9D #6D59BA
split-complementary
#BA5976 #59BA6D #59A7BA
monochromatic
#6C2D40 #973F59 #BA5976 #CC849A #DEAFBD

Accessibility & contrast

On white

4.39
#BA5976 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#BA5976 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5976
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5976#FFFFFF#000000##000000
##BA59761.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6D77
Deuteranopia (green-blind)
#827F74
Tritanopia (blue-blind)
#C85064
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba5976;
/* rgb */ color: rgb(186, 89, 118);
/* oklch */ color: oklch(59.0% 0.128 2.9);
Tailwind
colors: {
  custom: {
    50: '#d28b9d',
    500: '#ba5976',
    950: '#000000',
  },
}
SCSS
$custom: #ba5976;
$custom-light: #d28b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5976",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 118
  },
  "hsl": {
    "h": 342.062,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59035,
    "c": 0.12835,
    "h": 2.9
  },
  "luminance": 0.18892
}

Semantic roles & 50–950 ramp

primary
#BA5976
secondary
#A3CCC0
accent
#D1AD57
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E

Preview Lab

Preview with #BA5976

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

Preview Lab → · Contrast checker → · Palette generator →

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