#A22C7D#A22C7D

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

Color values

HEX#A22C7D
RGBrgb(162, 44, 125)
HSLhsl(319, 57%, 40%)
HSVhsv(319, 73%, 64%)
CMYKcmyk(0%, 72.8%, 22.8%, 36.5%)
CIE-LABlab(39.52, 55.59, -18.88)
CIE-LCHlch(39.52, 58.71, 341.24°)
OKLaboklab(50.18% 0.1674 -0.0505)
OKLCHoklch(50.18% 0.175 343.2)
XYZxyz(19.5033, 10.9654, 20.4875)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C7D #2CA251
analogous
#8C2CA2 #A22C7D #A22C42
triadic
#A22C7D #7DA22C #2C7DA2
tetradic
#A22C7D #A28C2C #2CA251 #2C42A2
square
#A22C7D #A28C2C #2CA251 #2C42A2
split-complementary
#A22C7D #42A22C #2CA28C
monochromatic
#421233 #721F58 #A22C7D #CB40A0 #D870B8

Accessibility & contrast

On white

6.58
#A22C7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A22C7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C7D
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C7D#FFFFFF#000000##FFFFFF
##A22C7D1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38517F
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#AC2C51
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22c7d;
/* rgb */ color: rgb(162, 44, 125);
/* oklch */ color: oklch(50.2% 0.175 343.2);
Tailwind
colors: {
  custom: {
    50: '#c170a2',
    500: '#a22c7d',
    950: '#000000',
  },
}
SCSS
$custom: #a22c7d;
$custom-light: #c170a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c7d",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 318.814,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50177,
    "c": 0.17481,
    "h": 343.2
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#A22C7D
secondary
#6ABF85
accent
#E17747
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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