#A42873#A42873

#A42873 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.175 H 348.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A42873
RGBrgb(164, 40, 115)
HSLhsl(324, 61%, 40%)
HSVhsv(324, 76%, 64%)
CMYKcmyk(0%, 75.6%, 29.9%, 35.7%)
CIE-LABlab(38.98, 56.19, -13.45)
CIE-LCHlch(38.98, 57.78, 346.54°)
OKLaboklab(49.72% 0.1713 -0.0353)
OKLCHoklch(49.72% 0.175 348.3)
XYZxyz(19.1641, 10.6501, 17.2628)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42873 #28A459
analogous
#9728A4 #A42873 #A42835
triadic
#A42873 #73A428 #2873A4
tetradic
#A42873 #A49728 #28A459 #2835A4
square
#A42873 #A49728 #28A459 #2835A4
split-complementary
#A42873 #35A428 #28A497
monochromatic
#42102E #731C50 #A42873 #CF3A94 #DB6BAF

Accessibility & contrast

On white

6.71
#A42873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A42873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42873
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42873#FFFFFF#000000##FFFFFF
##A428731.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E75
Deuteranopia (green-blind)
#5F6470
Tritanopia (blue-blind)
#B0224A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42873;
/* rgb */ color: rgb(164, 40, 115);
/* oklch */ color: oklch(49.7% 0.175 348.3);
Tailwind
colors: {
  custom: {
    50: '#c36e9b',
    500: '#a42873',
    950: '#000000',
  },
}
SCSS
$custom: #a42873;
$custom-light: #c36e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#a42873",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 323.71,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.49717,
    "c": 0.17495,
    "h": 348.3
  },
  "luminance": 0.10648
}

Semantic roles & 50–950 ramp

primary
#A42873
secondary
#66C18A
accent
#E48344
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42873

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

Preview Lab → · Contrast checker → · Palette generator →

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