#A22E7A#A22E7A

#A22E7A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.171 H 344.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A22E7A
RGBrgb(162, 46, 122)
HSLhsl(321, 56%, 41%)
HSVhsv(321, 72%, 64%)
CMYKcmyk(0%, 71.6%, 24.7%, 36.5%)
CIE-LABlab(39.65, 54.47, -16.82)
CIE-LCHlch(39.65, 57.00, 342.84°)
OKLaboklab(50.23% 0.1645 -0.0447)
OKLCHoklch(50.23% 0.171 344.8)
XYZxyz(19.3909, 11.0425, 19.5188)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E7A #2EA256
analogous
#902EA2 #A22E7A #A22E40
triadic
#A22E7A #7AA22E #2E7AA2
tetradic
#A22E7A #A2902E #2EA256 #2E40A2
square
#A22E7A #A2902E #2EA256 #2E40A2
split-complementary
#A22E7A #40A22E #2EA290
monochromatic
#431332 #722056 #A22E7A #CA439B #D773B5

Accessibility & contrast

On white

6.55
#A22E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A22E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E7A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E7A#FFFFFF#000000##FFFFFF
##A22E7A1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#5E6577
Tritanopia (blue-blind)
#AD2D50
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22e7a;
/* rgb */ color: rgb(162, 46, 122);
/* oklch */ color: oklch(50.2% 0.171 344.8);
Tailwind
colors: {
  custom: {
    50: '#c171a0',
    500: '#a22e7a',
    950: '#000000',
  },
}
SCSS
$custom: #a22e7a;
$custom-light: #c171a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e7a",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 320.69,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5023,
    "c": 0.17052,
    "h": 344.8
  },
  "luminance": 0.11041
}

Semantic roles & 50–950 ramp

primary
#A22E7A
secondary
#6DBF89
accent
#DF7D49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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