#A02881#A02881

#A02881 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.181 H 340.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A02881
RGBrgb(160, 40, 129)
HSLhsl(316, 60%, 39%)
HSVhsv(316, 75%, 63%)
CMYKcmyk(0%, 75%, 19.4%, 37.3%)
CIE-LABlab(38.86, 57.00, -22.41)
CIE-LCHlch(38.86, 61.25, 338.54°)
OKLaboklab(49.69% 0.1703 -0.0604)
OKLCHoklch(49.69% 0.181 340.5)
XYZxyz(19.2190, 10.5781, 21.7942)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02881 #28A047
analogous
#8328A0 #A02881 #A02845
triadic
#A02881 #81A028 #2881A0
tetradic
#A02881 #A08328 #28A047 #2845A0
square
#A02881 #A08328 #28A047 #2845A0
split-complementary
#A02881 #45A028 #28A083
monochromatic
#3E1032 #6F1C5A #A02881 #CD38A7 #D969BC

Accessibility & contrast

On white

6.74
#A02881 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A02881 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02881
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02881#FFFFFF#000000##FFFFFF
##A028811.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a02881;
/* rgb */ color: rgb(160, 40, 129);
/* oklch */ color: oklch(49.7% 0.181 340.5);
Tailwind
colors: {
  custom: {
    50: '#c06ea6',
    500: '#a02881',
    950: '#000000',
  },
}
SCSS
$custom: #a02881;
$custom-light: #c06ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02881",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 129
  },
  "hsl": {
    "h": 315.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49688,
    "c": 0.18069,
    "h": 340.5
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#A02881
secondary
#64C07C
accent
#E36E45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A02881

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

Preview Lab → · Contrast checker → · Palette generator →

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