#A42D7A#A42D7A

#A42D7A is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.173 H 345.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A42D7A
RGBrgb(164, 45, 122)
HSLhsl(321, 57%, 41%)
HSVhsv(321, 73%, 64%)
CMYKcmyk(0%, 72.6%, 25.6%, 35.7%)
CIE-LABlab(39.88, 55.36, -16.44)
CIE-LCHlch(39.88, 57.76, 343.46°)
OKLaboklab(50.46% 0.1676 -0.0437)
OKLCHoklch(50.46% 0.173 345.4)
XYZxyz(19.7619, 11.1765, 19.5251)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D7A #2DA457
analogous
#922DA4 #A42D7A #A42D3F
triadic
#A42D7A #7AA42D #2D7AA4
tetradic
#A42D7A #A4922D #2DA457 #2D3FA4
square
#A42D7A #A4922D #2DA457 #2D3FA4
split-complementary
#A42D7A #3FA42D #2DA492
monochromatic
#441333 #742056 #A42D7A #CB439B #D973B5

Accessibility & contrast

On white

6.49
#A42D7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A42D7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D7A
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D7A#FFFFFF#000000##FFFFFF
##A42D7A1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#5F6577
Tritanopia (blue-blind)
#AF2B4F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42d7a;
/* rgb */ color: rgb(164, 45, 122);
/* oklch */ color: oklch(50.5% 0.173 345.4);
Tailwind
colors: {
  custom: {
    50: '#c371a0',
    500: '#a42d7a',
    950: '#000000',
  },
}
SCSS
$custom: #a42d7a;
$custom-light: #c371a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d7a",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 321.176,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5046,
    "c": 0.17318,
    "h": 345.4
  },
  "luminance": 0.11174
}

Semantic roles & 50–950 ramp

primary
#A42D7A
secondary
#6DC08A
accent
#E07D48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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