#A22872#A22872

#A22872 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.173 H 348.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A22872
RGBrgb(162, 40, 114)
HSLhsl(324, 60%, 40%)
HSVhsv(324, 75%, 64%)
CMYKcmyk(0%, 75.3%, 29.6%, 36.5%)
CIE-LABlab(38.58, 55.54, -13.47)
CIE-LCHlch(38.58, 57.15, 346.37°)
OKLaboklab(49.34% 0.1693 -0.0354)
OKLCHoklch(49.34% 0.173 348.2)
XYZxyz(18.6973, 10.4160, 16.9422)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22872 #28A258
analogous
#9528A2 #A22872 #A22835
triadic
#A22872 #72A228 #2872A2
tetradic
#A22872 #A29528 #28A258 #2835A2
square
#A22872 #A29528 #28A258 #2835A2
split-complementary
#A22872 #35A228 #28A295
monochromatic
#40102D #711C4F #A22872 #CE3993 #DA6AAE

Accessibility & contrast

On white

6.81
#A22872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A22872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22872
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22872#FFFFFF#000000##FFFFFF
##A228721.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D74
Deuteranopia (green-blind)
#5E626F
Tritanopia (blue-blind)
#AE2249
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22872;
/* rgb */ color: rgb(162, 40, 114);
/* oklch */ color: oklch(49.3% 0.173 348.2);
Tailwind
colors: {
  custom: {
    50: '#c26e9a',
    500: '#a22872',
    950: '#000000',
  },
}
SCSS
$custom: #a22872;
$custom-light: #c26e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a22872",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 323.607,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.17295,
    "h": 348.2
  },
  "luminance": 0.10414
}

Semantic roles & 50–950 ramp

primary
#A22872
secondary
#65C189
accent
#E48344
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22872

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

Preview Lab → · Contrast checker → · Palette generator →

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