#A42171#A42171

#A42171 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.181 H 348.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A42171
RGBrgb(164, 33, 113)
HSLhsl(323, 66%, 39%)
HSVhsv(323, 80%, 64%)
CMYKcmyk(0%, 79.9%, 31.1%, 35.7%)
CIE-LABlab(38.15, 58.08, -13.46)
CIE-LCHlch(38.15, 59.62, 346.96°)
OKLaboklab(49.09% 0.1776 -0.0353)
OKLCHoklch(49.09% 0.181 348.8)
XYZxyz(18.8354, 10.1747, 16.5916)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42171 #21A454
analogous
#9521A4 #A42171 #A4212F
triadic
#A42171 #71A421 #2171A4
tetradic
#A42171 #A49521 #21A454 #212FA4
square
#A42171 #A49521 #21A454 #212FA4
split-complementary
#A42171 #2FA421 #21A495
monochromatic
#3E0C2B #71174E #A42171 #D52D94 #DF60AE

Accessibility & contrast

On white

6.92
#A42171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A42171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42171
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42171#FFFFFF#000000##FFFFFF
##A421711.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#5E626E
Tritanopia (blue-blind)
#B01847
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a42171;
/* rgb */ color: rgb(164, 33, 113);
/* oklch */ color: oklch(49.1% 0.181 348.8);
Tailwind
colors: {
  custom: {
    50: '#c46c99',
    500: '#a42171',
    950: '#000000',
  },
}
SCSS
$custom: #a42171;
$custom-light: #c46c99;
$custom-dark: #000000;
JSON
{
  "hex": "#a42171",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 113
  },
  "hsl": {
    "h": 323.359,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49087,
    "c": 0.18105,
    "h": 348.8
  },
  "luminance": 0.10172
}

Semantic roles & 50–950 ramp

primary
#A42171
secondary
#5DC485
accent
#E9813E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A42171

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

Preview Lab → · Contrast checker → · Palette generator →

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