#A22D7C#A22D7C

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

Color values

HEX#A22D7C
RGBrgb(162, 45, 124)
HSLhsl(319, 57%, 41%)
HSVhsv(319, 72%, 64%)
CMYKcmyk(0%, 72.2%, 23.5%, 36.5%)
CIE-LABlab(39.61, 55.10, -18.13)
CIE-LCHlch(39.61, 58.01, 341.79°)
OKLaboklab(50.22% 0.1661 -0.0484)
OKLCHoklch(50.22% 0.173 343.8)
XYZxyz(19.4775, 11.0154, 20.1653)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D7C #2DA253
analogous
#8D2DA2 #A22D7C #A22D41
triadic
#A22D7C #7CA22D #2D7CA2
tetradic
#A22D7C #A28D2D #2DA253 #2D41A2
square
#A22D7C #A28D2D #2DA253 #2D41A2
split-complementary
#A22D7C #41A22D #2DA28D
monochromatic
#421233 #722057 #A22D7C #CA429E #D872B7

Accessibility & contrast

On white

6.56
#A22D7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22D7C
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D7C#FFFFFF#000000##FFFFFF
##A22D7C1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517E
Deuteranopia (green-blind)
#5D6479
Tritanopia (blue-blind)
#AD2D50
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22d7c;
/* rgb */ color: rgb(162, 45, 124);
/* oklch */ color: oklch(50.2% 0.173 343.8);
Tailwind
colors: {
  custom: {
    50: '#c170a2',
    500: '#a22d7c',
    950: '#000000',
  },
}
SCSS
$custom: #a22d7c;
$custom-light: #c170a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d7c",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 319.487,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50224,
    "c": 0.17298,
    "h": 343.8
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#A22D7C
secondary
#6CBF87
accent
#E07948
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A22D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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