#BA477D#BA477D

#BA477D is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.8% C 0.158 H 354.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BA477D
RGBrgb(186, 71, 125)
HSLhsl(332, 45%, 50%)
HSVhsv(332, 62%, 73%)
CMYKcmyk(0%, 61.8%, 32.8%, 27.1%)
CIE-LABlab(47.53, 51.58, -6.36)
CIE-LCHlch(47.53, 51.97, 352.97°)
OKLaboklab(56.84% 0.1572 -0.0161)
OKLCHoklch(56.84% 0.158 354.1)
XYZxyz(26.2059, 16.4290, 21.1891)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA477D #47BA84
analogous
#BA47B7 #BA477D #BA4A47
triadic
#BA477D #7DBA47 #477DBA
tetradic
#BA477D #B7BA47 #47BA84 #4A47BA
square
#BA477D #B7BA47 #47BA84 #4A47BA
split-complementary
#BA477D #47BA4A #47B7BA
monochromatic
#622541 #8E355F #BA477D #CB749C #DBA0BC

Accessibility & contrast

On white

4.90
#BA477D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#BA477D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA477D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA477D#FFFFFF#000000##FFFFFF
##BA477D1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59647F
Deuteranopia (green-blind)
#78797A
Tritanopia (blue-blind)
#C83F5C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba477d;
/* rgb */ color: rgb(186, 71, 125);
/* oklch */ color: oklch(56.8% 0.158 354.1);
Tailwind
colors: {
  custom: {
    50: '#d280a2',
    500: '#ba477d',
    950: '#000000',
  },
}
SCSS
$custom: #ba477d;
$custom-light: #d280a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba477d",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 331.826,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5684,
    "c": 0.15803,
    "h": 354.1
  },
  "luminance": 0.16426
}

Semantic roles & 50–950 ramp

primary
#BA477D
secondary
#95C8B0
accent
#D59853
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0F
muted
#837C7E

Preview Lab

Preview with #BA477D

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

Preview Lab → · Contrast checker → · Palette generator →

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