#A42A71#A42A71

#A42A71 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.172 H 349.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A42A71
RGBrgb(164, 42, 113)
HSLhsl(325, 59%, 40%)
HSVhsv(325, 74%, 64%)
CMYKcmyk(0%, 74.4%, 31.1%, 35.7%)
CIE-LABlab(39.14, 55.27, -11.95)
CIE-LCHlch(39.14, 56.55, 347.80°)
OKLaboklab(49.81% 0.1688 -0.0312)
OKLCHoklch(49.81% 0.172 349.5)
XYZxyz(19.1194, 10.7429, 16.6863)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A71 #2AA45D
analogous
#9A2AA4 #A42A71 #A42A34
triadic
#A42A71 #71A42A #2A71A4
tetradic
#A42A71 #A49A2A #2AA45D #2A34A4
square
#A42A71 #A49A2A #2AA45D #2A34A4
split-complementary
#A42A71 #34A42A #2AA49A
monochromatic
#43112E #731E4F #A42A71 #CD3E91 #DA6EAD

Accessibility & contrast

On white

6.67
#A42A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A42A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A71
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A71#FFFFFF#000000##FFFFFF
##A42A711.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E73
Deuteranopia (green-blind)
#61646E
Tritanopia (blue-blind)
#B0234A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42a71;
/* rgb */ color: rgb(164, 42, 113);
/* oklch */ color: oklch(49.8% 0.172 349.5);
Tailwind
colors: {
  custom: {
    50: '#c36f99',
    500: '#a42a71',
    950: '#000000',
  },
}
SCSS
$custom: #a42a71;
$custom-light: #c36f99;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a71",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 325.082,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49808,
    "c": 0.17162,
    "h": 349.5
  },
  "luminance": 0.10741
}

Semantic roles & 50–950 ramp

primary
#A42A71
secondary
#69C18E
accent
#E28745
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42A71

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

Preview Lab → · Contrast checker → · Palette generator →

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