#A22B87#A22B87

#A22B87 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.183 H 338.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A22B87
RGBrgb(162, 43, 135)
HSLhsl(314, 58%, 40%)
HSVhsv(314, 73%, 64%)
CMYKcmyk(0%, 73.5%, 16.7%, 36.5%)
CIE-LABlab(39.85, 57.35, -24.54)
CIE-LCHlch(39.85, 62.38, 336.83°)
OKLaboklab(50.56% 0.17 -0.0665)
OKLCHoklch(50.56% 0.183 338.6)
XYZxyz(20.1378, 11.1603, 24.0106)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B87 #2BA246
analogous
#812BA2 #A22B87 #A22B4C
triadic
#A22B87 #87A22B #2B87A2
tetradic
#A22B87 #A2812B #2BA246 #2B4CA2
square
#A22B87 #A2812B #2BA246 #2B4CA2
split-complementary
#A22B87 #4CA22B #2BA281
monochromatic
#411136 #721E5F #A22B87 #CC3EAC #D96FC1

Accessibility & contrast

On white

6.50
#A22B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A22B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B87
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B87#FFFFFF#000000##FFFFFF
##A22B871.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31528A
Deuteranopia (green-blind)
#586584
Tritanopia (blue-blind)
#AB3056
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22b87;
/* rgb */ color: rgb(162, 43, 135);
/* oklch */ color: oklch(50.6% 0.183 338.6);
Tailwind
colors: {
  custom: {
    50: '#c170aa',
    500: '#a22b87',
    950: '#000000',
  },
}
SCSS
$custom: #a22b87;
$custom-light: #c170aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b87",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 313.613,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50561,
    "c": 0.18257,
    "h": 338.6
  },
  "luminance": 0.11158
}

Semantic roles & 50–950 ramp

primary
#A22B87
secondary
#69C07D
accent
#E16A47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22B87

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

Preview Lab → · Contrast checker → · Palette generator →

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