#A22D7F#A22D7F

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

Color values

HEX#A22D7F
RGBrgb(162, 45, 127)
HSLhsl(318, 57%, 41%)
HSVhsv(318, 72%, 64%)
CMYKcmyk(0%, 72.2%, 21.6%, 36.5%)
CIE-LABlab(39.74, 55.51, -19.79)
CIE-LCHlch(39.74, 58.93, 340.38°)
OKLaboklab(50.36% 0.1666 -0.053)
OKLCHoklch(50.36% 0.175 342.3)
XYZxyz(19.6701, 11.0924, 21.1797)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D7F #2DA250
analogous
#8A2DA2 #A22D7F #A22D44
triadic
#A22D7F #7FA22D #2D7FA2
tetradic
#A22D7F #A28A2D #2DA250 #2D44A2
square
#A22D7F #A28A2D #2DA250 #2D44A2
split-complementary
#A22D7F #44A22D #2DA28A
monochromatic
#421234 #722059 #A22D7F #CA42A2 #D872B9

Accessibility & contrast

On white

6.53
#A22D7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A22D7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D7F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D7F#FFFFFF#000000##FFFFFF
##A22D7F1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22d7f;
/* rgb */ color: rgb(162, 45, 127);
/* oklch */ color: oklch(50.4% 0.175 342.3);
Tailwind
colors: {
  custom: {
    50: '#c171a4',
    500: '#a22d7f',
    950: '#000000',
  },
}
SCSS
$custom: #a22d7f;
$custom-light: #c171a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d7f",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 317.949,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5036,
    "c": 0.17488,
    "h": 342.3
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A22D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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