#BA4E78#BA4E78

#BA4E78 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.6% C 0.146 H 358.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA4E78
RGBrgb(186, 78, 120)
HSLhsl(337, 44%, 52%)
HSVhsv(337, 58%, 73%)
CMYKcmyk(0%, 58.1%, 35.5%, 27.1%)
CIE-LABlab(48.57, 47.77, -1.80)
CIE-LCHlch(48.57, 47.81, 357.84°)
OKLaboklab(57.56% 0.1456 -0.0041)
OKLCHoklch(57.56% 0.146 358.4)
XYZxyz(26.3657, 17.2467, 19.7061)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E78 #4EBA90
analogous
#BA4EAE #BA4E78 #BA5A4E
triadic
#BA4E78 #78BA4E #4E78BA
tetradic
#BA4E78 #AEBA4E #4EBA90 #5A4EBA
square
#BA4E78 #AEBA4E #4EBA90 #5A4EBA
split-complementary
#BA4E78 #4EBA5A #4EAEBA
monochromatic
#662840 #92395C #BA4E78 #CB7A9A #DCA6BB

Accessibility & contrast

On white

4.72
#BA4E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BA4E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E78
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E78#FFFFFF#000000##FFFFFF
##BA4E781.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606779
Deuteranopia (green-blind)
#7C7B75
Tritanopia (blue-blind)
#C8455E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4e78;
/* rgb */ color: rgb(186, 78, 120);
/* oklch */ color: oklch(57.6% 0.146 358.4);
Tailwind
colors: {
  custom: {
    50: '#d2849e',
    500: '#ba4e78',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e78;
$custom-light: #d2849e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e78",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 120
  },
  "hsl": {
    "h": 336.667,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5756,
    "c": 0.14565,
    "h": 358.4
  },
  "luminance": 0.17244
}

Semantic roles & 50–950 ramp

primary
#BA4E78
secondary
#9ACAB7
accent
#D4A254
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4E78

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

Preview Lab → · Contrast checker → · Palette generator →

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