#A22251#A22251

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

Color values

HEX#A22251
RGBrgb(162, 34, 81)
HSLhsl(338, 65%, 38%)
HSVhsv(338, 79%, 64%)
CMYKcmyk(0%, 79%, 50%, 36.5%)
CIE-LABlab(36.78, 53.97, 4.84)
CIE-LCHlch(36.78, 54.18, 5.12°)
OKLaboklab(47.66% 0.1652 0.0129)
OKLCHoklch(47.66% 0.166 4.5)
XYZxyz(16.9590, 9.4219, 8.7086)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22251 #22A273
analogous
#A22291 #A22251 #A23322
triadic
#A22251 #51A222 #2251A2
tetradic
#A22251 #91A222 #22A273 #3322A2
square
#A22251 #91A222 #22A273 #3322A2
split-complementary
#A22251 #22A233 #2291A2
monochromatic
#3D0D1E #6F1738 #A22251 #D32E6B #DE618F

Accessibility & contrast

On white

7.28
#A22251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A22251
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22251#FFFFFF#000000##FFFFFF
##A222511.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22251;
/* rgb */ color: rgb(162, 34, 81);
/* oklch */ color: oklch(47.7% 0.166 4.5);
Tailwind
colors: {
  custom: {
    50: '#c36b81',
    500: '#a22251',
    950: '#000000',
  },
}
SCSS
$custom: #a22251;
$custom-light: #c36b81;
$custom-dark: #000000;
JSON
{
  "hex": "#a22251",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 337.969,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4766,
    "c": 0.16571,
    "h": 4.5
  },
  "luminance": 0.0942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A22251

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

Preview Lab → · Contrast checker → · Palette generator →

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