#A22F7A#A22F7A

#A22F7A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.169 H 344.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A22F7A
RGBrgb(162, 47, 122)
HSLhsl(321, 55%, 41%)
HSVhsv(321, 71%, 64%)
CMYKcmyk(0%, 71%, 24.7%, 36.5%)
CIE-LABlab(39.78, 54.09, -16.62)
CIE-LCHlch(39.78, 56.59, 342.93°)
OKLaboklab(50.33% 0.1634 -0.0442)
OKLCHoklch(50.33% 0.169 344.9)
XYZxyz(19.4304, 11.1216, 19.5320)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F7A #2FA257
analogous
#902FA2 #A22F7A #A22F40
triadic
#A22F7A #7AA22F #2F7AA2
tetradic
#A22F7A #A2902F #2FA257 #2F40A2
square
#A22F7A #A2902F #2FA257 #2F40A2
split-complementary
#A22F7A #40A22F #2FA290
monochromatic
#431333 #732156 #A22F7A #C9459B #D775B5

Accessibility & contrast

On white

6.51
#A22F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A22F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F7A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F7A#FFFFFF#000000##FFFFFF
##A22F7A1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517C
Deuteranopia (green-blind)
#5E6577
Tritanopia (blue-blind)
#AD2E50
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22f7a;
/* rgb */ color: rgb(162, 47, 122);
/* oklch */ color: oklch(50.3% 0.169 344.9);
Tailwind
colors: {
  custom: {
    50: '#c171a0',
    500: '#a22f7a',
    950: '#000000',
  },
}
SCSS
$custom: #a22f7a;
$custom-light: #c171a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f7a",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 320.87,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50326,
    "c": 0.16927,
    "h": 344.9
  },
  "luminance": 0.1112
}

Semantic roles & 50–950 ramp

primary
#A22F7A
secondary
#6EBF8A
accent
#DE7D49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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