#A22252#A22252

#A22252 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.166 H 3.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A22252
RGBrgb(162, 34, 82)
HSLhsl(338, 65%, 38%)
HSVhsv(338, 79%, 64%)
CMYKcmyk(0%, 79%, 49.4%, 36.5%)
CIE-LABlab(36.81, 54.06, 4.23)
CIE-LCHlch(36.81, 54.22, 4.48°)
OKLaboklab(47.69% 0.1656 0.0114)
OKLCHoklch(47.69% 0.166 3.9)
XYZxyz(16.9968, 9.4370, 8.9075)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22252 #22A272
analogous
#A22292 #A22252 #A23222
triadic
#A22252 #52A222 #2252A2
tetradic
#A22252 #92A222 #22A272 #3222A2
square
#A22252 #92A222 #22A272 #3222A2
split-complementary
#A22252 #22A232 #2292A2
monochromatic
#3D0D1F #6F1738 #A22252 #D32E6C #DE6190

Accessibility & contrast

On white

7.27
#A22252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A22252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22252
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22252#FFFFFF#000000##FFFFFF
##A222521.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424753
Deuteranopia (green-blind)
#64604F
Tritanopia (blue-blind)
#B10037
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a22252;
/* rgb */ color: rgb(162, 34, 82);
/* oklch */ color: oklch(47.7% 0.166 3.9);
Tailwind
colors: {
  custom: {
    50: '#c36b82',
    500: '#a22252',
    950: '#000000',
  },
}
SCSS
$custom: #a22252;
$custom-light: #c36b82;
$custom-dark: #000000;
JSON
{
  "hex": "#a22252",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 337.5,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4769,
    "c": 0.16597,
    "h": 3.9
  },
  "luminance": 0.09435
}

Semantic roles & 50–950 ramp

primary
#A22252
secondary
#5DC39D
accent
#E8A940
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A22252

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

Preview Lab → · Contrast checker → · Palette generator →

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