#A42782#A42782

#A42782 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.185 H 341.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A42782
RGBrgb(164, 39, 130)
HSLhsl(316, 62%, 40%)
HSVhsv(316, 76%, 64%)
CMYKcmyk(0%, 76.2%, 20.7%, 35.7%)
CIE-LABlab(39.51, 58.46, -21.96)
CIE-LCHlch(39.51, 62.45, 339.41°)
OKLaboklab(50.31% 0.1753 -0.0591)
OKLCHoklch(50.31% 0.185 341.4)
XYZxyz(20.0653, 10.9573, 22.1730)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42782 #27A449
analogous
#8827A4 #A42782 #A42744
triadic
#A42782 #82A427 #2782A4
tetradic
#A42782 #A48827 #27A449 #2744A4
square
#A42782 #A48827 #27A449 #2744A4
split-complementary
#A42782 #44A427 #27A488
monochromatic
#410F34 #731B5B #A42782 #D038A7 #DC6ABD

Accessibility & contrast

On white

6.58
#A42782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A42782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42782
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42782#FFFFFF#000000##FFFFFF
##A427821.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42782;
/* rgb */ color: rgb(164, 39, 130);
/* oklch */ color: oklch(50.3% 0.185 341.4);
Tailwind
colors: {
  custom: {
    50: '#c36ea6',
    500: '#a42782',
    950: '#000000',
  },
}
SCSS
$custom: #a42782;
$custom-light: #c36ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42782",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 316.32,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50306,
    "c": 0.18497,
    "h": 341.4
  },
  "luminance": 0.10955
}

Semantic roles & 50–950 ramp

primary
#A42782
secondary
#65C27E
accent
#E56F43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42782

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

Preview Lab → · Contrast checker → · Palette generator →

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