#A42786#A42786

#A42786 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.188 H 339.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A42786
RGBrgb(164, 39, 134)
HSLhsl(314, 62%, 40%)
HSVhsv(314, 76%, 64%)
CMYKcmyk(0%, 76.2%, 18.3%, 35.7%)
CIE-LABlab(39.69, 59.01, -24.14)
CIE-LCHlch(39.69, 63.76, 337.75°)
OKLaboklab(50.5% 0.1758 -0.0653)
OKLCHoklch(50.5% 0.188 339.6)
XYZxyz(20.3390, 11.0668, 23.6146)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42786 #27A445
analogous
#8427A4 #A42786 #A42748
triadic
#A42786 #86A427 #2786A4
tetradic
#A42786 #A48427 #27A445 #2748A4
square
#A42786 #A48427 #27A445 #2748A4
split-complementary
#A42786 #48A427 #27A484
monochromatic
#410F35 #731B5E #A42786 #D038AB #DC6AC0

Accessibility & contrast

On white

6.54
#A42786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A42786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42786
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42786#FFFFFF#000000##FFFFFF
##A427861.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305189
Deuteranopia (green-blind)
#596583
Tritanopia (blue-blind)
#AE2C54
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42786;
/* rgb */ color: rgb(164, 39, 134);
/* oklch */ color: oklch(50.5% 0.188 339.6);
Tailwind
colors: {
  custom: {
    50: '#c36fa9',
    500: '#a42786',
    950: '#000000',
  },
}
SCSS
$custom: #a42786;
$custom-light: #c36fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#a42786",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 314.4,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50499,
    "c": 0.18756,
    "h": 339.6
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#A42786
secondary
#65C27B
accent
#E56A43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42786

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

Preview Lab → · Contrast checker → · Palette generator →

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