#BA4777#BA4777

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

Color values

HEX#BA4777
RGBrgb(186, 71, 119)
HSLhsl(335, 45%, 50%)
HSVhsv(335, 62%, 73%)
CMYKcmyk(0%, 61.8%, 36%, 27.1%)
CIE-LABlab(47.34, 50.87, -3.01)
CIE-LCHlch(47.34, 50.95, 356.62°)
OKLaboklab(56.63% 0.1553 -0.0072)
OKLCHoklch(56.63% 0.155 357.3)
XYZxyz(25.8342, 16.2803, 19.2311)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4777 #47BA8A
analogous
#BA47B0 #BA4777 #BA5047
triadic
#BA4777 #77BA47 #4777BA
tetradic
#BA4777 #B0BA47 #47BA8A #5047BA
square
#BA4777 #B0BA47 #47BA8A #5047BA
split-complementary
#BA4777 #47BA50 #47B0BA
monochromatic
#62253E #8E355B #BA4777 #CB7498 #DBA0B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4777#FFFFFF#000000##FFFFFF
##BA47771.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)
#5A6378
Deuteranopia (green-blind)
#797874
Tritanopia (blue-blind)
#C83D5A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4777;
/* rgb */ color: rgb(186, 71, 119);
/* oklch */ color: oklch(56.6% 0.155 357.3);
Tailwind
colors: {
  custom: {
    50: '#d3809e',
    500: '#ba4777',
    950: '#000000',
  },
}
SCSS
$custom: #ba4777;
$custom-light: #d3809e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4777",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 119
  },
  "hsl": {
    "h": 334.957,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56634,
    "c": 0.15545,
    "h": 357.3
  },
  "luminance": 0.16277
}

Semantic roles & 50–950 ramp

primary
#BA4777
secondary
#95C8B3
accent
#D59F53
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4777

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

Preview Lab → · Contrast checker → · Palette generator →

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