#BA4181#BA4181

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

Color values

HEX#BA4181
RGBrgb(186, 65, 129)
HSLhsl(328, 48%, 49%)
HSVhsv(328, 65%, 73%)
CMYKcmyk(0%, 65.1%, 30.6%, 27.1%)
CIE-LABlab(46.72, 54.66, -10.00)
CIE-LCHlch(46.72, 55.56, 349.63°)
OKLaboklab(56.29% 0.1664 -0.0259)
OKLCHoklch(56.29% 0.168 351.2)
XYZxyz(26.1037, 15.8075, 22.4411)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4181 #41BA7A
analogous
#B741BA #BA4181 #BA4145
triadic
#BA4181 #81BA41 #4181BA
tetradic
#BA4181 #BAB741 #41BA7A #4145BA
square
#BA4181 #BAB741 #41BA7A #4145BA
split-complementary
#BA4181 #45BA41 #41BAB7
monochromatic
#5F2142 #8D3162 #BA4181 #CC6C9F #DC9ABD

Accessibility & contrast

On white

5.05
#BA4181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BA4181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4181
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4181#FFFFFF#000000##FFFFFF
##BA41811.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536183
Deuteranopia (green-blind)
#74777E
Tritanopia (blue-blind)
#C73B5B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4181;
/* rgb */ color: rgb(186, 65, 129);
/* oklch */ color: oklch(56.3% 0.168 351.2);
Tailwind
colors: {
  custom: {
    50: '#d37da5',
    500: '#ba4181',
    950: '#000000',
  },
}
SCSS
$custom: #ba4181;
$custom-light: #d37da5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4181",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 328.264,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56285,
    "c": 0.16842,
    "h": 351.2
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#BA4181
secondary
#8FC8AA
accent
#D89050
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4181

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

Preview Lab → · Contrast checker → · Palette generator →

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