#A42781#A42781

#A42781 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.184 H 341.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A42781
RGBrgb(164, 39, 129)
HSLhsl(317, 62%, 40%)
HSVhsv(317, 76%, 64%)
CMYKcmyk(0%, 76.2%, 21.3%, 35.7%)
CIE-LABlab(39.46, 58.32, -21.41)
CIE-LCHlch(39.46, 62.13, 339.84°)
OKLaboklab(50.26% 0.1751 -0.0576)
OKLCHoklch(50.26% 0.184 341.8)
XYZxyz(19.9985, 10.9306, 21.8212)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42781 #27A44A
analogous
#8927A4 #A42781 #A42743
triadic
#A42781 #81A427 #2781A4
tetradic
#A42781 #A48927 #27A44A #2743A4
square
#A42781 #A48927 #27A44A #2743A4
split-complementary
#A42781 #43A427 #27A489
monochromatic
#410F33 #731B5A #A42781 #D038A5 #DC6ABC

Accessibility & contrast

On white

6.59
#A42781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42781
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42781#FFFFFF#000000##FFFFFF
##A427811.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42781;
/* rgb */ color: rgb(164, 39, 129);
/* oklch */ color: oklch(50.3% 0.184 341.8);
Tailwind
colors: {
  custom: {
    50: '#c36ea5',
    500: '#a42781',
    950: '#000000',
  },
}
SCSS
$custom: #a42781;
$custom-light: #c36ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42781",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 129
  },
  "hsl": {
    "h": 316.8,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50258,
    "c": 0.18433,
    "h": 341.8
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#A42781
secondary
#65C27F
accent
#E57043
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42781

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

Preview Lab → · Contrast checker → · Palette generator →

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