#BA4682#BA4682

#BA4682 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.9% C 0.162 H 351.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BA4682
RGBrgb(186, 70, 130)
HSLhsl(329, 46%, 50%)
HSVhsv(329, 62%, 73%)
CMYKcmyk(0%, 62.4%, 30.1%, 27.1%)
CIE-LABlab(47.54, 52.65, -9.38)
CIE-LCHlch(47.54, 53.48, 349.90°)
OKLaboklab(56.9% 0.1601 -0.0243)
OKLCHoklch(56.9% 0.162 351.4)
XYZxyz(26.4704, 16.4339, 22.8928)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4682 #46BA7E
analogous
#B846BA #BA4682 #BA4648
triadic
#BA4682 #82BA46 #4682BA
tetradic
#BA4682 #BAB846 #46BA7E #4648BA
square
#BA4682 #BAB846 #46BA7E #4648BA
split-complementary
#BA4682 #48BA46 #46BAB8
monochromatic
#612444 #8E3563 #BA4682 #CB73A0 #DB9FBE

Accessibility & contrast

On white

4.90
#BA4682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#BA4682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4682
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4682#FFFFFF#000000##FFFFFF
##BA46821.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566484
Deuteranopia (green-blind)
#76787F
Tritanopia (blue-blind)
#C7405E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4682;
/* rgb */ color: rgb(186, 70, 130);
/* oklch */ color: oklch(56.9% 0.162 351.4);
Tailwind
colors: {
  custom: {
    50: '#d280a6',
    500: '#ba4682',
    950: '#000000',
  },
}
SCSS
$custom: #ba4682;
$custom-light: #d280a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4682",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 328.966,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.569,
    "c": 0.16191,
    "h": 351.4
  },
  "luminance": 0.16431
}

Semantic roles & 50–950 ramp

primary
#BA4682
secondary
#94C8AD
accent
#D59252
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA4682

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

Preview Lab → · Contrast checker → · Palette generator →

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