#A22E7F#A22E7F

#A22E7F is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.174 H 342.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A22E7F
RGBrgb(162, 46, 127)
HSLhsl(318, 56%, 41%)
HSVhsv(318, 72%, 64%)
CMYKcmyk(0%, 71.6%, 21.6%, 36.5%)
CIE-LABlab(39.86, 55.15, -19.59)
CIE-LCHlch(39.86, 58.52, 340.45°)
OKLaboklab(50.45% 0.1655 -0.0525)
OKLCHoklch(50.45% 0.174 342.4)
XYZxyz(19.7087, 11.1697, 21.1926)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E7F #2EA251
analogous
#8B2EA2 #A22E7F #A22E45
triadic
#A22E7F #7FA22E #2E7FA2
tetradic
#A22E7F #A28B2E #2EA251 #2E45A2
square
#A22E7F #A28B2E #2EA251 #2E45A2
split-complementary
#A22E7F #45A22E #2EA28B
monochromatic
#431334 #72205A #A22E7F #CA43A1 #D773B9

Accessibility & contrast

On white

6.49
#A22E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A22E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E7F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E7F#FFFFFF#000000##FFFFFF
##A22E7F1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395281
Deuteranopia (green-blind)
#5C657C
Tritanopia (blue-blind)
#AC2F52
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22e7f;
/* rgb */ color: rgb(162, 46, 127);
/* oklch */ color: oklch(50.5% 0.174 342.4);
Tailwind
colors: {
  custom: {
    50: '#c171a4',
    500: '#a22e7f',
    950: '#000000',
  },
}
SCSS
$custom: #a22e7f;
$custom-light: #c171a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e7f",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 318.103,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50454,
    "c": 0.17367,
    "h": 342.4
  },
  "luminance": 0.11168
}

Semantic roles & 50–950 ramp

primary
#A22E7F
secondary
#6DBF86
accent
#DF7649
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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