#BA477A#BA477A

#BA477A is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.7% C 0.157 H 355.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA477A
RGBrgb(186, 71, 122)
HSLhsl(333, 45%, 50%)
HSVhsv(333, 62%, 73%)
CMYKcmyk(0%, 61.8%, 34.4%, 27.1%)
CIE-LABlab(47.43, 51.22, -4.69)
CIE-LCHlch(47.43, 51.43, 354.77°)
OKLaboklab(56.74% 0.1563 -0.0117)
OKLCHoklch(56.74% 0.157 355.7)
XYZxyz(26.0172, 16.3535, 20.1950)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA477A #47BA87
analogous
#BA47B4 #BA477A #BA4D47
triadic
#BA477A #7ABA47 #477ABA
tetradic
#BA477A #B4BA47 #47BA87 #4D47BA
square
#BA477A #B4BA47 #47BA87 #4D47BA
split-complementary
#BA477A #47BA4D #47B4BA
monochromatic
#622540 #8E355D #BA477A #CB749A #DBA0BA

Accessibility & contrast

On white

4.92
#BA477A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BA477A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA477A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA477A#FFFFFF#000000##FFFFFF
##BA477A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A637B
Deuteranopia (green-blind)
#797877
Tritanopia (blue-blind)
#C83E5B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba477a;
/* rgb */ color: rgb(186, 71, 122);
/* oklch */ color: oklch(56.7% 0.157 355.7);
Tailwind
colors: {
  custom: {
    50: '#d380a0',
    500: '#ba477a',
    950: '#000000',
  },
}
SCSS
$custom: #ba477a;
$custom-light: #d380a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba477a",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 333.391,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56736,
    "c": 0.1567,
    "h": 355.7
  },
  "luminance": 0.16351
}

Semantic roles & 50–950 ramp

primary
#BA477A
secondary
#95C8B1
accent
#D59B53
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA477A

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

Preview Lab → · Contrast checker → · Palette generator →

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