#A02787#A02787

#A02787 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.186 H 337.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A02787
RGBrgb(160, 39, 135)
HSLhsl(312, 61%, 39%)
HSVhsv(312, 76%, 63%)
CMYKcmyk(0%, 75.6%, 15.6%, 37.3%)
CIE-LABlab(39.03, 58.19, -25.84)
CIE-LCHlch(39.03, 63.67, 336.05°)
OKLaboklab(49.9% 0.1721 -0.0702)
OKLCHoklch(49.9% 0.186 337.8)
XYZxyz(19.5963, 10.6758, 23.9455)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02787 #27A040
analogous
#7D27A0 #A02787 #A0274B
triadic
#A02787 #87A027 #2787A0
tetradic
#A02787 #A07D27 #27A040 #274BA0
square
#A02787 #A07D27 #27A040 #274BA0
split-complementary
#A02787 #4BA027 #27A07D
monochromatic
#3E0F34 #6F1B5D #A02787 #CE36AF #DA67C2

Accessibility & contrast

On white

6.70
#A02787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A02787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02787
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02787#FFFFFF#000000##FFFFFF
##A027871.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C508A
Deuteranopia (green-blind)
#556384
Tritanopia (blue-blind)
#A92E54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02787;
/* rgb */ color: rgb(160, 39, 135);
/* oklch */ color: oklch(49.9% 0.186 337.8);
Tailwind
colors: {
  custom: {
    50: '#c06eaa',
    500: '#a02787',
    950: '#000000',
  },
}
SCSS
$custom: #a02787;
$custom-light: #c06eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a02787",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 312.397,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49902,
    "c": 0.18583,
    "h": 337.8
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#A02787
secondary
#63C076
accent
#E46544
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02787

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

Preview Lab → · Contrast checker → · Palette generator →

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