#A42879#A42879

#A42879 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.178 H 345.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A42879
RGBrgb(164, 40, 121)
HSLhsl(321, 61%, 40%)
HSVhsv(321, 76%, 64%)
CMYKcmyk(0%, 75.6%, 26.2%, 35.7%)
CIE-LABlab(39.23, 56.94, -16.81)
CIE-LCHlch(39.23, 59.37, 343.55°)
OKLaboklab(49.98% 0.1727 -0.0447)
OKLCHoklch(49.98% 0.178 345.5)
XYZxyz(19.5207, 10.7927, 19.1406)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42879 #28A453
analogous
#9128A4 #A42879 #A4283B
triadic
#A42879 #79A428 #2879A4
tetradic
#A42879 #A49128 #28A453 #283BA4
square
#A42879 #A49128 #28A453 #283BA4
split-complementary
#A42879 #3BA428 #28A491
monochromatic
#421030 #731C55 #A42879 #CF3A9B #DB6BB4

Accessibility & contrast

On white

6.65
#A42879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A42879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42879
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42879#FFFFFF#000000##FFFFFF
##A428791.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7B
Deuteranopia (green-blind)
#5E6476
Tritanopia (blue-blind)
#AF254D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42879;
/* rgb */ color: rgb(164, 40, 121);
/* oklch */ color: oklch(50.0% 0.178 345.5);
Tailwind
colors: {
  custom: {
    50: '#c36f9f',
    500: '#a42879',
    950: '#000000',
  },
}
SCSS
$custom: #a42879;
$custom-light: #c36f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a42879",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 320.806,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.49975,
    "c": 0.17834,
    "h": 345.5
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#A42879
secondary
#66C186
accent
#E47B44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42879

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

Preview Lab → · Contrast checker → · Palette generator →

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