#BA5D82#BA5D82

#BA5D82 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.0% C 0.126 H 356.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA5D82
RGBrgb(186, 93, 130)
HSLhsl(336, 40%, 55%)
HSVhsv(336, 50%, 73%)
CMYKcmyk(0%, 50%, 30.1%, 27.1%)
CIE-LABlab(51.70, 41.64, -3.18)
CIE-LCHlch(51.70, 41.76, 355.63°)
OKLaboklab(60.01% 0.1262 -0.0078)
OKLCHoklch(60.01% 0.126 356.4)
XYZxyz(28.1944, 19.8820, 23.4675)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5D82 #5DBA95
analogous
#BA5DB1 #BA5D82 #BA675D
triadic
#BA5D82 #82BA5D #5D82BA
tetradic
#BA5D82 #B1BA5D #5DBA95 #675DBA
square
#BA5D82 #B1BA5D #5DBA95 #675DBA
split-complementary
#BA5D82 #5DBA67 #5DB1BA
monochromatic
#6E2F48 #994164 #BA5D82 #CC88A3 #DFB3C4

Accessibility & contrast

On white

4.22
#BA5D82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#BA5D82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5D82
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5D82#FFFFFF#000000##000000
##BA5D821.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7183
Deuteranopia (green-blind)
#828280
Tritanopia (blue-blind)
#C7576B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba5d82;
/* rgb */ color: rgb(186, 93, 130);
/* oklch */ color: oklch(60.0% 0.126 356.4);
Tailwind
colors: {
  custom: {
    50: '#d18ea6',
    500: '#ba5d82',
    950: '#000000',
  },
}
SCSS
$custom: #ba5d82;
$custom-light: #d18ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5d82",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 130
  },
  "hsl": {
    "h": 336.129,
    "s": 40.26,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60008,
    "c": 0.12642,
    "h": 356.4
  },
  "luminance": 0.1988
}

Semantic roles & 50–950 ramp

primary
#BA5D82
secondary
#A6CDBD
accent
#D0A058
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA5D82

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

Preview Lab → · Contrast checker → · Palette generator →

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