#BA4182#BA4182

#BA4182 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.3% C 0.169 H 350.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BA4182
RGBrgb(186, 65, 130)
HSLhsl(328, 48%, 49%)
HSVhsv(328, 65%, 73%)
CMYKcmyk(0%, 65.1%, 30.1%, 27.1%)
CIE-LABlab(46.76, 54.78, -10.55)
CIE-LCHlch(46.76, 55.79, 349.10°)
OKLaboklab(56.32% 0.1667 -0.0274)
OKLCHoklch(56.32% 0.169 350.7)
XYZxyz(26.1705, 15.8342, 22.7928)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4182 #41BA79
analogous
#B641BA #BA4182 #BA4145
triadic
#BA4182 #82BA41 #4182BA
tetradic
#BA4182 #BAB641 #41BA79 #4145BA
square
#BA4182 #BAB641 #41BA79 #4145BA
split-complementary
#BA4182 #45BA41 #41BAB6
monochromatic
#5F2143 #8D3162 #BA4182 #CC6CA0 #DC9ABD

Accessibility & contrast

On white

5.04
#BA4182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BA4182 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4182
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4182#FFFFFF#000000##FFFFFF
##BA41821.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526184
Deuteranopia (green-blind)
#74777F
Tritanopia (blue-blind)
#C73B5C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4182;
/* rgb */ color: rgb(186, 65, 130);
/* oklch */ color: oklch(56.3% 0.169 350.7);
Tailwind
colors: {
  custom: {
    50: '#d37da6',
    500: '#ba4182',
    950: '#000000',
  },
}
SCSS
$custom: #ba4182;
$custom-light: #d37da6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4182",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 327.769,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56322,
    "c": 0.16894,
    "h": 350.7
  },
  "luminance": 0.15831
}

Semantic roles & 50–950 ramp

primary
#BA4182
secondary
#8FC8A9
accent
#D88F50
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4182

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

Preview Lab → · Contrast checker → · Palette generator →

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