#A22187#A22187

#A22187 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.8% C 0.193 H 338.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A22187
RGBrgb(162, 33, 135)
HSLhsl(313, 66%, 38%)
HSVhsv(313, 80%, 64%)
CMYKcmyk(0%, 79.6%, 16.7%, 36.5%)
CIE-LABlab(38.76, 60.45, -26.24)
CIE-LCHlch(38.76, 65.90, 336.54°)
OKLaboklab(49.78% 0.1794 -0.0712)
OKLCHoklch(49.78% 0.193 338.3)
XYZxyz(19.8178, 10.5203, 23.9039)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22187 #21A23C
analogous
#7C21A2 #A22187 #A22146
triadic
#A22187 #87A221 #2187A2
tetradic
#A22187 #A27C21 #21A23C #2146A2
square
#A22187 #A27C21 #21A23C #2146A2
split-complementary
#A22187 #46A221 #21A27C
monochromatic
#3C0C32 #6F175D #A22187 #D42CB1 #DE5FC4

Accessibility & contrast

On white

6.77
#A22187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A22187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22187
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22187#FFFFFF#000000##FFFFFF
##A221871.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8A
Deuteranopia (green-blind)
#556284
Tritanopia (blue-blind)
#AB2853
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22187;
/* rgb */ color: rgb(162, 33, 135);
/* oklch */ color: oklch(49.8% 0.193 338.3);
Tailwind
colors: {
  custom: {
    50: '#c26caa',
    500: '#a22187',
    950: '#000000',
  },
}
SCSS
$custom: #a22187;
$custom-light: #c26caa;
$custom-dark: #000000;
JSON
{
  "hex": "#a22187",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 312.558,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49776,
    "c": 0.19302,
    "h": 338.3
  },
  "luminance": 0.10518
}

Semantic roles & 50–950 ramp

primary
#A22187
secondary
#5CC371
accent
#E9623F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A22187

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

Preview Lab → · Contrast checker → · Palette generator →

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