#BA4572#BA4572

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

Color values

HEX#BA4572
RGBrgb(186, 69, 114)
HSLhsl(337, 46%, 50%)
HSVhsv(337, 63%, 73%)
CMYKcmyk(0%, 62.9%, 38.7%, 27.1%)
CIE-LABlab(46.86, 51.18, -0.67)
CIE-LCHlch(46.86, 51.18, 359.25°)
OKLaboklab(56.23% 0.1564 -0.0011)
OKLCHoklch(56.23% 0.156 359.6)
XYZxyz(25.4167, 15.9131, 17.6494)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4572 #45BA8D
analogous
#BA45AC #BA4572 #BA5345
triadic
#BA4572 #72BA45 #4572BA
tetradic
#BA4572 #ACBA45 #45BA8D #5345BA
square
#BA4572 #ACBA45 #45BA8D #5345BA
split-complementary
#BA4572 #45BA53 #45ACBA
monochromatic
#61243B #8D3457 #BA4572 #CB7294 #DB9EB6

Accessibility & contrast

On white

5.02
#BA4572 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA4572
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4572#FFFFFF#000000##FFFFFF
##BA45721.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6173
Deuteranopia (green-blind)
#7A776F
Tritanopia (blue-blind)
#C93A57
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4572;
/* rgb */ color: rgb(186, 69, 114);
/* oklch */ color: oklch(56.2% 0.156 359.6);
Tailwind
colors: {
  custom: {
    50: '#d37f9a',
    500: '#ba4572',
    950: '#000000',
  },
}
SCSS
$custom: #ba4572;
$custom-light: #d37f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4572",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 114
  },
  "hsl": {
    "h": 336.923,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.56228,
    "c": 0.15637,
    "h": 359.6
  },
  "luminance": 0.1591
}

Semantic roles & 50–950 ramp

primary
#BA4572
secondary
#93C8B3
accent
#D6A352
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4572

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

Preview Lab → · Contrast checker → · Palette generator →

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