#BA4782#BA4782

#BA4782 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.0% C 0.160 H 351.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA4782
RGBrgb(186, 71, 130)
HSLhsl(329, 45%, 50%)
HSVhsv(329, 62%, 73%)
CMYKcmyk(0%, 61.8%, 30.1%, 27.1%)
CIE-LABlab(47.70, 52.21, -9.13)
CIE-LCHlch(47.70, 53.00, 350.08°)
OKLaboklab(57.02% 0.1587 -0.0236)
OKLCHoklch(57.02% 0.16 351.5)
XYZxyz(26.5334, 16.5600, 22.9138)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4782 #47BA7F
analogous
#B847BA #BA4782 #BA4748
triadic
#BA4782 #82BA47 #4782BA
tetradic
#BA4782 #BAB847 #47BA7F #4748BA
square
#BA4782 #BAB847 #47BA7F #4748BA
split-complementary
#BA4782 #48BA47 #47BAB8
monochromatic
#622544 #8E3563 #BA4782 #CB74A0 #DBA0BE

Accessibility & contrast

On white

4.87
#BA4782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BA4782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4782
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4782#FFFFFF#000000##FFFFFF
##BA47821.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576484
Deuteranopia (green-blind)
#77797F
Tritanopia (blue-blind)
#C7415F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4782;
/* rgb */ color: rgb(186, 71, 130);
/* oklch */ color: oklch(57.0% 0.160 351.5);
Tailwind
colors: {
  custom: {
    50: '#d280a6',
    500: '#ba4782',
    950: '#000000',
  },
}
SCSS
$custom: #ba4782;
$custom-light: #d280a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4782",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 130
  },
  "hsl": {
    "h": 329.217,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5702,
    "c": 0.16046,
    "h": 351.5
  },
  "luminance": 0.16557
}

Semantic roles & 50–950 ramp

primary
#BA4782
secondary
#95C8AE
accent
#D59253
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA4782

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

Preview Lab → · Contrast checker → · Palette generator →

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