#BA4586#BA4586

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

Color values

HEX#BA4586
RGBrgb(186, 69, 134)
HSLhsl(327, 46%, 50%)
HSVhsv(327, 63%, 73%)
CMYKcmyk(0%, 62.9%, 28%, 27.1%)
CIE-LABlab(47.52, 53.60, -11.82)
CIE-LCHlch(47.52, 54.88, 347.56°)
OKLaboklab(56.93% 0.1626 -0.0309)
OKLCHoklch(56.93% 0.165 349.2)
XYZxyz(26.6820, 16.4193, 24.3137)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4586 #45BA79
analogous
#B445BA #BA4586 #BA454B
triadic
#BA4586 #86BA45 #4586BA
tetradic
#BA4586 #BAB445 #45BA79 #454BBA
square
#BA4586 #BAB445 #45BA79 #454BBA
split-complementary
#BA4586 #4BBA45 #45BAB4
monochromatic
#612446 #8D3466 #BA4586 #CB72A3 #DB9EC0

Accessibility & contrast

On white

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

On black

4.28
#BA4586 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA4586#FFFFFF#000000##FFFFFF
##BA45861.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546488
Deuteranopia (green-blind)
#757883
Tritanopia (blue-blind)
#C74160
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4586;
/* rgb */ color: rgb(186, 69, 134);
/* oklch */ color: oklch(56.9% 0.165 349.2);
Tailwind
colors: {
  custom: {
    50: '#d27fa9',
    500: '#ba4586',
    950: '#000000',
  },
}
SCSS
$custom: #ba4586;
$custom-light: #d27fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4586",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 134
  },
  "hsl": {
    "h": 326.667,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.56933,
    "c": 0.16546,
    "h": 349.2
  },
  "luminance": 0.16417
}

Semantic roles & 50–950 ramp

primary
#BA4586
secondary
#93C8AA
accent
#D68D52
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA4586

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

Preview Lab → · Contrast checker → · Palette generator →

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