#BA4778#BA4778

#BA4778 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.7% C 0.156 H 356.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BA4778
RGBrgb(186, 71, 120)
HSLhsl(334, 45%, 50%)
HSVhsv(334, 62%, 73%)
CMYKcmyk(0%, 61.8%, 35.5%, 27.1%)
CIE-LABlab(47.37, 50.98, -3.57)
CIE-LCHlch(47.37, 51.11, 356.00°)
OKLaboklab(56.67% 0.1556 -0.0087)
OKLCHoklch(56.67% 0.156 356.8)
XYZxyz(25.8945, 16.3045, 19.5490)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4778 #47BA89
analogous
#BA47B1 #BA4778 #BA4F47
triadic
#BA4778 #78BA47 #4778BA
tetradic
#BA4778 #B1BA47 #47BA89 #4F47BA
square
#BA4778 #B1BA47 #47BA89 #4F47BA
split-complementary
#BA4778 #47BA4F #47B1BA
monochromatic
#62253F #8E355B #BA4778 #CB7499 #DBA0B9

Accessibility & contrast

On white

4.93
#BA4778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#BA4778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4778
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4778#FFFFFF#000000##FFFFFF
##BA47781.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6379
Deuteranopia (green-blind)
#797875
Tritanopia (blue-blind)
#C83E5A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4778;
/* rgb */ color: rgb(186, 71, 120);
/* oklch */ color: oklch(56.7% 0.156 356.8);
Tailwind
colors: {
  custom: {
    50: '#d3809e',
    500: '#ba4778',
    950: '#000000',
  },
}
SCSS
$custom: #ba4778;
$custom-light: #d3809e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4778",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 120
  },
  "hsl": {
    "h": 334.435,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56668,
    "c": 0.15585,
    "h": 356.8
  },
  "luminance": 0.16302
}

Semantic roles & 50–950 ramp

primary
#BA4778
secondary
#95C8B2
accent
#D59E53
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4778

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

Preview Lab → · Contrast checker → · Palette generator →

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