#A42771#A42771

#A42771 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.175 H 349.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A42771
RGBrgb(164, 39, 113)
HSLhsl(324, 62%, 40%)
HSVhsv(324, 76%, 64%)
CMYKcmyk(0%, 76.2%, 31.1%, 35.7%)
CIE-LABlab(38.79, 56.27, -12.49)
CIE-LCHlch(38.79, 57.64, 347.49°)
OKLaboklab(49.55% 0.1719 -0.0327)
OKLCHoklch(49.55% 0.175 349.2)
XYZxyz(19.0170, 10.5380, 16.6522)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42771 #27A45A
analogous
#9927A4 #A42771 #A42733
triadic
#A42771 #71A427 #2771A4
tetradic
#A42771 #A49927 #27A45A #2733A4
square
#A42771 #A49927 #27A45A #2733A4
split-complementary
#A42771 #33A427 #27A499
monochromatic
#410F2D #731B4F #A42771 #D03892 #DC6AAD

Accessibility & contrast

On white

6.76
#A42771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A42771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42771
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42771#FFFFFF#000000##FFFFFF
##A427711.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#60636E
Tritanopia (blue-blind)
#B02049
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a42771;
/* rgb */ color: rgb(164, 39, 113);
/* oklch */ color: oklch(49.5% 0.175 349.2);
Tailwind
colors: {
  custom: {
    50: '#c36e99',
    500: '#a42771',
    950: '#000000',
  },
}
SCSS
$custom: #a42771;
$custom-light: #c36e99;
$custom-dark: #000000;
JSON
{
  "hex": "#a42771",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 324.48,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4955,
    "c": 0.17496,
    "h": 349.2
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#A42771
secondary
#65C28B
accent
#E58543
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42771

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

Preview Lab → · Contrast checker → · Palette generator →

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