#BA4E82#BA4E82

#BA4E82 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.9% C 0.150 H 352.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA4E82
RGBrgb(186, 78, 130)
HSLhsl(331, 44%, 52%)
HSVhsv(331, 58%, 73%)
CMYKcmyk(0%, 58.1%, 30.1%, 27.1%)
CIE-LABlab(48.89, 49.02, -7.36)
CIE-LCHlch(48.89, 49.57, 351.46°)
OKLaboklab(57.9% 0.1489 -0.0189)
OKLCHoklch(57.9% 0.15 352.8)
XYZxyz(27.0045, 17.5022, 23.0708)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E82 #4EBA86
analogous
#BA4EB8 #BA4E82 #BA504E
triadic
#BA4E82 #82BA4E #4E82BA
tetradic
#BA4E82 #B8BA4E #4EBA86 #504EBA
square
#BA4E82 #B8BA4E #4EBA86 #504EBA
split-complementary
#BA4E82 #4EBA50 #4EB8BA
monochromatic
#662846 #923964 #BA4E82 #CB7AA1 #DCA6C0

Accessibility & contrast

On white

4.67
#BA4E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BA4E82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E82
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E82#FFFFFF#000000##FFFFFF
##BA4E821.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6884
Deuteranopia (green-blind)
#7A7B7F
Tritanopia (blue-blind)
#C74862
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4e82;
/* rgb */ color: rgb(186, 78, 130);
/* oklch */ color: oklch(57.9% 0.150 352.8);
Tailwind
colors: {
  custom: {
    50: '#d284a6',
    500: '#ba4e82',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e82;
$custom-light: #d284a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e82",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 331.111,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57901,
    "c": 0.15004,
    "h": 352.8
  },
  "luminance": 0.175
}

Semantic roles & 50–950 ramp

primary
#BA4E82
secondary
#9ACAB3
accent
#D49654
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #BA4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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