#A42871#A42871

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

Color values

HEX#A42871
RGBrgb(164, 40, 113)
HSLhsl(325, 61%, 40%)
HSVhsv(325, 76%, 64%)
CMYKcmyk(0%, 75.6%, 31.1%, 35.7%)
CIE-LABlab(38.91, 55.95, -12.31)
CIE-LCHlch(38.91, 57.29, 347.59°)
OKLaboklab(49.63% 0.1709 -0.0322)
OKLCHoklch(49.63% 0.174 349.3)
XYZxyz(19.0503, 10.6045, 16.6632)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42871 #28A45B
analogous
#9928A4 #A42871 #A42833
triadic
#A42871 #71A428 #2871A4
tetradic
#A42871 #A49928 #28A45B #2833A4
square
#A42871 #A49928 #28A45B #2833A4
split-complementary
#A42871 #33A428 #28A499
monochromatic
#42102D #731C4F #A42871 #CF3A92 #DB6BAD

Accessibility & contrast

On white

6.73
#A42871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42871
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42871#FFFFFF#000000##FFFFFF
##A428711.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E73
Deuteranopia (green-blind)
#60636E
Tritanopia (blue-blind)
#B02149
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42871;
/* rgb */ color: rgb(164, 40, 113);
/* oklch */ color: oklch(49.6% 0.174 349.3);
Tailwind
colors: {
  custom: {
    50: '#c36e99',
    500: '#a42871',
    950: '#000000',
  },
}
SCSS
$custom: #a42871;
$custom-light: #c36e99;
$custom-dark: #000000;
JSON
{
  "hex": "#a42871",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 324.677,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.49634,
    "c": 0.17387,
    "h": 349.3
  },
  "luminance": 0.10602
}

Semantic roles & 50–950 ramp

primary
#A42871
secondary
#66C18C
accent
#E48644
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42871

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

Preview Lab → · Contrast checker → · Palette generator →

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