#A22988#A22988

#A22988 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.186 H 338.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A22988
RGBrgb(162, 41, 136)
HSLhsl(313, 60%, 40%)
HSVhsv(313, 75%, 64%)
CMYKcmyk(0%, 74.7%, 16%, 36.5%)
CIE-LABlab(39.66, 58.17, -25.45)
CIE-LCHlch(39.66, 63.49, 336.37°)
OKLaboklab(50.44% 0.1722 -0.069)
OKLCHoklch(50.44% 0.186 338.1)
XYZxyz(20.1376, 11.0467, 24.3595)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22988 #29A243
analogous
#8029A2 #A22988 #A2294B
triadic
#A22988 #88A229 #2988A2
tetradic
#A22988 #A28029 #29A243 #294BA2
square
#A22988 #A28029 #29A243 #294BA2
split-complementary
#A22988 #4BA229 #29A280
monochromatic
#401036 #711D5F #A22988 #CD3BAE #DA6CC2

Accessibility & contrast

On white

6.54
#A22988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A22988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22988
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22988#FFFFFF#000000##FFFFFF
##A229881.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F518B
Deuteranopia (green-blind)
#576485
Tritanopia (blue-blind)
#AB2F55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22988;
/* rgb */ color: rgb(162, 41, 136);
/* oklch */ color: oklch(50.4% 0.186 338.1);
Tailwind
colors: {
  custom: {
    50: '#c16fab',
    500: '#a22988',
    950: '#000000',
  },
}
SCSS
$custom: #a22988;
$custom-light: #c16fab;
$custom-dark: #000000;
JSON
{
  "hex": "#a22988",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 312.893,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50439,
    "c": 0.18553,
    "h": 338.1
  },
  "luminance": 0.11045
}

Semantic roles & 50–950 ramp

primary
#A22988
secondary
#67C07A
accent
#E36745
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22988

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

Preview Lab → · Contrast checker → · Palette generator →

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