#A22E7E#A22E7E

#A22E7E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.173 H 342.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A22E7E
RGBrgb(162, 46, 126)
HSLhsl(319, 56%, 41%)
HSVhsv(319, 72%, 64%)
CMYKcmyk(0%, 71.6%, 22.2%, 36.5%)
CIE-LABlab(39.82, 55.01, -19.04)
CIE-LCHlch(39.82, 58.21, 340.91°)
OKLaboklab(50.41% 0.1654 -0.0509)
OKLCHoklch(50.41% 0.173 342.9)
XYZxyz(19.6439, 11.1437, 20.8510)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E7E #2EA252
analogous
#8C2EA2 #A22E7E #A22E44
triadic
#A22E7E #7EA22E #2E7EA2
tetradic
#A22E7E #A28C2E #2EA252 #2E44A2
square
#A22E7E #A28C2E #2EA252 #2E44A2
split-complementary
#A22E7E #44A22E #2EA28C
monochromatic
#431334 #722059 #A22E7E #CA43A0 #D773B8

Accessibility & contrast

On white

6.50
#A22E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22E7E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E7E#FFFFFF#000000##FFFFFF
##A22E7E1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22e7e;
/* rgb */ color: rgb(162, 46, 126);
/* oklch */ color: oklch(50.4% 0.173 342.9);
Tailwind
colors: {
  custom: {
    50: '#c171a3',
    500: '#a22e7e',
    950: '#000000',
  },
}
SCSS
$custom: #a22e7e;
$custom-light: #c171a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e7e",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 318.621,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50409,
    "c": 0.17302,
    "h": 342.9
  },
  "luminance": 0.11142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A22E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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