#A22152#A22152

#A22152 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.167 H 3.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#A22152
RGBrgb(162, 33, 82)
HSLhsl(337, 66%, 38%)
HSVhsv(337, 80%, 64%)
CMYKcmyk(0%, 79.6%, 49.4%, 36.5%)
CIE-LABlab(36.71, 54.35, 4.08)
CIE-LCHlch(36.71, 54.51, 4.30°)
OKLaboklab(47.61% 0.1665 0.011)
OKLCHoklch(47.61% 0.167 3.8)
XYZxyz(16.9686, 9.3806, 8.8981)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22152 #21A271
analogous
#A22192 #A22152 #A23021
triadic
#A22152 #52A221 #2152A2
tetradic
#A22152 #92A221 #21A271 #3021A2
square
#A22152 #92A221 #21A271 #3021A2
split-complementary
#A22152 #21A230 #2192A2
monochromatic
#3C0C1F #6F1738 #A22152 #D42C6C #DE5F8F

Accessibility & contrast

On white

7.30
#A22152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A22152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22152
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22152#FFFFFF#000000##FFFFFF
##A221521.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424653
Deuteranopia (green-blind)
#645F4F
Tritanopia (blue-blind)
#B10037
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22152;
/* rgb */ color: rgb(162, 33, 82);
/* oklch */ color: oklch(47.6% 0.167 3.8);
Tailwind
colors: {
  custom: {
    50: '#c36a82',
    500: '#a22152',
    950: '#000000',
  },
}
SCSS
$custom: #a22152;
$custom-light: #c36a82;
$custom-dark: #000000;
JSON
{
  "hex": "#a22152",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 337.209,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47613,
    "c": 0.1669,
    "h": 3.8
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#A22152
secondary
#5CC39C
accent
#E9A83F
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A22152

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

Preview Lab → · Contrast checker → · Palette generator →

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