#A02781#A02781

#A02781 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.182 H 340.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A02781
RGBrgb(160, 39, 129)
HSLhsl(315, 61%, 39%)
HSVhsv(315, 76%, 63%)
CMYKcmyk(0%, 75.6%, 19.4%, 37.3%)
CIE-LABlab(38.75, 57.33, -22.58)
CIE-LCHlch(38.75, 61.62, 338.50°)
OKLaboklab(49.6% 0.1713 -0.0609)
OKLCHoklch(49.6% 0.182 340.4)
XYZxyz(19.1857, 10.5115, 21.7831)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02781 #27A046
analogous
#8327A0 #A02781 #A02745
triadic
#A02781 #81A027 #2781A0
tetradic
#A02781 #A08327 #27A046 #2745A0
square
#A02781 #A08327 #27A046 #2745A0
split-complementary
#A02781 #45A027 #27A083
monochromatic
#3E0F32 #6F1B59 #A02781 #CE36A7 #DA67BD

Accessibility & contrast

On white

6.77
#A02781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A02781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02781
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02781#FFFFFF#000000##FFFFFF
##A027811.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F83
Deuteranopia (green-blind)
#58627E
Tritanopia (blue-blind)
#AA2B51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a02781;
/* rgb */ color: rgb(160, 39, 129);
/* oklch */ color: oklch(49.6% 0.182 340.4);
Tailwind
colors: {
  custom: {
    50: '#c06ea6',
    500: '#a02781',
    950: '#000000',
  },
}
SCSS
$custom: #a02781;
$custom-light: #c06ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02781",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 129
  },
  "hsl": {
    "h": 315.372,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49604,
    "c": 0.18179,
    "h": 340.4
  },
  "luminance": 0.1051
}

Semantic roles & 50–950 ramp

primary
#A02781
secondary
#63C07B
accent
#E46D44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A02781

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

Preview Lab → · Contrast checker → · Palette generator →

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