#A42172#A42172

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

Color values

HEX#A42172
RGBrgb(164, 33, 114)
HSLhsl(323, 66%, 39%)
HSVhsv(323, 80%, 64%)
CMYKcmyk(0%, 79.9%, 30.5%, 35.7%)
CIE-LABlab(38.19, 58.20, -14.02)
CIE-LCHlch(38.19, 59.87, 346.45°)
OKLaboklab(49.13% 0.1778 -0.0369)
OKLCHoklch(49.13% 0.182 348.3)
XYZxyz(18.8920, 10.1973, 16.8897)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42172 #21A453
analogous
#9421A4 #A42172 #A42130
triadic
#A42172 #72A421 #2172A4
tetradic
#A42172 #A49421 #21A453 #2130A4
square
#A42172 #A49421 #21A453 #2130A4
split-complementary
#A42172 #30A421 #21A494
monochromatic
#3E0C2B #71174F #A42172 #D52D95 #DF60AF

Accessibility & contrast

On white

6.91
#A42172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A42172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42172
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42172#FFFFFF#000000##FFFFFF
##A421721.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B74
Deuteranopia (green-blind)
#5E626F
Tritanopia (blue-blind)
#B01947
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a42172;
/* rgb */ color: rgb(164, 33, 114);
/* oklch */ color: oklch(49.1% 0.182 348.3);
Tailwind
colors: {
  custom: {
    50: '#c36c9a',
    500: '#a42172',
    950: '#000000',
  },
}
SCSS
$custom: #a42172;
$custom-light: #c36c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a42172",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 322.901,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.18158,
    "h": 348.3
  },
  "luminance": 0.10195
}

Semantic roles & 50–950 ramp

primary
#A42172
secondary
#5DC484
accent
#E9803E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A42172

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

Preview Lab → · Contrast checker → · Palette generator →

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