#A42979#A42979

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

Color values

HEX#A42979
RGBrgb(164, 41, 121)
HSLhsl(321, 60%, 40%)
HSVhsv(321, 75%, 64%)
CMYKcmyk(0%, 75%, 26.2%, 35.7%)
CIE-LABlab(39.35, 56.61, -16.64)
CIE-LCHlch(39.35, 59.01, 343.62°)
OKLaboklab(50.06% 0.1716 -0.0442)
OKLCHoklch(50.06% 0.177 345.6)
XYZxyz(19.5548, 10.8610, 19.1520)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42979 #29A454
analogous
#9229A4 #A42979 #A4293B
triadic
#A42979 #79A429 #2979A4
tetradic
#A42979 #A49229 #29A454 #293BA4
square
#A42979 #A49229 #29A454 #293BA4
split-complementary
#A42979 #3BA429 #29A492
monochromatic
#421131 #731D55 #A42979 #CE3C9B #DA6DB4

Accessibility & contrast

On white

6.62
#A42979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A42979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42979
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42979#FFFFFF#000000##FFFFFF
##A429791.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7B
Deuteranopia (green-blind)
#5E6476
Tritanopia (blue-blind)
#AF264D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42979;
/* rgb */ color: rgb(164, 41, 121);
/* oklch */ color: oklch(50.1% 0.177 345.6);
Tailwind
colors: {
  custom: {
    50: '#c36f9f',
    500: '#a42979',
    950: '#000000',
  },
}
SCSS
$custom: #a42979;
$custom-light: #c36f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a42979",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 320.976,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5006,
    "c": 0.17723,
    "h": 345.6
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#A42979
secondary
#68C187
accent
#E37C45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42979

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

Preview Lab → · Contrast checker → · Palette generator →

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