#A22181#A22181

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

Color values

HEX#A22181
RGBrgb(162, 33, 129)
HSLhsl(315, 66%, 38%)
HSVhsv(315, 80%, 64%)
CMYKcmyk(0%, 79.6%, 20.4%, 36.5%)
CIE-LABlab(38.47, 59.63, -22.98)
CIE-LCHlch(38.47, 63.90, 338.93°)
OKLaboklab(49.48% 0.1787 -0.062)
OKLCHoklch(49.48% 0.189 340.9)
XYZxyz(19.4072, 10.3561, 21.7415)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22181 #21A242
analogous
#8221A2 #A22181 #A22140
triadic
#A22181 #81A221 #2181A2
tetradic
#A22181 #A28221 #21A242 #2140A2
square
#A22181 #A28221 #21A242 #2140A2
split-complementary
#A22181 #40A221 #21A282
monochromatic
#3C0C30 #6F1759 #A22181 #D42CA9 #DE5FBE

Accessibility & contrast

On white

6.84
#A22181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A22181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22181
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22181#FFFFFF#000000##FFFFFF
##A221811.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D83
Deuteranopia (green-blind)
#57627E
Tritanopia (blue-blind)
#AC254F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22181;
/* rgb */ color: rgb(162, 33, 129);
/* oklch */ color: oklch(49.5% 0.189 340.9);
Tailwind
colors: {
  custom: {
    50: '#c26ca6',
    500: '#a22181',
    950: '#000000',
  },
}
SCSS
$custom: #a22181;
$custom-light: #c26ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22181",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 315.349,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49476,
    "c": 0.18913,
    "h": 340.9
  },
  "luminance": 0.10354
}

Semantic roles & 50–950 ramp

primary
#A22181
secondary
#5CC376
accent
#E96A3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A22181

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

Preview Lab → · Contrast checker → · Palette generator →

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