#A22281#A22281

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

Color values

HEX#A22281
RGBrgb(162, 34, 129)
HSLhsl(315, 65%, 38%)
HSVhsv(315, 79%, 64%)
CMYKcmyk(0%, 79%, 20.4%, 36.5%)
CIE-LABlab(38.57, 59.34, -22.82)
CIE-LCHlch(38.57, 63.58, 338.96°)
OKLaboklab(49.55% 0.1778 -0.0615)
OKLCHoklch(49.55% 0.188 340.9)
XYZxyz(19.4354, 10.4124, 21.7509)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22281 #22A243
analogous
#8322A2 #A22281 #A22241
triadic
#A22281 #81A222 #2281A2
tetradic
#A22281 #A28322 #22A243 #2241A2
square
#A22281 #A28322 #22A243 #2241A2
split-complementary
#A22281 #41A222 #22A283
monochromatic
#3D0D30 #6F1759 #A22281 #D32EA9 #DE61BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22281#FFFFFF#000000##FFFFFF
##A222811.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)
#2E4E83
Deuteranopia (green-blind)
#57627E
Tritanopia (blue-blind)
#AC2650
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22281;
/* rgb */ color: rgb(162, 34, 129);
/* oklch */ color: oklch(49.5% 0.188 340.9);
Tailwind
colors: {
  custom: {
    50: '#c26ca6',
    500: '#a22281',
    950: '#000000',
  },
}
SCSS
$custom: #a22281;
$custom-light: #c26ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22281",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 315.469,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49547,
    "c": 0.18818,
    "h": 340.9
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#A22281
secondary
#5DC377
accent
#E86B40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A22281

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

Preview Lab → · Contrast checker → · Palette generator →

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