#A02771#A02771

#A02771 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.172 H 347.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A02771
RGBrgb(160, 39, 113)
HSLhsl(323, 61%, 39%)
HSVhsv(323, 76%, 63%)
CMYKcmyk(0%, 75.6%, 29.4%, 37.3%)
CIE-LABlab(38.05, 55.22, -13.68)
CIE-LCHlch(38.05, 56.89, 346.09°)
OKLaboklab(48.88% 0.1682 -0.036)
OKLCHoklch(48.88% 0.172 347.9)
XYZxyz(18.2043, 10.1189, 16.6141)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02771 #27A056
analogous
#9327A0 #A02771 #A02735
triadic
#A02771 #71A027 #2771A0
tetradic
#A02771 #A09327 #27A056 #2735A0
square
#A02771 #A09327 #27A056 #2735A0
split-complementary
#A02771 #35A027 #27A093
monochromatic
#3E0F2B #6F1B4E #A02771 #CE3693 #DA67AD

Accessibility & contrast

On white

6.95
#A02771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A02771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02771
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02771#FFFFFF#000000##FFFFFF
##A027711.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#5D616E
Tritanopia (blue-blind)
#AC2249
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a02771;
/* rgb */ color: rgb(160, 39, 113);
/* oklch */ color: oklch(48.9% 0.172 347.9);
Tailwind
colors: {
  custom: {
    50: '#c06d9a',
    500: '#a02771',
    950: '#000000',
  },
}
SCSS
$custom: #a02771;
$custom-light: #c06d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a02771",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 323.306,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48878,
    "c": 0.17205,
    "h": 347.9
  },
  "luminance": 0.10117
}

Semantic roles & 50–950 ramp

primary
#A02771
secondary
#63C087
accent
#E48244
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A02771

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

Preview Lab → · Contrast checker → · Palette generator →

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