#A42877#A42877

#A42877 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.177 H 346.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A42877
RGBrgb(164, 40, 119)
HSLhsl(322, 61%, 40%)
HSVhsv(322, 76%, 64%)
CMYKcmyk(0%, 75.6%, 27.4%, 35.7%)
CIE-LABlab(39.15, 56.69, -15.70)
CIE-LCHlch(39.15, 58.82, 344.52°)
OKLaboklab(49.89% 0.1722 -0.0416)
OKLCHoklch(49.89% 0.177 346.4)
XYZxyz(19.3993, 10.7441, 18.5014)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42877 #28A455
analogous
#9328A4 #A42877 #A42839
triadic
#A42877 #77A428 #2877A4
tetradic
#A42877 #A49328 #28A455 #2839A4
square
#A42877 #A49328 #28A455 #2839A4
split-complementary
#A42877 #39A428 #28A493
monochromatic
#421030 #731C53 #A42877 #CF3A99 #DB6BB3

Accessibility & contrast

On white

6.67
#A42877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A42877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42877
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42877#FFFFFF#000000##FFFFFF
##A428771.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F79
Deuteranopia (green-blind)
#5E6474
Tritanopia (blue-blind)
#B0244C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42877;
/* rgb */ color: rgb(164, 40, 119);
/* oklch */ color: oklch(49.9% 0.177 346.4);
Tailwind
colors: {
  custom: {
    50: '#c36e9e',
    500: '#a42877',
    950: '#000000',
  },
}
SCSS
$custom: #a42877;
$custom-light: #c36e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a42877",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 321.774,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.49888,
    "c": 0.17718,
    "h": 346.4
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#A42877
secondary
#66C187
accent
#E47E44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42877

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

Preview Lab → · Contrast checker → · Palette generator →

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