#A22282#A22282

#A22282 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.6% C 0.189 H 340.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A22282
RGBrgb(162, 34, 130)
HSLhsl(315, 65%, 38%)
HSVhsv(315, 79%, 64%)
CMYKcmyk(0%, 79%, 19.8%, 36.5%)
CIE-LABlab(38.62, 59.48, -23.37)
CIE-LCHlch(38.62, 63.91, 338.55°)
OKLaboklab(49.6% 0.178 -0.0631)
OKLCHoklch(49.6% 0.189 340.5)
XYZxyz(19.5022, 10.4391, 22.1027)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22282 #22A242
analogous
#8222A2 #A22282 #A22242
triadic
#A22282 #82A222 #2282A2
tetradic
#A22282 #A28222 #22A242 #2242A2
square
#A22282 #A28222 #22A242 #2242A2
split-complementary
#A22282 #42A222 #22A282
monochromatic
#3D0D31 #6F1759 #A22282 #D32EAA #DE61BE

Accessibility & contrast

On white

6.80
#A22282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A22282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22282
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22282#FFFFFF#000000##FFFFFF
##A222821.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E85
Deuteranopia (green-blind)
#57627F
Tritanopia (blue-blind)
#AC2650
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22282;
/* rgb */ color: rgb(162, 34, 130);
/* oklch */ color: oklch(49.6% 0.189 340.5);
Tailwind
colors: {
  custom: {
    50: '#c26ca6',
    500: '#a22282',
    950: '#000000',
  },
}
SCSS
$custom: #a22282;
$custom-light: #c26ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22282",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 315,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49596,
    "c": 0.18881,
    "h": 340.5
  },
  "luminance": 0.10437
}

Semantic roles & 50–950 ramp

primary
#A22282
secondary
#5DC377
accent
#E86A40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A22282

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

Preview Lab → · Contrast checker → · Palette generator →

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