#A22E88#A22E88

#A22E88 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.180 H 338.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A22E88
RGBrgb(162, 46, 136)
HSLhsl(313, 56%, 41%)
HSVhsv(313, 72%, 64%)
CMYKcmyk(0%, 71.6%, 16%, 36.5%)
CIE-LABlab(40.27, 56.44, -24.50)
CIE-LCHlch(40.27, 61.52, 336.54°)
OKLaboklab(50.88% 0.167 -0.0664)
OKLCHoklch(50.88% 0.18 338.3)
XYZxyz(20.3217, 11.4148, 24.4208)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E88 #2EA248
analogous
#822EA2 #A22E88 #A22E4E
triadic
#A22E88 #88A22E #2E88A2
tetradic
#A22E88 #A2822E #2EA248 #2E4EA2
square
#A22E88 #A2822E #2EA248 #2E4EA2
split-complementary
#A22E88 #4EA22E #2EA282
monochromatic
#431338 #722060 #A22E88 #CA43AC #D773C1

Accessibility & contrast

On white

6.40
#A22E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A22E88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E88
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E88#FFFFFF#000000##FFFFFF
##A22E881.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33538B
Deuteranopia (green-blind)
#596585
Tritanopia (blue-blind)
#AB3357
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22e88;
/* rgb */ color: rgb(162, 46, 136);
/* oklch */ color: oklch(50.9% 0.180 338.3);
Tailwind
colors: {
  custom: {
    50: '#c171ab',
    500: '#a22e88',
    950: '#000000',
  },
}
SCSS
$custom: #a22e88;
$custom-light: #c171ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e88",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 313.448,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50882,
    "c": 0.17971,
    "h": 338.3
  },
  "luminance": 0.11413
}

Semantic roles & 50–950 ramp

primary
#A22E88
secondary
#6DBF7F
accent
#DF6A49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22E88

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

Preview Lab → · Contrast checker → · Palette generator →

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