#A42682#A42682

#A42682 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.186 H 341.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A42682
RGBrgb(164, 38, 130)
HSLhsl(316, 62%, 40%)
HSVhsv(316, 77%, 64%)
CMYKcmyk(0%, 76.8%, 20.7%, 35.7%)
CIE-LABlab(39.40, 58.77, -22.13)
CIE-LCHlch(39.40, 62.80, 339.36°)
OKLaboklab(50.23% 0.1762 -0.0596)
OKLCHoklch(50.23% 0.186 341.3)
XYZxyz(20.0329, 10.8925, 22.1622)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42682 #26A448
analogous
#8726A4 #A42682 #A42643
triadic
#A42682 #82A426 #2682A4
tetradic
#A42682 #A48726 #26A448 #2643A4
square
#A42682 #A48726 #26A448 #2643A4
split-complementary
#A42682 #43A426 #26A487
monochromatic
#410F33 #721A5B #A42682 #D137A7 #DC68BD

Accessibility & contrast

On white

6.61
#A42682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A42682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42682
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42682#FFFFFF#000000##FFFFFF
##A426821.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315084
Deuteranopia (green-blind)
#5A647F
Tritanopia (blue-blind)
#AE2951
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42682;
/* rgb */ color: rgb(164, 38, 130);
/* oklch */ color: oklch(50.2% 0.186 341.3);
Tailwind
colors: {
  custom: {
    50: '#c36ea6',
    500: '#a42682',
    950: '#000000',
  },
}
SCSS
$custom: #a42682;
$custom-light: #c36ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42682",
  "rgb": {
    "r": 164,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 316.19,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50227,
    "c": 0.18602,
    "h": 341.3
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#A42682
secondary
#64C27D
accent
#E56E42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42682

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

Preview Lab → · Contrast checker → · Palette generator →

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