#A22C7E#A22C7E

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

Color values

HEX#A22C7E
RGBrgb(162, 44, 126)
HSLhsl(318, 57%, 40%)
HSVhsv(318, 73%, 64%)
CMYKcmyk(0%, 72.8%, 22.2%, 36.5%)
CIE-LABlab(39.57, 55.73, -19.43)
CIE-LCHlch(39.57, 59.02, 340.78°)
OKLaboklab(50.22% 0.1676 -0.052)
OKLCHoklch(50.22% 0.175 342.7)
XYZxyz(19.5675, 10.9911, 20.8256)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C7E #2CA250
analogous
#8B2CA2 #A22C7E #A22C43
triadic
#A22C7E #7EA22C #2C7EA2
tetradic
#A22C7E #A28B2C #2CA250 #2C43A2
square
#A22C7E #A28B2C #2CA250 #2C43A2
split-complementary
#A22C7E #43A22C #2CA28B
monochromatic
#421233 #721F59 #A22C7E #CB40A1 #D870B8

Accessibility & contrast

On white

6.57
#A22C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A22C7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C7E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C7E#FFFFFF#000000##FFFFFF
##A22C7E1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375180
Deuteranopia (green-blind)
#5C647B
Tritanopia (blue-blind)
#AC2D51
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22c7e;
/* rgb */ color: rgb(162, 44, 126);
/* oklch */ color: oklch(50.2% 0.175 342.7);
Tailwind
colors: {
  custom: {
    50: '#c170a3',
    500: '#a22c7e',
    950: '#000000',
  },
}
SCSS
$custom: #a22c7e;
$custom-light: #c170a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c7e",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 318.305,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50222,
    "c": 0.17545,
    "h": 342.7
  },
  "luminance": 0.10989
}

Semantic roles & 50–950 ramp

primary
#A22C7E
secondary
#6ABF84
accent
#E17647
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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