#A42872#A42872

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

Color values

HEX#A42872
RGBrgb(164, 40, 114)
HSLhsl(324, 61%, 40%)
HSVhsv(324, 76%, 64%)
CMYKcmyk(0%, 75.6%, 30.5%, 35.7%)
CIE-LABlab(38.95, 56.07, -12.88)
CIE-LCHlch(38.95, 57.53, 347.06°)
OKLaboklab(49.68% 0.1711 -0.0338)
OKLCHoklch(49.68% 0.174 348.8)
XYZxyz(19.1069, 10.6272, 16.9614)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42872 #28A45A
analogous
#9828A4 #A42872 #A42834
triadic
#A42872 #72A428 #2872A4
tetradic
#A42872 #A49828 #28A45A #2834A4
square
#A42872 #A49828 #28A45A #2834A4
split-complementary
#A42872 #34A428 #28A498
monochromatic
#42102E #731C50 #A42872 #CF3A93 #DB6BAE

Accessibility & contrast

On white

6.72
#A42872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A42872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42872
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42872#FFFFFF#000000##FFFFFF
##A428721.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E74
Deuteranopia (green-blind)
#60646F
Tritanopia (blue-blind)
#B0214A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42872;
/* rgb */ color: rgb(164, 40, 114);
/* oklch */ color: oklch(49.7% 0.174 348.8);
Tailwind
colors: {
  custom: {
    50: '#c36e9a',
    500: '#a42872',
    950: '#000000',
  },
}
SCSS
$custom: #a42872;
$custom-light: #c36e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a42872",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 324.194,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.1744,
    "h": 348.8
  },
  "luminance": 0.10625
}

Semantic roles & 50–950 ramp

primary
#A42872
secondary
#66C18B
accent
#E48444
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42872

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

Preview Lab → · Contrast checker → · Palette generator →

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