#A22E87#A22E87

#A22E87 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.179 H 338.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A22E87
RGBrgb(162, 46, 135)
HSLhsl(314, 56%, 41%)
HSVhsv(314, 72%, 64%)
CMYKcmyk(0%, 71.6%, 16.7%, 36.5%)
CIE-LABlab(40.22, 56.29, -23.96)
CIE-LCHlch(40.22, 61.17, 336.95°)
OKLaboklab(50.83% 0.1669 -0.0648)
OKLCHoklch(50.83% 0.179 338.8)
XYZxyz(20.2509, 11.3865, 24.0483)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E87 #2EA249
analogous
#832EA2 #A22E87 #A22E4D
triadic
#A22E87 #87A22E #2E87A2
tetradic
#A22E87 #A2832E #2EA249 #2E4DA2
square
#A22E87 #A2832E #2EA249 #2E4DA2
split-complementary
#A22E87 #4DA22E #2EA283
monochromatic
#431338 #72205F #A22E87 #CA43AA #D773C0

Accessibility & contrast

On white

6.41
#A22E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22E87
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E87#FFFFFF#000000##FFFFFF
##A22E871.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34538A
Deuteranopia (green-blind)
#596584
Tritanopia (blue-blind)
#AB3357
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22e87;
/* rgb */ color: rgb(162, 46, 135);
/* oklch */ color: oklch(50.8% 0.179 338.8);
Tailwind
colors: {
  custom: {
    50: '#c171aa',
    500: '#a22e87',
    950: '#000000',
  },
}
SCSS
$custom: #a22e87;
$custom-light: #c171aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e87",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 313.966,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50833,
    "c": 0.17902,
    "h": 338.8
  },
  "luminance": 0.11385
}

Semantic roles & 50–950 ramp

primary
#A22E87
secondary
#6DBF80
accent
#DF6C49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22E87

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

Preview Lab → · Contrast checker → · Palette generator →

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