#A22D7E#A22D7E

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

Color values

HEX#A22D7E
RGBrgb(162, 45, 126)
HSLhsl(318, 57%, 41%)
HSVhsv(318, 72%, 64%)
CMYKcmyk(0%, 72.2%, 22.2%, 36.5%)
CIE-LABlab(39.69, 55.37, -19.23)
CIE-LCHlch(39.69, 58.62, 340.84°)
OKLaboklab(50.32% 0.1665 -0.0515)
OKLCHoklch(50.32% 0.174 342.8)
XYZxyz(19.6052, 11.0665, 20.8382)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D7E #2DA251
analogous
#8C2DA2 #A22D7E #A22D43
triadic
#A22D7E #7EA22D #2D7EA2
tetradic
#A22D7E #A28C2D #2DA251 #2D43A2
square
#A22D7E #A28C2D #2DA251 #2D43A2
split-complementary
#A22D7E #43A22D #2DA28C
monochromatic
#421233 #722059 #A22D7E #CA42A0 #D872B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22D7E#FFFFFF#000000##FFFFFF
##A22D7E1.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)
#385180
Deuteranopia (green-blind)
#5C647B
Tritanopia (blue-blind)
#AC2E51
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22d7e;
/* rgb */ color: rgb(162, 45, 126);
/* oklch */ color: oklch(50.3% 0.174 342.8);
Tailwind
colors: {
  custom: {
    50: '#c171a3',
    500: '#a22d7e',
    950: '#000000',
  },
}
SCSS
$custom: #a22d7e;
$custom-light: #c171a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d7e",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 318.462,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50315,
    "c": 0.17424,
    "h": 342.8
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#A22D7E
secondary
#6CBF85
accent
#E07748
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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