#A42A78#A42A78

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

Color values

HEX#A42A78
RGBrgb(164, 42, 120)
HSLhsl(322, 59%, 40%)
HSVhsv(322, 74%, 64%)
CMYKcmyk(0%, 74.4%, 26.8%, 35.7%)
CIE-LABlab(39.42, 56.15, -15.90)
CIE-LCHlch(39.42, 58.36, 344.19°)
OKLaboklab(50.1% 0.1704 -0.0421)
OKLCHoklch(50.1% 0.176 346.1)
XYZxyz(19.5288, 10.9066, 18.8424)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A78 #2AA456
analogous
#932AA4 #A42A78 #A42A3B
triadic
#A42A78 #78A42A #2A78A4
tetradic
#A42A78 #A4932A #2AA456 #2A3BA4
square
#A42A78 #A4932A #2AA456 #2A3BA4
split-complementary
#A42A78 #3BA42A #2AA493
monochromatic
#431131 #731E54 #A42A78 #CD3E9A #DA6EB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42A78#FFFFFF#000000##FFFFFF
##A42A781.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)
#3A507A
Deuteranopia (green-blind)
#5F6475
Tritanopia (blue-blind)
#AF274D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42a78;
/* rgb */ color: rgb(164, 42, 120);
/* oklch */ color: oklch(50.1% 0.176 346.1);
Tailwind
colors: {
  custom: {
    50: '#c36f9f',
    500: '#a42a78',
    950: '#000000',
  },
}
SCSS
$custom: #a42a78;
$custom-light: #c36f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a78",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 321.639,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50102,
    "c": 0.17552,
    "h": 346.1
  },
  "luminance": 0.10905
}

Semantic roles & 50–950 ramp

primary
#A42A78
secondary
#69C189
accent
#E27E45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42A78

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

Preview Lab → · Contrast checker → · Palette generator →

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