#A42777#A42777

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

Color values

HEX#A42777
RGBrgb(164, 39, 119)
HSLhsl(322, 62%, 40%)
HSVhsv(322, 76%, 64%)
CMYKcmyk(0%, 76.2%, 27.4%, 35.7%)
CIE-LABlab(39.03, 57.01, -15.87)
CIE-LCHlch(39.03, 59.18, 344.44°)
OKLaboklab(49.81% 0.1732 -0.042)
OKLCHoklch(49.81% 0.178 346.4)
XYZxyz(19.3660, 10.6776, 18.4903)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42777 #27A454
analogous
#9327A4 #A42777 #A42739
triadic
#A42777 #77A427 #2777A4
tetradic
#A42777 #A49327 #27A454 #2739A4
square
#A42777 #A49327 #27A454 #2739A4
split-complementary
#A42777 #39A427 #27A493
monochromatic
#410F2F #731B53 #A42777 #D03899 #DC6AB3

Accessibility & contrast

On white

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

On black

3.14
#A42777 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A42777#FFFFFF#000000##FFFFFF
##A427771.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E79
Deuteranopia (green-blind)
#5E6474
Tritanopia (blue-blind)
#B0234C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42777;
/* rgb */ color: rgb(164, 39, 119);
/* oklch */ color: oklch(49.8% 0.178 346.4);
Tailwind
colors: {
  custom: {
    50: '#c36e9e',
    500: '#a42777',
    950: '#000000',
  },
}
SCSS
$custom: #a42777;
$custom-light: #c36e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a42777",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 119
  },
  "hsl": {
    "h": 321.6,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49805,
    "c": 0.17828,
    "h": 346.4
  },
  "luminance": 0.10675
}

Semantic roles & 50–950 ramp

primary
#A42777
secondary
#65C286
accent
#E57D43
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42777

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

Preview Lab → · Contrast checker → · Palette generator →

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