#A42A6A#A42A6A

#A42A6A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.168 H 353.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A42A6A
RGBrgb(164, 42, 106)
HSLhsl(329, 59%, 40%)
HSVhsv(329, 74%, 64%)
CMYKcmyk(0%, 74.4%, 35.4%, 35.7%)
CIE-LABlab(38.88, 54.45, -7.95)
CIE-LCHlch(38.88, 55.03, 351.69°)
OKLaboklab(49.53% 0.1669 -0.0204)
OKLCHoklch(49.53% 0.168 353)
XYZxyz(18.7405, 10.5913, 14.6903)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A6A #2AA464
analogous
#A12AA4 #A42A6A #A42A2D
triadic
#A42A6A #6AA42A #2A6AA4
tetradic
#A42A6A #A4A12A #2AA464 #2A2DA4
square
#A42A6A #A4A12A #2AA464 #2A2DA4
split-complementary
#A42A6A #2DA42A #2AA4A1
monochromatic
#43112B #731E4B #A42A6A #CD3E89 #DA6EA7

Accessibility & contrast

On white

6.74
#A42A6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A42A6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A6A
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A6A#FFFFFF#000000##FFFFFF
##A42A6A1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404D6C
Deuteranopia (green-blind)
#626467
Tritanopia (blue-blind)
#B11F46
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42a6a;
/* rgb */ color: rgb(164, 42, 106);
/* oklch */ color: oklch(49.5% 0.168 353.0);
Tailwind
colors: {
  custom: {
    50: '#c36f94',
    500: '#a42a6a',
    950: '#000000',
  },
}
SCSS
$custom: #a42a6a;
$custom-light: #c36f94;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a6a",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 328.525,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49532,
    "c": 0.16812,
    "h": 353
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#A42A6A
secondary
#69C193
accent
#E29045
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A42A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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