#A22188#A22188

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

Color values

HEX#A22188
RGBrgb(162, 33, 136)
HSLhsl(312, 66%, 38%)
HSVhsv(312, 80%, 64%)
CMYKcmyk(0%, 79.6%, 16%, 36.5%)
CIE-LABlab(38.81, 60.59, -26.78)
CIE-LCHlch(38.81, 66.25, 336.16°)
OKLaboklab(49.83% 0.1795 -0.0728)
OKLCHoklch(49.83% 0.194 337.9)
XYZxyz(19.8885, 10.5486, 24.2764)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22188 #21A23B
analogous
#7B21A2 #A22188 #A22147
triadic
#A22188 #88A221 #2188A2
tetradic
#A22188 #A27B21 #21A23B #2147A2
square
#A22188 #A27B21 #21A23B #2147A2
split-complementary
#A22188 #47A221 #21A27B
monochromatic
#3C0C33 #6F175D #A22188 #D42CB2 #DE5FC5

Accessibility & contrast

On white

6.75
#A22188 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A22188 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22188
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22188#FFFFFF#000000##FFFFFF
##A221881.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8B
Deuteranopia (green-blind)
#546285
Tritanopia (blue-blind)
#AB2953
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22188;
/* rgb */ color: rgb(162, 33, 136);
/* oklch */ color: oklch(49.8% 0.194 337.9);
Tailwind
colors: {
  custom: {
    50: '#c26cab',
    500: '#a22188',
    950: '#000000',
  },
}
SCSS
$custom: #a22188;
$custom-light: #c26cab;
$custom-dark: #000000;
JSON
{
  "hex": "#a22188",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 312.093,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49827,
    "c": 0.19369,
    "h": 337.9
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A22188

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

Preview Lab → · Contrast checker → · Palette generator →

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