#BA4571#BA4571

#BA4571 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.2% C 0.156 H 0.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BA4571
RGBrgb(186, 69, 113)
HSLhsl(337, 46%, 50%)
HSVhsv(337, 63%, 73%)
CMYKcmyk(0%, 62.9%, 39.2%, 27.1%)
CIE-LABlab(46.83, 51.07, -0.10)
CIE-LCHlch(46.83, 51.07, 359.88°)
OKLaboklab(56.2% 0.156 0.0004)
OKLCHoklch(56.2% 0.156 0.1)
XYZxyz(25.3601, 15.8905, 17.3512)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4571 #45BA8E
analogous
#BA45AB #BA4571 #BA5445
triadic
#BA4571 #71BA45 #4571BA
tetradic
#BA4571 #ABBA45 #45BA8E #5445BA
square
#BA4571 #ABBA45 #45BA8E #5445BA
split-complementary
#BA4571 #45BA54 #45ABBA
monochromatic
#61243B #8D3456 #BA4571 #CB7293 #DB9EB5

Accessibility & contrast

On white

5.03
#BA4571 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BA4571 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4571
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4571#FFFFFF#000000##FFFFFF
##BA45711.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6172
Deuteranopia (green-blind)
#7A776E
Tritanopia (blue-blind)
#C93956
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4571;
/* rgb */ color: rgb(186, 69, 113);
/* oklch */ color: oklch(56.2% 0.156 0.1);
Tailwind
colors: {
  custom: {
    50: '#d37f99',
    500: '#ba4571',
    950: '#000000',
  },
}
SCSS
$custom: #ba4571;
$custom-light: #d37f99;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4571",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 113
  },
  "hsl": {
    "h": 337.436,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.56196,
    "c": 0.15603,
    "h": 0.1
  },
  "luminance": 0.15888
}

Semantic roles & 50–950 ramp

primary
#BA4571
secondary
#93C8B4
accent
#D6A452
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4571

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

Preview Lab → · Contrast checker → · Palette generator →

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