#A22E83#A22E83

#A22E83 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.176 H 340.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A22E83
RGBrgb(162, 46, 131)
HSLhsl(316, 56%, 41%)
HSVhsv(316, 72%, 64%)
CMYKcmyk(0%, 71.6%, 19.1%, 36.5%)
CIE-LABlab(40.04, 55.71, -21.78)
CIE-LCHlch(40.04, 59.82, 338.65°)
OKLaboklab(50.64% 0.1662 -0.0587)
OKLCHoklch(50.64% 0.176 340.6)
XYZxyz(19.9746, 11.2760, 22.5929)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E83 #2EA24D
analogous
#872EA2 #A22E83 #A22E49
triadic
#A22E83 #83A22E #2E83A2
tetradic
#A22E83 #A2872E #2EA24D #2E49A2
square
#A22E83 #A2872E #2EA24D #2E49A2
split-complementary
#A22E83 #49A22E #2EA287
monochromatic
#431336 #72205C #A22E83 #CA43A6 #D773BD

Accessibility & contrast

On white

6.45
#A22E83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A22E83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E83
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E83#FFFFFF#000000##FFFFFF
##A22E831.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365285
Deuteranopia (green-blind)
#5B6580
Tritanopia (blue-blind)
#AC3154
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22e83;
/* rgb */ color: rgb(162, 46, 131);
/* oklch */ color: oklch(50.6% 0.176 340.6);
Tailwind
colors: {
  custom: {
    50: '#c171a7',
    500: '#a22e83',
    950: '#000000',
  },
}
SCSS
$custom: #a22e83;
$custom-light: #c171a7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e83",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 316.034,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50641,
    "c": 0.17629,
    "h": 340.6
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

primary
#A22E83
secondary
#6DBF83
accent
#DF7149
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22E83

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

Preview Lab → · Contrast checker → · Palette generator →

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