#BA4579#BA4579

#BA4579 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.5% C 0.159 H 355.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA4579
RGBrgb(186, 69, 121)
HSLhsl(333, 46%, 50%)
HSVhsv(333, 63%, 73%)
CMYKcmyk(0%, 62.9%, 34.9%, 27.1%)
CIE-LABlab(47.08, 51.98, -4.61)
CIE-LCHlch(47.08, 52.19, 354.93°)
OKLaboklab(56.46% 0.1587 -0.0115)
OKLCHoklch(56.46% 0.159 355.9)
XYZxyz(25.8304, 16.0786, 19.8286)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4579 #45BA86
analogous
#BA45B4 #BA4579 #BA4B45
triadic
#BA4579 #79BA45 #4579BA
tetradic
#BA4579 #B4BA45 #45BA86 #4B45BA
square
#BA4579 #B4BA45 #45BA86 #4B45BA
split-complementary
#BA4579 #45BA4B #45B4BA
monochromatic
#61243F #8D345C #BA4579 #CB7299 #DB9EB9

Accessibility & contrast

On white

4.98
#BA4579 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BA4579 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4579
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4579#FFFFFF#000000##FFFFFF
##BA45791.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58627B
Deuteranopia (green-blind)
#787876
Tritanopia (blue-blind)
#C83C5A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4579;
/* rgb */ color: rgb(186, 69, 121);
/* oklch */ color: oklch(56.5% 0.159 355.9);
Tailwind
colors: {
  custom: {
    50: '#d37f9f',
    500: '#ba4579',
    950: '#000000',
  },
}
SCSS
$custom: #ba4579;
$custom-light: #d37f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4579",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 333.333,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.5646,
    "c": 0.1591,
    "h": 355.9
  },
  "luminance": 0.16076
}

Semantic roles & 50–950 ramp

primary
#BA4579
secondary
#93C8B0
accent
#D69B52
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4579

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

Preview Lab → · Contrast checker → · Palette generator →

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