#A42780#A42780

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

Color values

HEX#A42780
RGBrgb(164, 39, 128)
HSLhsl(317, 62%, 40%)
HSVhsv(317, 76%, 64%)
CMYKcmyk(0%, 76.2%, 22%, 35.7%)
CIE-LABlab(39.42, 58.19, -20.87)
CIE-LCHlch(39.42, 61.81, 340.27°)
OKLaboklab(50.21% 0.175 -0.056)
OKLCHoklch(50.21% 0.184 342.2)
XYZxyz(19.9323, 10.9041, 21.4729)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42780 #27A44B
analogous
#8A27A4 #A42780 #A42742
triadic
#A42780 #80A427 #2780A4
tetradic
#A42780 #A48A27 #27A44B #2742A4
square
#A42780 #A48A27 #27A44B #2742A4
split-complementary
#A42780 #42A427 #27A48A
monochromatic
#410F33 #731B59 #A42780 #D038A4 #DC6ABB

Accessibility & contrast

On white

6.60
#A42780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A42780 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42780
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42780#FFFFFF#000000##FFFFFF
##A427801.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42780;
/* rgb */ color: rgb(164, 39, 128);
/* oklch */ color: oklch(50.2% 0.184 342.2);
Tailwind
colors: {
  custom: {
    50: '#c36ea5',
    500: '#a42780',
    950: '#000000',
  },
}
SCSS
$custom: #a42780;
$custom-light: #c36ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42780",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 128
  },
  "hsl": {
    "h": 317.28,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50211,
    "c": 0.1837,
    "h": 342.2
  },
  "luminance": 0.10902
}

Semantic roles & 50–950 ramp

primary
#A42780
secondary
#65C280
accent
#E57243
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42780

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

Preview Lab → · Contrast checker → · Palette generator →

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