#A22782#A22782

#A22782 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.184 H 340.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A22782
RGBrgb(162, 39, 130)
HSLhsl(316, 61%, 39%)
HSVhsv(316, 76%, 64%)
CMYKcmyk(0%, 75.9%, 19.8%, 36.5%)
CIE-LABlab(39.15, 57.97, -22.55)
CIE-LCHlch(39.15, 62.20, 338.75°)
OKLaboklab(49.98% 0.1734 -0.0608)
OKLCHoklch(49.98% 0.184 340.7)
XYZxyz(19.6557, 10.7461, 22.1538)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22782 #27A247
analogous
#8527A2 #A22782 #A22744
triadic
#A22782 #82A227 #2782A2
tetradic
#A22782 #A28527 #27A247 #2744A2
square
#A22782 #A28527 #27A247 #2744A2
split-complementary
#A22782 #44A227 #27A285
monochromatic
#3F0F33 #711B5A #A22782 #CF37A7 #DB69BD

Accessibility & contrast

On white

6.67
#A22782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A22782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22782
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22782#FFFFFF#000000##FFFFFF
##A227821.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315084
Deuteranopia (green-blind)
#59637F
Tritanopia (blue-blind)
#AC2A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22782;
/* rgb */ color: rgb(162, 39, 130);
/* oklch */ color: oklch(50.0% 0.184 340.7);
Tailwind
colors: {
  custom: {
    50: '#c16ea6',
    500: '#a22782',
    950: '#000000',
  },
}
SCSS
$custom: #a22782;
$custom-light: #c16ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22782",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 315.61,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49979,
    "c": 0.18371,
    "h": 340.7
  },
  "luminance": 0.10744
}

Semantic roles & 50–950 ramp

primary
#A22782
secondary
#64C17C
accent
#E46D43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22782

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

Preview Lab → · Contrast checker → · Palette generator →

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