#A02872#A02872

#A02872 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.171 H 347.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A02872
RGBrgb(160, 40, 114)
HSLhsl(323, 60%, 39%)
HSVhsv(323, 75%, 63%)
CMYKcmyk(0%, 75%, 28.8%, 37.3%)
CIE-LABlab(38.21, 55.01, -14.06)
CIE-LCHlch(38.21, 56.78, 345.66°)
OKLaboklab(49.01% 0.1674 -0.0371)
OKLCHoklch(49.01% 0.171 347.5)
XYZxyz(18.2941, 10.2081, 16.9233)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02872 #28A056
analogous
#9228A0 #A02872 #A02836
triadic
#A02872 #72A028 #2872A0
tetradic
#A02872 #A09228 #28A056 #2836A0
square
#A02872 #A09228 #28A056 #2836A0
split-complementary
#A02872 #36A028 #28A092
monochromatic
#3E102C #6F1C4F #A02872 #CD3894 #D969AE

Accessibility & contrast

On white

6.91
#A02872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A02872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02872
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02872#FFFFFF#000000##FFFFFF
##A028721.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D74
Deuteranopia (green-blind)
#5D616F
Tritanopia (blue-blind)
#AB2349
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a02872;
/* rgb */ color: rgb(160, 40, 114);
/* oklch */ color: oklch(49.0% 0.171 347.5);
Tailwind
colors: {
  custom: {
    50: '#c06e9a',
    500: '#a02872',
    950: '#000000',
  },
}
SCSS
$custom: #a02872;
$custom-light: #c06e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a02872",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 323,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49006,
    "c": 0.17149,
    "h": 347.5
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#A02872
secondary
#64C087
accent
#E38145
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A02872

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

Preview Lab → · Contrast checker → · Palette generator →

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