#A22087#A22087

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

Color values

HEX#A22087
RGBrgb(162, 32, 135)
HSLhsl(312, 67%, 38%)
HSVhsv(312, 80%, 64%)
CMYKcmyk(0%, 80.2%, 16.7%, 36.5%)
CIE-LABlab(38.67, 60.73, -26.39)
CIE-LCHlch(38.67, 66.21, 336.52°)
OKLaboklab(49.71% 0.1802 -0.0716)
OKLCHoklch(49.71% 0.194 338.3)
XYZxyz(19.7905, 10.4656, 23.8948)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22087 #20A23B
analogous
#7C20A2 #A22087 #A22046
triadic
#A22087 #87A220 #2087A2
tetradic
#A22087 #A27C20 #20A23B #2046A2
square
#A22087 #A27C20 #20A23B #2046A2
split-complementary
#A22087 #46A220 #20A27C
monochromatic
#3C0C32 #6F165C #A22087 #D52AB2 #DF5DC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22087#FFFFFF#000000##FFFFFF
##A220871.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)
#274E8A
Deuteranopia (green-blind)
#556284
Tritanopia (blue-blind)
#AB2852
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22087;
/* rgb */ color: rgb(162, 32, 135);
/* oklch */ color: oklch(49.7% 0.194 338.3);
Tailwind
colors: {
  custom: {
    50: '#c26caa',
    500: '#a22087',
    950: '#000000',
  },
}
SCSS
$custom: #a22087;
$custom-light: #c26caa;
$custom-dark: #000000;
JSON
{
  "hex": "#a22087",
  "rgb": {
    "r": 162,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 312.462,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49707,
    "c": 0.19395,
    "h": 338.3
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

primary
#A22087
secondary
#5AC370
accent
#EA623E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A22087

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

Preview Lab → · Contrast checker → · Palette generator →

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