#BA4886#BA4886

#BA4886 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.3% C 0.161 H 349.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA4886
RGBrgb(186, 72, 134)
HSLhsl(327, 45%, 51%)
HSVhsv(327, 61%, 73%)
CMYKcmyk(0%, 61.3%, 28%, 27.1%)
CIE-LABlab(48.00, 52.28, -11.09)
CIE-LCHlch(48.00, 53.44, 348.02°)
OKLaboklab(57.29% 0.1585 -0.0289)
OKLCHoklch(57.29% 0.161 349.7)
XYZxyz(26.8713, 16.7977, 24.3768)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4886 #48BA7C
analogous
#B548BA #BA4886 #BA484D
triadic
#BA4886 #86BA48 #4886BA
tetradic
#BA4886 #BAB548 #48BA7C #484DBA
square
#BA4886 #BAB548 #48BA7C #484DBA
split-complementary
#BA4886 #4DBA48 #48BAB5
monochromatic
#622546 #8F3666 #BA4886 #CB74A3 #DCA1C1

Accessibility & contrast

On white

4.82
#BA4886 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#BA4886 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4886
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4886#FFFFFF#000000##FFFFFF
##BA48861.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566588
Deuteranopia (green-blind)
#767983
Tritanopia (blue-blind)
#C74461
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4886;
/* rgb */ color: rgb(186, 72, 134);
/* oklch */ color: oklch(57.3% 0.161 349.7);
Tailwind
colors: {
  custom: {
    50: '#d281a9',
    500: '#ba4886',
    950: '#000000',
  },
}
SCSS
$custom: #ba4886;
$custom-light: #d281a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4886",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 134
  },
  "hsl": {
    "h": 327.368,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57291,
    "c": 0.16111,
    "h": 349.7
  },
  "luminance": 0.16795
}

Semantic roles & 50–950 ramp

primary
#BA4886
secondary
#96C8AD
accent
#D58E53
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA4886

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

Preview Lab → · Contrast checker → · Palette generator →

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