#A42772#A42772

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

Color values

HEX#A42772
RGBrgb(164, 39, 114)
HSLhsl(324, 62%, 40%)
HSVhsv(324, 76%, 64%)
CMYKcmyk(0%, 76.2%, 30.5%, 35.7%)
CIE-LABlab(38.83, 56.39, -13.05)
CIE-LCHlch(38.83, 57.88, 346.97°)
OKLaboklab(49.59% 0.1721 -0.0343)
OKLCHoklch(49.59% 0.176 348.7)
XYZxyz(19.0736, 10.5606, 16.9503)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42772 #27A459
analogous
#9827A4 #A42772 #A42734
triadic
#A42772 #72A427 #2772A4
tetradic
#A42772 #A49827 #27A459 #2734A4
square
#A42772 #A49827 #27A459 #2734A4
split-complementary
#A42772 #34A427 #27A498
monochromatic
#410F2D #731B50 #A42772 #D03893 #DC6AAE

Accessibility & contrast

On white

6.75
#A42772 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A42772 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42772
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42772#FFFFFF#000000##FFFFFF
##A427721.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D74
Deuteranopia (green-blind)
#5F636F
Tritanopia (blue-blind)
#B02049
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a42772;
/* rgb */ color: rgb(164, 39, 114);
/* oklch */ color: oklch(49.6% 0.175 348.7);
Tailwind
colors: {
  custom: {
    50: '#c36e9a',
    500: '#a42772',
    950: '#000000',
  },
}
SCSS
$custom: #a42772;
$custom-light: #c36e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a42772",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 324,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49592,
    "c": 0.1755,
    "h": 348.7
  },
  "luminance": 0.10558
}

Semantic roles & 50–950 ramp

primary
#A42772
secondary
#65C28A
accent
#E58443
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42772

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

Preview Lab → · Contrast checker → · Palette generator →

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