#A22284#A22284

#A22284 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.7% C 0.190 H 339.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A22284
RGBrgb(162, 34, 132)
HSLhsl(314, 65%, 38%)
HSVhsv(314, 79%, 64%)
CMYKcmyk(0%, 79%, 18.5%, 36.5%)
CIE-LABlab(38.71, 59.75, -24.46)
CIE-LCHlch(38.71, 64.57, 337.74°)
OKLaboklab(49.7% 0.1782 -0.0662)
OKLCHoklch(49.7% 0.19 339.6)
XYZxyz(19.6377, 10.4934, 22.8165)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22284 #22A240
analogous
#8022A2 #A22284 #A22244
triadic
#A22284 #84A222 #2284A2
tetradic
#A22284 #A28022 #22A240 #2244A2
square
#A22284 #A28022 #22A240 #2244A2
split-complementary
#A22284 #44A222 #22A280
monochromatic
#3D0D32 #6F175B #A22284 #D32EAC #DE61C0

Accessibility & contrast

On white

6.78
#A22284 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A22284 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22284
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22284#FFFFFF#000000##FFFFFF
##A222841.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E87
Deuteranopia (green-blind)
#566281
Tritanopia (blue-blind)
#AC2751
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22284;
/* rgb */ color: rgb(162, 34, 132);
/* oklch */ color: oklch(49.7% 0.190 339.6);
Tailwind
colors: {
  custom: {
    50: '#c26ca8',
    500: '#a22284',
    950: '#000000',
  },
}
SCSS
$custom: #a22284;
$custom-light: #c26ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#a22284",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 314.063,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49695,
    "c": 0.19011,
    "h": 339.6
  },
  "luminance": 0.10491
}

Semantic roles & 50–950 ramp

primary
#A22284
secondary
#5DC375
accent
#E86740
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22284

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

Preview Lab → · Contrast checker → · Palette generator →

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