#A22154#A22154

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

Color values

HEX#A22154
RGBrgb(162, 33, 84)
HSLhsl(336, 66%, 38%)
HSVhsv(336, 80%, 64%)
CMYKcmyk(0%, 79.6%, 48.1%, 36.5%)
CIE-LABlab(36.76, 54.53, 2.88)
CIE-LCHlch(36.76, 54.61, 3.02°)
OKLaboklab(47.67% 0.1673 0.008)
OKLCHoklch(47.67% 0.167 2.7)
XYZxyz(17.0458, 9.4115, 9.3048)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22154 #21A26F
analogous
#A22194 #A22154 #A22E21
triadic
#A22154 #54A221 #2154A2
tetradic
#A22154 #94A221 #21A26F #2E21A2
square
#A22154 #94A221 #21A26F #2E21A2
split-complementary
#A22154 #21A22E #2194A2
monochromatic
#3C0C1F #6F173A #A22154 #D42C6F #DE5F91

Accessibility & contrast

On white

7.29
#A22154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A22154
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22154#FFFFFF#000000##FFFFFF
##A221541.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414755
Deuteranopia (green-blind)
#635F51
Tritanopia (blue-blind)
#B00038
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22154;
/* rgb */ color: rgb(162, 33, 84);
/* oklch */ color: oklch(47.7% 0.167 2.7);
Tailwind
colors: {
  custom: {
    50: '#c36a83',
    500: '#a22154',
    950: '#000000',
  },
}
SCSS
$custom: #a22154;
$custom-light: #c36a83;
$custom-dark: #000000;
JSON
{
  "hex": "#a22154",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 336.279,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47674,
    "c": 0.16745,
    "h": 2.7
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#A22154
secondary
#5CC39A
accent
#E9A63F
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A22154

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

Preview Lab → · Contrast checker → · Palette generator →

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