#A42874#A42874

#A42874 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.175 H 347.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A42874
RGBrgb(164, 40, 116)
HSLhsl(323, 61%, 40%)
HSVhsv(323, 76%, 64%)
CMYKcmyk(0%, 75.6%, 29.3%, 35.7%)
CIE-LABlab(39.02, 56.31, -14.01)
CIE-LCHlch(39.02, 58.03, 346.03°)
OKLaboklab(49.76% 0.1716 -0.0369)
OKLCHoklch(49.76% 0.175 347.9)
XYZxyz(19.2220, 10.6732, 17.5675)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42874 #28A458
analogous
#9628A4 #A42874 #A42836
triadic
#A42874 #74A428 #2874A4
tetradic
#A42874 #A49628 #28A458 #2836A4
square
#A42874 #A49628 #28A458 #2836A4
split-complementary
#A42874 #36A428 #28A496
monochromatic
#42102E #731C51 #A42874 #CF3A95 #DB6BB0

Accessibility & contrast

On white

6.70
#A42874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42874
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42874#FFFFFF#000000##FFFFFF
##A428741.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E76
Deuteranopia (green-blind)
#5F6471
Tritanopia (blue-blind)
#B0234B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42874;
/* rgb */ color: rgb(164, 40, 116);
/* oklch */ color: oklch(49.8% 0.175 347.9);
Tailwind
colors: {
  custom: {
    50: '#c36e9c',
    500: '#a42874',
    950: '#000000',
  },
}
SCSS
$custom: #a42874;
$custom-light: #c36e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a42874",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 323.226,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.49759,
    "c": 0.17549,
    "h": 347.9
  },
  "luminance": 0.10671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42874

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

Preview Lab → · Contrast checker → · Palette generator →

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