#A22784#A22784

#A22784 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.185 H 339.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A22784
RGBrgb(162, 39, 132)
HSLhsl(315, 61%, 39%)
HSVhsv(315, 76%, 64%)
CMYKcmyk(0%, 75.9%, 18.5%, 36.5%)
CIE-LABlab(39.24, 58.24, -23.64)
CIE-LCHlch(39.24, 62.86, 337.91°)
OKLaboklab(50.08% 0.1736 -0.0639)
OKLCHoklch(50.08% 0.185 339.8)
XYZxyz(19.7912, 10.8003, 22.8677)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22784 #27A245
analogous
#8327A2 #A22784 #A22747
triadic
#A22784 #84A227 #2784A2
tetradic
#A22784 #A28327 #27A245 #2747A2
square
#A22784 #A28327 #27A245 #2747A2
split-complementary
#A22784 #47A227 #27A283
monochromatic
#3F0F34 #711B5C #A22784 #CF37AA #DB69BF

Accessibility & contrast

On white

6.65
#A22784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A22784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22784
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22784#FFFFFF#000000##FFFFFF
##A227841.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305087
Deuteranopia (green-blind)
#586381
Tritanopia (blue-blind)
#AC2B53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22784;
/* rgb */ color: rgb(162, 39, 132);
/* oklch */ color: oklch(50.1% 0.185 339.8);
Tailwind
colors: {
  custom: {
    50: '#c16ea8',
    500: '#a22784',
    950: '#000000',
  },
}
SCSS
$custom: #a22784;
$custom-light: #c16ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#a22784",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 314.634,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50076,
    "c": 0.18502,
    "h": 339.8
  },
  "luminance": 0.10798
}

Semantic roles & 50–950 ramp

primary
#A22784
secondary
#64C17B
accent
#E46B43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22784

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

Preview Lab → · Contrast checker → · Palette generator →

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