#A42A79#A42A79

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

Color values

HEX#A42A79
RGBrgb(164, 42, 121)
HSLhsl(321, 59%, 40%)
HSVhsv(321, 74%, 64%)
CMYKcmyk(0%, 74.4%, 26.2%, 35.7%)
CIE-LABlab(39.46, 56.28, -16.45)
CIE-LCHlch(39.46, 58.63, 343.70°)
OKLaboklab(50.15% 0.1706 -0.0437)
OKLCHoklch(50.15% 0.176 345.6)
XYZxyz(19.5898, 10.9310, 19.1637)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A79 #2AA455
analogous
#922AA4 #A42A79 #A42A3C
triadic
#A42A79 #79A42A #2A79A4
tetradic
#A42A79 #A4922A #2AA455 #2A3CA4
square
#A42A79 #A4922A #2AA455 #2A3CA4
split-complementary
#A42A79 #3CA42A #2AA492
monochromatic
#431131 #731E55 #A42A79 #CD3E9B #DA6EB4

Accessibility & contrast

On white

6.59
#A42A79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A42A79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A79
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A79#FFFFFF#000000##FFFFFF
##A42A791.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#5E6476
Tritanopia (blue-blind)
#AF274E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42a79;
/* rgb */ color: rgb(164, 42, 121);
/* oklch */ color: oklch(50.1% 0.176 345.6);
Tailwind
colors: {
  custom: {
    50: '#c36f9f',
    500: '#a42a79',
    950: '#000000',
  },
}
SCSS
$custom: #a42a79;
$custom-light: #c36f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a79",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 321.148,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50146,
    "c": 0.1761,
    "h": 345.6
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#A42A79
secondary
#69C188
accent
#E27D45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42A79

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

Preview Lab → · Contrast checker → · Palette generator →

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