#A5477E#A5477E

#A5477E is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.8% C 0.139 H 346.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A5477E
RGBrgb(165, 71, 126)
HSLhsl(325, 40%, 46%)
HSVhsv(325, 57%, 65%)
CMYKcmyk(0%, 57%, 23.6%, 35.3%)
CIE-LABlab(44.25, 45.11, -12.23)
CIE-LCHlch(44.25, 46.74, 344.84°)
OKLaboklab(53.76% 0.1356 -0.0322)
OKLCHoklch(53.76% 0.139 346.6)
XYZxyz(21.5369, 14.0141, 21.3053)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5477E #47A56E
analogous
#9D47A5 #A5477E #A5474F
triadic
#A5477E #7EA547 #477EA5
tetradic
#A5477E #A59D47 #47A56E #474FA5
square
#A5477E #A59D47 #47A56E #474FA5
split-complementary
#A5477E #4FA547 #47A59D
monochromatic
#4F223D #7A355D #A5477E #BF6A9C #D195B8

Accessibility & contrast

On white

5.52
#A5477E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#A5477E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5477E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5477E#FFFFFF#000000##FFFFFF
##A5477E1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F80
Deuteranopia (green-blind)
#6A6F7C
Tritanopia (blue-blind)
#AF455D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a5477e;
/* rgb */ color: rgb(165, 71, 126);
/* oklch */ color: oklch(53.8% 0.139 346.6);
Tailwind
colors: {
  custom: {
    50: '#c27fa3',
    500: '#a5477e',
    950: '#000000',
  },
}
SCSS
$custom: #a5477e;
$custom-light: #c27fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a5477e",
  "rgb": {
    "r": 165,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 324.894,
    "s": 39.831,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53765,
    "c": 0.13939,
    "h": 346.6
  },
  "luminance": 0.14012
}

Semantic roles & 50–950 ramp

primary
#A5477E
secondary
#8BBDA0
accent
#D08A58
background
#FCF7FA
surface
#F8EEF3
border
#D1C9CD
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #A5477E

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

Preview Lab → · Contrast checker → · Palette generator →

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