#A42582#A42582

#A42582 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.187 H 341.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A42582
RGBrgb(164, 37, 130)
HSLhsl(316, 63%, 39%)
HSVhsv(316, 77%, 64%)
CMYKcmyk(0%, 77.4%, 20.7%, 35.7%)
CIE-LABlab(39.29, 59.08, -22.30)
CIE-LCHlch(39.29, 63.14, 339.32°)
OKLaboklab(50.15% 0.1772 -0.06)
OKLCHoklch(50.15% 0.187 341.3)
XYZxyz(20.0013, 10.8294, 22.1517)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42582 #25A447
analogous
#8725A4 #A42582 #A42543
triadic
#A42582 #82A425 #2582A4
tetradic
#A42582 #A48725 #25A447 #2543A4
square
#A42582 #A48725 #25A447 #2543A4
split-complementary
#A42582 #43A425 #25A487
monochromatic
#400E33 #721A5A #A42582 #D135A7 #DD67BD

Accessibility & contrast

On white

6.63
#A42582 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A42582 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42582
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42582#FFFFFF#000000##FFFFFF
##A425821.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42582;
/* rgb */ color: rgb(164, 37, 130);
/* oklch */ color: oklch(50.1% 0.187 341.3);
Tailwind
colors: {
  custom: {
    50: '#c36ea6',
    500: '#a42582',
    950: '#000000',
  },
}
SCSS
$custom: #a42582;
$custom-light: #c36ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42582",
  "rgb": {
    "r": 164,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 316.063,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50149,
    "c": 0.18705,
    "h": 341.3
  },
  "luminance": 0.10827
}

Semantic roles & 50–950 ramp

primary
#A42582
secondary
#62C27C
accent
#E66E42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42582

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

Preview Lab → · Contrast checker → · Palette generator →

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