#A22151#A22151

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

Color values

HEX#A22151
RGBrgb(162, 33, 81)
HSLhsl(338, 66%, 38%)
HSVhsv(338, 80%, 64%)
CMYKcmyk(0%, 79.6%, 50%, 36.5%)
CIE-LABlab(36.68, 54.27, 4.69)
CIE-LCHlch(36.68, 54.47, 4.93°)
OKLaboklab(47.58% 0.1662 0.0125)
OKLCHoklch(47.58% 0.167 4.3)
XYZxyz(16.9308, 9.3655, 8.6992)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22151 #21A272
analogous
#A22191 #A22151 #A23121
triadic
#A22151 #51A221 #2151A2
tetradic
#A22151 #91A221 #21A272 #3121A2
square
#A22151 #91A221 #21A272 #3121A2
split-complementary
#A22151 #21A231 #2191A2
monochromatic
#3C0C1E #6F1738 #A22151 #D42C6B #DE5F8E

Accessibility & contrast

On white

7.31
#A22151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A22151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22151
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22151#FFFFFF#000000##FFFFFF
##A221511.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424652
Deuteranopia (green-blind)
#645F4E
Tritanopia (blue-blind)
#B10036
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22151;
/* rgb */ color: rgb(162, 33, 81);
/* oklch */ color: oklch(47.6% 0.167 4.3);
Tailwind
colors: {
  custom: {
    50: '#c36a81',
    500: '#a22151',
    950: '#000000',
  },
}
SCSS
$custom: #a22151;
$custom-light: #c36a81;
$custom-dark: #000000;
JSON
{
  "hex": "#a22151",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 337.674,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47583,
    "c": 0.16664,
    "h": 4.3
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#A22151
secondary
#5CC39D
accent
#E9AA3F
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A22151

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

Preview Lab → · Contrast checker → · Palette generator →

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