#A22E7B#A22E7B

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

Color values

HEX#A22E7B
RGBrgb(162, 46, 123)
HSLhsl(320, 56%, 41%)
HSVhsv(320, 72%, 64%)
CMYKcmyk(0%, 71.6%, 24.1%, 36.5%)
CIE-LABlab(39.69, 54.60, -17.37)
CIE-LCHlch(39.69, 57.30, 342.35°)
OKLaboklab(50.27% 0.1648 -0.0463)
OKLCHoklch(50.27% 0.171 344.3)
XYZxyz(19.4532, 11.0674, 19.8468)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E7B #2EA255
analogous
#8F2EA2 #A22E7B #A22E41
triadic
#A22E7B #7BA22E #2E7BA2
tetradic
#A22E7B #A28F2E #2EA255 #2E41A2
square
#A22E7B #A28F2E #2EA255 #2E41A2
split-complementary
#A22E7B #41A22E #2EA28F
monochromatic
#431333 #722057 #A22E7B #CA439D #D773B6

Accessibility & contrast

On white

6.54
#A22E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22E7B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E7B#FFFFFF#000000##FFFFFF
##A22E7B1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22e7b;
/* rgb */ color: rgb(162, 46, 123);
/* oklch */ color: oklch(50.3% 0.171 344.3);
Tailwind
colors: {
  custom: {
    50: '#c171a1',
    500: '#a22e7b',
    950: '#000000',
  },
}
SCSS
$custom: #a22e7b;
$custom-light: #c171a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e7b",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 320.172,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50274,
    "c": 0.17113,
    "h": 344.3
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#A22E7B
secondary
#6DBF88
accent
#DF7B49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A22E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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