#A22142#A22142

#A22142 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.2% C 0.164 H 12.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#A22142
RGBrgb(162, 33, 66)
HSLhsl(345, 66%, 38%)
HSVhsv(345, 80%, 64%)
CMYKcmyk(0%, 79.6%, 59.3%, 36.5%)
CIE-LABlab(36.30, 53.09, 13.82)
CIE-LCHlch(36.30, 54.86, 14.59°)
OKLaboklab(47.18% 0.1604 0.0343)
OKLCHoklch(47.18% 0.164 12.1)
XYZxyz(16.4292, 9.1649, 6.0571)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22142 #21A281
analogous
#A22182 #A22142 #A24021
triadic
#A22142 #42A221 #2142A2
tetradic
#A22142 #82A221 #21A281 #4021A2
square
#A22142 #82A221 #21A281 #4021A2
split-complementary
#A22142 #21A240 #2182A2
monochromatic
#3C0C19 #6F172D #A22142 #D42C57 #DE5F80

Accessibility & contrast

On white

7.41
#A22142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#A22142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22142
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22142#FFFFFF#000000##FFFFFF
##A221421.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22142;
/* rgb */ color: rgb(162, 33, 66);
/* oklch */ color: oklch(47.2% 0.164 12.1);
Tailwind
colors: {
  custom: {
    50: '#c46a76',
    500: '#a22142',
    950: '#000000',
  },
}
SCSS
$custom: #a22142;
$custom-light: #c46a76;
$custom-dark: #000000;
JSON
{
  "hex": "#a22142",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 344.651,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4718,
    "c": 0.16399,
    "h": 12.1
  },
  "luminance": 0.09162
}

Semantic roles & 50–950 ramp

primary
#A22142
secondary
#5CC3A9
accent
#E9BE3F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A22142

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

Preview Lab → · Contrast checker → · Palette generator →

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