#A42D82#A42D82

#A42D82 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.178 H 341.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A42D82
RGBrgb(164, 45, 130)
HSLhsl(317, 57%, 41%)
HSVhsv(317, 73%, 64%)
CMYKcmyk(0%, 72.6%, 20.7%, 35.7%)
CIE-LABlab(40.22, 56.45, -20.86)
CIE-LCHlch(40.22, 60.18, 339.71°)
OKLaboklab(50.82% 0.1691 -0.056)
OKLCHoklch(50.82% 0.178 341.7)
XYZxyz(20.2781, 11.3830, 22.2440)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D82 #2DA44F
analogous
#8A2DA4 #A42D82 #A42D46
triadic
#A42D82 #82A42D #2D82A4
tetradic
#A42D82 #A48A2D #2DA44F #2D46A4
square
#A42D82 #A48A2D #2DA44F #2D46A4
split-complementary
#A42D82 #46A42D #2DA48A
monochromatic
#441336 #74205C #A42D82 #CB43A4 #D973BB

Accessibility & contrast

On white

6.41
#A42D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A42D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D82
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D82#FFFFFF#000000##FFFFFF
##A42D821.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375284
Deuteranopia (green-blind)
#5C667F
Tritanopia (blue-blind)
#AE2F54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42d82;
/* rgb */ color: rgb(164, 45, 130);
/* oklch */ color: oklch(50.8% 0.178 341.7);
Tailwind
colors: {
  custom: {
    50: '#c371a6',
    500: '#a42d82',
    950: '#000000',
  },
}
SCSS
$custom: #a42d82;
$custom-light: #c371a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d82",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 317.143,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50821,
    "c": 0.17818,
    "h": 341.7
  },
  "luminance": 0.11381
}

Semantic roles & 50–950 ramp

primary
#A42D82
secondary
#6DC085
accent
#E07348
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42D82

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

Preview Lab → · Contrast checker → · Palette generator →

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