#BA477F#BA477F

#BA477F is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.9% C 0.159 H 353.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA477F
RGBrgb(186, 71, 127)
HSLhsl(331, 45%, 50%)
HSVhsv(331, 62%, 73%)
CMYKcmyk(0%, 61.8%, 31.7%, 27.1%)
CIE-LABlab(47.60, 51.83, -7.47)
CIE-LCHlch(47.60, 52.37, 351.80°)
OKLaboklab(56.91% 0.1578 -0.0191)
OKLCHoklch(56.91% 0.159 353.1)
XYZxyz(26.3350, 16.4806, 21.8687)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA477F #47BA82
analogous
#BA47B8 #BA477F #BA4847
triadic
#BA477F #7FBA47 #477FBA
tetradic
#BA477F #B8BA47 #47BA82 #4847BA
square
#BA477F #B8BA47 #47BA82 #4847BA
split-complementary
#BA477F #47BA48 #47B8BA
monochromatic
#622543 #8E3561 #BA477F #CB749E #DBA0BD

Accessibility & contrast

On white

4.89
#BA477F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BA477F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA477F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA477F#FFFFFF#000000##FFFFFF
##BA477F1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586481
Deuteranopia (green-blind)
#78797C
Tritanopia (blue-blind)
#C7405D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba477f;
/* rgb */ color: rgb(186, 71, 127);
/* oklch */ color: oklch(56.9% 0.159 353.1);
Tailwind
colors: {
  custom: {
    50: '#d280a4',
    500: '#ba477f',
    950: '#000000',
  },
}
SCSS
$custom: #ba477f;
$custom-light: #d280a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba477f",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 330.783,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.15898,
    "h": 353.1
  },
  "luminance": 0.16478
}

Semantic roles & 50–950 ramp

primary
#BA477F
secondary
#95C8AF
accent
#D59653
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA477F

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

Preview Lab → · Contrast checker → · Palette generator →

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