#A22F71#A22F71

#A22F71 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.164 H 349.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A22F71
RGBrgb(162, 47, 113)
HSLhsl(326, 55%, 41%)
HSVhsv(326, 71%, 64%)
CMYKcmyk(0%, 71%, 30.2%, 36.5%)
CIE-LABlab(39.43, 52.92, -11.56)
CIE-LCHlch(39.43, 54.17, 347.68°)
OKLaboklab(49.95% 0.1613 -0.0302)
OKLCHoklch(49.95% 0.164 349.4)
XYZxyz(18.8984, 10.9088, 16.7299)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F71 #2FA260
analogous
#992FA2 #A22F71 #A22F37
triadic
#A22F71 #71A22F #2F71A2
tetradic
#A22F71 #A2992F #2FA260 #2F37A2
square
#A22F71 #A2992F #2FA260 #2F37A2
split-complementary
#A22F71 #37A22F #2FA299
monochromatic
#43132F #732150 #A22F71 #C94591 #D775AD

Accessibility & contrast

On white

6.60
#A22F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A22F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F71
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F71#FFFFFF#000000##FFFFFF
##A22F711.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405073
Deuteranopia (green-blind)
#61646E
Tritanopia (blue-blind)
#AE294C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22f71;
/* rgb */ color: rgb(162, 47, 113);
/* oklch */ color: oklch(49.9% 0.164 349.4);
Tailwind
colors: {
  custom: {
    50: '#c17199',
    500: '#a22f71',
    950: '#000000',
  },
}
SCSS
$custom: #a22f71;
$custom-light: #c17199;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f71",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 325.565,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49947,
    "c": 0.16407,
    "h": 349.4
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#A22F71
secondary
#6EBF90
accent
#DE8949
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22F71

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

Preview Lab → · Contrast checker → · Palette generator →

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