#BA4677#BA4677

#BA4677 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.5% C 0.157 H 357.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA4677
RGBrgb(186, 70, 119)
HSLhsl(335, 46%, 50%)
HSVhsv(335, 62%, 73%)
CMYKcmyk(0%, 62.4%, 36%, 27.1%)
CIE-LABlab(47.18, 51.31, -3.25)
CIE-LCHlch(47.18, 51.41, 356.38°)
OKLaboklab(56.51% 0.1567 -0.0079)
OKLCHoklch(56.51% 0.157 357.1)
XYZxyz(25.7711, 16.1542, 19.2101)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4677 #46BA89
analogous
#BA46B1 #BA4677 #BA4F46
triadic
#BA4677 #77BA46 #4677BA
tetradic
#BA4677 #B1BA46 #46BA89 #4F46BA
square
#BA4677 #B1BA46 #46BA89 #4F46BA
split-complementary
#BA4677 #46BA4F #46B1BA
monochromatic
#61243E #8E355A #BA4677 #CB7398 #DB9FB9

Accessibility & contrast

On white

4.96
#BA4677 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BA4677 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4677
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4677#FFFFFF#000000##FFFFFF
##BA46771.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6278
Deuteranopia (green-blind)
#797874
Tritanopia (blue-blind)
#C83C59
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4677;
/* rgb */ color: rgb(186, 70, 119);
/* oklch */ color: oklch(56.5% 0.157 357.1);
Tailwind
colors: {
  custom: {
    50: '#d3809e',
    500: '#ba4677',
    950: '#000000',
  },
}
SCSS
$custom: #ba4677;
$custom-light: #d3809e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4677",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 119
  },
  "hsl": {
    "h": 334.655,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56513,
    "c": 0.15687,
    "h": 357.1
  },
  "luminance": 0.16151
}

Semantic roles & 50–950 ramp

primary
#BA4677
secondary
#94C8B2
accent
#D59E52
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4677

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

Preview Lab → · Contrast checker → · Palette generator →

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