#A22781#A22781

#A22781 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.183 H 341.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A22781
RGBrgb(162, 39, 129)
HSLhsl(316, 61%, 39%)
HSVhsv(316, 76%, 64%)
CMYKcmyk(0%, 75.9%, 20.4%, 36.5%)
CIE-LABlab(39.10, 57.83, -22.00)
CIE-LCHlch(39.10, 61.87, 339.17°)
OKLaboklab(49.93% 0.1732 -0.0592)
OKLCHoklch(49.93% 0.183 341.1)
XYZxyz(19.5889, 10.7194, 21.8020)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22781 #27A248
analogous
#8627A2 #A22781 #A22743
triadic
#A22781 #81A227 #2781A2
tetradic
#A22781 #A28627 #27A248 #2743A2
square
#A22781 #A28627 #27A248 #2743A2
split-complementary
#A22781 #43A227 #27A286
monochromatic
#3F0F32 #711B5A #A22781 #CF37A6 #DB69BC

Accessibility & contrast

On white

6.68
#A22781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A22781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22781
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22781#FFFFFF#000000##FFFFFF
##A227811.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F83
Deuteranopia (green-blind)
#59637E
Tritanopia (blue-blind)
#AC2A51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22781;
/* rgb */ color: rgb(162, 39, 129);
/* oklch */ color: oklch(49.9% 0.183 341.1);
Tailwind
colors: {
  custom: {
    50: '#c16ea5',
    500: '#a22781',
    950: '#000000',
  },
}
SCSS
$custom: #a22781;
$custom-light: #c16ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22781",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 129
  },
  "hsl": {
    "h": 316.098,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49931,
    "c": 0.18306,
    "h": 341.1
  },
  "luminance": 0.10717
}

Semantic roles & 50–950 ramp

primary
#A22781
secondary
#64C17D
accent
#E46F43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22781

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

Preview Lab → · Contrast checker → · Palette generator →

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