#A22183#A22183

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

Color values

HEX#A22183
RGBrgb(162, 33, 131)
HSLhsl(314, 66%, 38%)
HSVhsv(314, 80%, 64%)
CMYKcmyk(0%, 79.6%, 19.1%, 36.5%)
CIE-LABlab(38.57, 59.90, -24.07)
CIE-LCHlch(38.57, 64.55, 338.11°)
OKLaboklab(49.57% 0.179 -0.0651)
OKLCHoklch(49.57% 0.19 340)
XYZxyz(19.5415, 10.4098, 22.4485)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22183 #21A240
analogous
#8021A2 #A22183 #A22142
triadic
#A22183 #83A221 #2183A2
tetradic
#A22183 #A28021 #21A240 #2142A2
square
#A22183 #A28021 #21A240 #2142A2
split-complementary
#A22183 #42A221 #21A280
monochromatic
#3C0C31 #6F175A #A22183 #D42CAC #DE5FC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22183#FFFFFF#000000##FFFFFF
##A221831.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)
#2B4E86
Deuteranopia (green-blind)
#566280
Tritanopia (blue-blind)
#AC2650
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22183;
/* rgb */ color: rgb(162, 33, 131);
/* oklch */ color: oklch(49.6% 0.190 340.0);
Tailwind
colors: {
  custom: {
    50: '#c26ca7',
    500: '#a22183',
    950: '#000000',
  },
}
SCSS
$custom: #a22183;
$custom-light: #c26ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22183",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 314.419,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49574,
    "c": 0.19041,
    "h": 340
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#A22183
secondary
#5CC375
accent
#E9683F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A22183

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

Preview Lab → · Contrast checker → · Palette generator →

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