#A22971#A22971

#A22971 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.171 H 348.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A22971
RGBrgb(162, 41, 113)
HSLhsl(324, 60%, 40%)
HSVhsv(324, 75%, 64%)
CMYKcmyk(0%, 74.7%, 30.2%, 36.5%)
CIE-LABlab(38.66, 55.08, -12.72)
CIE-LCHlch(38.66, 56.53, 346.99°)
OKLaboklab(49.39% 0.168 -0.0334)
OKLCHoklch(49.39% 0.171 348.8)
XYZxyz(18.6748, 10.4616, 16.6554)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22971 #29A25A
analogous
#9729A2 #A22971 #A22934
triadic
#A22971 #71A229 #2971A2
tetradic
#A22971 #A29729 #29A25A #2934A2
square
#A22971 #A29729 #29A25A #2934A2
split-complementary
#A22971 #34A229 #29A297
monochromatic
#40102D #711D4F #A22971 #CD3B92 #DA6CAD

Accessibility & contrast

On white

6.79
#A22971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A22971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22971
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22971#FFFFFF#000000##FFFFFF
##A229711.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4D73
Deuteranopia (green-blind)
#5F636E
Tritanopia (blue-blind)
#AE2349
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22971;
/* rgb */ color: rgb(162, 41, 113);
/* oklch */ color: oklch(49.4% 0.171 348.8);
Tailwind
colors: {
  custom: {
    50: '#c26e99',
    500: '#a22971',
    950: '#000000',
  },
}
SCSS
$custom: #a22971;
$custom-light: #c26e99;
$custom-dark: #000000;
JSON
{
  "hex": "#a22971",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 324.298,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49386,
    "c": 0.17127,
    "h": 348.8
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#A22971
secondary
#67C08B
accent
#E38545
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22971

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

Preview Lab → · Contrast checker → · Palette generator →

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