#A22185#A22185

#A22185 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.7% C 0.192 H 339.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A22185
RGBrgb(162, 33, 133)
HSLhsl(313, 66%, 38%)
HSVhsv(313, 80%, 64%)
CMYKcmyk(0%, 79.6%, 17.9%, 36.5%)
CIE-LABlab(38.66, 60.17, -25.16)
CIE-LCHlch(38.66, 65.22, 337.31°)
OKLaboklab(49.67% 0.1792 -0.0681)
OKLCHoklch(49.67% 0.192 339.2)
XYZxyz(19.6783, 10.4645, 23.1693)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22185 #21A23E
analogous
#7E21A2 #A22185 #A22145
triadic
#A22185 #85A221 #2185A2
tetradic
#A22185 #A27E21 #21A23E #2145A2
square
#A22185 #A27E21 #21A23E #2145A2
split-complementary
#A22185 #45A221 #21A27E
monochromatic
#3C0C32 #6F175B #A22185 #D42CAE #DE5FC2

Accessibility & contrast

On white

6.79
#A22185 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A22185 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22185
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22185#FFFFFF#000000##FFFFFF
##A221851.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4E88
Deuteranopia (green-blind)
#566282
Tritanopia (blue-blind)
#AC2752
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22185;
/* rgb */ color: rgb(162, 33, 133);
/* oklch */ color: oklch(49.7% 0.192 339.2);
Tailwind
colors: {
  custom: {
    50: '#c26ca9',
    500: '#a22185',
    950: '#000000',
  },
}
SCSS
$custom: #a22185;
$custom-light: #c26ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#a22185",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 313.488,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.19171,
    "h": 339.2
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#A22185
secondary
#5CC373
accent
#E9653F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A22185

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

Preview Lab → · Contrast checker → · Palette generator →

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