#A45797#A45797

#A45797 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.0% C 0.130 H 333.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A45797
RGBrgb(164, 87, 151)
HSLhsl(310, 31%, 49%)
HSVhsv(310, 47%, 64%)
CMYKcmyk(0%, 47%, 7.9%, 35.7%)
CIE-LABlab(48.19, 40.68, -21.27)
CIE-LCHlch(48.19, 45.90, 332.39°)
OKLaboklab(56.99% 0.1168 -0.0576)
OKLCHoklch(56.99% 0.13 333.8)
XYZxyz(24.3039, 16.9447, 31.2627)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45797 #57A464
analogous
#8B57A4 #A45797 #A45771
triadic
#A45797 #97A457 #5797A4
tetradic
#A45797 #A48B57 #57A464 #5771A4
square
#A45797 #A48B57 #57A464 #5771A4
split-complementary
#A45797 #71A457 #57A48B
monochromatic
#542D4D #7C4272 #A45797 #BA7EB0 #D0A6C9

Accessibility & contrast

On white

4.79
#A45797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A45797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A45797
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45797#FFFFFF#000000##FFFFFF
##A457971.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566B99
Deuteranopia (green-blind)
#6B7695
Tritanopia (blue-blind)
#AA5B70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a45797;
/* rgb */ color: rgb(164, 87, 151);
/* oklch */ color: oklch(57.0% 0.130 333.8);
Tailwind
colors: {
  custom: {
    50: '#c189b5',
    500: '#a45797',
    950: '#000000',
  },
}
SCSS
$custom: #a45797;
$custom-light: #c189b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a45797",
  "rgb": {
    "r": 164,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 310.13,
    "s": 30.677,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56988,
    "c": 0.1302,
    "h": 333.8
  },
  "luminance": 0.16943
}

Semantic roles & 50–950 ramp

primary
#A45797
secondary
#99BDA0
accent
#C77261
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#120C11
muted
#817D80

Preview Lab

Preview with #A45797

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

Preview Lab → · Contrast checker → · Palette generator →

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