#A02778#A02778

#A02778 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.176 H 344.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A02778
RGBrgb(160, 39, 120)
HSLhsl(320, 61%, 39%)
HSVhsv(320, 76%, 63%)
CMYKcmyk(0%, 75.6%, 25%, 37.3%)
CIE-LABlab(38.35, 56.11, -17.61)
CIE-LCHlch(38.35, 58.81, 342.58°)
OKLaboklab(49.18% 0.1697 -0.0469)
OKLCHoklch(49.18% 0.176 344.5)
XYZxyz(18.6136, 10.2827, 18.7702)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02778 #27A04F
analogous
#8C27A0 #A02778 #A0273C
triadic
#A02778 #78A027 #2778A0
tetradic
#A02778 #A08C27 #27A04F #273CA0
square
#A02778 #A08C27 #27A04F #273CA0
split-complementary
#A02778 #3CA027 #27A08C
monochromatic
#3E0F2E #6F1B53 #A02778 #CE369C #DA67B4

Accessibility & contrast

On white

6.87
#A02778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A02778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02778
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02778#FFFFFF#000000##FFFFFF
##A027781.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D7A
Deuteranopia (green-blind)
#5B6275
Tritanopia (blue-blind)
#AB264C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a02778;
/* rgb */ color: rgb(160, 39, 120);
/* oklch */ color: oklch(49.2% 0.176 344.5);
Tailwind
colors: {
  custom: {
    50: '#c06e9f',
    500: '#a02778',
    950: '#000000',
  },
}
SCSS
$custom: #a02778;
$custom-light: #c06e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a02778",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 319.835,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49184,
    "c": 0.17611,
    "h": 344.5
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#A02778
secondary
#63C082
accent
#E47944
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A02778

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

Preview Lab → · Contrast checker → · Palette generator →

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