#A5477C#A5477C

#A5477C is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.7% C 0.138 H 347.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A5477C
RGBrgb(165, 71, 124)
HSLhsl(326, 40%, 46%)
HSVhsv(326, 57%, 65%)
CMYKcmyk(0%, 57%, 24.8%, 35.3%)
CIE-LABlab(44.18, 44.83, -11.12)
CIE-LCHlch(44.18, 46.18, 346.07°)
OKLaboklab(53.69% 0.135 -0.0292)
OKLCHoklch(53.69% 0.138 347.8)
XYZxyz(21.4091, 13.9630, 20.6325)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5477C #47A570
analogous
#9F47A5 #A5477C #A5474D
triadic
#A5477C #7CA547 #477CA5
tetradic
#A5477C #A59F47 #47A570 #474DA5
square
#A5477C #A59F47 #47A570 #474DA5
split-complementary
#A5477C #4DA547 #47A59F
monochromatic
#4F223C #7A355C #A5477C #BF6A9A #D195B7

Accessibility & contrast

On white

5.54
#A5477C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A5477C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5477C
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5477C#FFFFFF#000000##FFFFFF
##A5477C1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7E
Deuteranopia (green-blind)
#6B6E7A
Tritanopia (blue-blind)
#B0455C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a5477c;
/* rgb */ color: rgb(165, 71, 124);
/* oklch */ color: oklch(53.7% 0.138 347.8);
Tailwind
colors: {
  custom: {
    50: '#c27ea2',
    500: '#a5477c',
    950: '#000000',
  },
}
SCSS
$custom: #a5477c;
$custom-light: #c27ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5477c",
  "rgb": {
    "r": 165,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 326.17,
    "s": 39.831,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53687,
    "c": 0.13816,
    "h": 347.8
  },
  "luminance": 0.13961
}

Semantic roles & 50–950 ramp

primary
#A5477C
secondary
#8BBDA1
accent
#D08C58
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#130A0F
muted
#827C7E

Preview Lab

Preview with #A5477C

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

Preview Lab → · Contrast checker → · Palette generator →

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