#A04787#A04787

#A04787 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.4% C 0.141 H 339.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A04787
RGBrgb(160, 71, 135)
HSLhsl(317, 39%, 45%)
HSVhsv(317, 56%, 63%)
CMYKcmyk(0%, 55.6%, 15.6%, 37.3%)
CIE-LABlab(43.84, 44.91, -18.39)
CIE-LCHlch(43.84, 48.53, 337.73°)
OKLaboklab(53.43% 0.1324 -0.0494)
OKLCHoklch(53.43% 0.141 339.5)
XYZxyz(21.1239, 13.7310, 24.4548)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04787 #47A060
analogous
#8C47A0 #A04787 #A0475A
triadic
#A04787 #87A047 #4787A0
tetradic
#A04787 #A08C47 #47A060 #475AA0
square
#A04787 #A08C47 #47A060 #475AA0
split-complementary
#A04787 #5AA047 #47A08C
monochromatic
#4B213F #763463 #A04787 #BC68A4 #CF93BE

Accessibility & contrast

On white

5.61
#A04787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A04787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04787
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04787#FFFFFF#000000##FFFFFF
##A047871.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F89
Deuteranopia (green-blind)
#646D85
Tritanopia (blue-blind)
#A84961
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a04787;
/* rgb */ color: rgb(160, 71, 135);
/* oklch */ color: oklch(53.4% 0.141 339.5);
Tailwind
colors: {
  custom: {
    50: '#be7eaa',
    500: '#a04787',
    950: '#000000',
  },
}
SCSS
$custom: #a04787;
$custom-light: #be7eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a04787",
  "rgb": {
    "r": 160,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 316.854,
    "s": 38.528,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53425,
    "c": 0.14132,
    "h": 339.5
  },
  "luminance": 0.13729
}

Semantic roles & 50–950 ramp

primary
#A04787
secondary
#88BB96
accent
#CE7A59
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #A04787

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

Preview Lab → · Contrast checker → · Palette generator →

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