#A22F86#A22F86

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

Color values

HEX#A22F86
RGBrgb(162, 47, 134)
HSLhsl(315, 55%, 41%)
HSVhsv(315, 71%, 64%)
CMYKcmyk(0%, 71%, 17.3%, 36.5%)
CIE-LABlab(40.31, 55.78, -23.21)
CIE-LCHlch(40.31, 60.41, 337.40°)
OKLaboklab(50.88% 0.1656 -0.0627)
OKLCHoklch(50.88% 0.177 339.3)
XYZxyz(20.2204, 11.4375, 23.6924)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F86 #2FA24B
analogous
#842FA2 #A22F86 #A22F4C
triadic
#A22F86 #86A22F #2F86A2
tetradic
#A22F86 #A2842F #2FA24B #2F4CA2
square
#A22F86 #A2842F #2FA24B #2F4CA2
split-complementary
#A22F86 #4CA22F #2FA284
monochromatic
#431338 #73215F #A22F86 #C945A9 #D775BF

Accessibility & contrast

On white

6.39
#A22F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A22F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F86
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F86#FFFFFF#000000##FFFFFF
##A22F861.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355388
Deuteranopia (green-blind)
#5A6683
Tritanopia (blue-blind)
#AB3356
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22f86;
/* rgb */ color: rgb(162, 47, 134);
/* oklch */ color: oklch(50.9% 0.177 339.3);
Tailwind
colors: {
  custom: {
    50: '#c172a9',
    500: '#a22f86',
    950: '#000000',
  },
}
SCSS
$custom: #a22f86;
$custom-light: #c172a9;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f86",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 314.609,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50879,
    "c": 0.1771,
    "h": 339.3
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

primary
#A22F86
secondary
#6EBF82
accent
#DE6E49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22F86

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

Preview Lab → · Contrast checker → · Palette generator →

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