#BA477E#BA477E

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

Color values

HEX#BA477E
RGBrgb(186, 71, 126)
HSLhsl(331, 45%, 50%)
HSVhsv(331, 62%, 73%)
CMYKcmyk(0%, 61.8%, 32.3%, 27.1%)
CIE-LABlab(47.57, 51.71, -6.92)
CIE-LCHlch(47.57, 52.17, 352.38°)
OKLaboklab(56.88% 0.1575 -0.0176)
OKLCHoklch(56.88% 0.158 353.6)
XYZxyz(26.2701, 16.4547, 21.5272)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA477E #47BA83
analogous
#BA47B8 #BA477E #BA4947
triadic
#BA477E #7EBA47 #477EBA
tetradic
#BA477E #B8BA47 #47BA83 #4947BA
square
#BA477E #B8BA47 #47BA83 #4947BA
split-complementary
#BA477E #47BA49 #47B8BA
monochromatic
#622542 #8E3560 #BA477E #CB749D #DBA0BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA477E#FFFFFF#000000##FFFFFF
##BA477E1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586480
Deuteranopia (green-blind)
#78797B
Tritanopia (blue-blind)
#C8405D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba477e;
/* rgb */ color: rgb(186, 71, 126);
/* oklch */ color: oklch(56.9% 0.158 353.6);
Tailwind
colors: {
  custom: {
    50: '#d280a3',
    500: '#ba477e',
    950: '#000000',
  },
}
SCSS
$custom: #ba477e;
$custom-light: #d280a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba477e",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 331.304,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56876,
    "c": 0.15849,
    "h": 353.6
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#BA477E
secondary
#95C8B0
accent
#D59753
background
#FDF8FA
surface
#FAEFF3
border
#D3CACD
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA477E

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

Preview Lab → · Contrast checker → · Palette generator →

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