#A22042#A22042

#A22042 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.165 H 11.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#A22042
RGBrgb(162, 32, 66)
HSLhsl(344, 67%, 38%)
HSVhsv(344, 80%, 64%)
CMYKcmyk(0%, 80.2%, 59.3%, 36.5%)
CIE-LABlab(36.20, 53.39, 13.68)
CIE-LCHlch(36.20, 55.11, 14.37°)
OKLaboklab(47.1% 0.1613 0.034)
OKLCHoklch(47.1% 0.165 11.9)
XYZxyz(16.4018, 9.1102, 6.0480)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22042 #20A280
analogous
#A22083 #A22042 #A23F20
triadic
#A22042 #42A220 #2042A2
tetradic
#A22042 #83A220 #20A280 #3F20A2
square
#A22042 #83A220 #20A280 #3F20A2
split-complementary
#A22042 #20A23F #2083A2
monochromatic
#3C0C18 #6F162D #A22042 #D52A57 #DF5D7F

Accessibility & contrast

On white

7.44
#A22042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#A22042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22042
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22042#FFFFFF#000000##FFFFFF
##A220421.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454442
Deuteranopia (green-blind)
#665F3F
Tritanopia (blue-blind)
#B2002F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a22042;
/* rgb */ color: rgb(162, 32, 66);
/* oklch */ color: oklch(47.1% 0.165 11.9);
Tailwind
colors: {
  custom: {
    50: '#c46976',
    500: '#a22042',
    950: '#000000',
  },
}
SCSS
$custom: #a22042;
$custom-light: #c46976;
$custom-dark: #000000;
JSON
{
  "hex": "#a22042",
  "rgb": {
    "r": 162,
    "g": 32,
    "b": 66
  },
  "hsl": {
    "h": 344.308,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47103,
    "c": 0.16485,
    "h": 11.9
  },
  "luminance": 0.09108
}

Semantic roles & 50–950 ramp

primary
#A22042
secondary
#5AC3A8
accent
#EABD3E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A22042

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

Preview Lab → · Contrast checker → · Palette generator →

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