#A22C8D#A22C8D

#A22C8D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.186 H 336.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A22C8D
RGBrgb(162, 44, 141)
HSLhsl(311, 57%, 40%)
HSVhsv(311, 73%, 64%)
CMYKcmyk(0%, 72.8%, 13%, 36.5%)
CIE-LABlab(40.26, 57.89, -27.57)
CIE-LCHlch(40.26, 64.12, 334.53°)
OKLaboklab(50.95% 0.1697 -0.0751)
OKLCHoklch(50.95% 0.186 336.1)
XYZxyz(20.6090, 11.4077, 26.3106)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C8D #2CA241
analogous
#7C2CA2 #A22C8D #A22C52
triadic
#A22C8D #8DA22C #2C8DA2
tetradic
#A22C8D #A27C2C #2CA241 #2C52A2
square
#A22C8D #A27C2C #2CA241 #2C52A2
split-complementary
#A22C8D #52A22C #2CA27C
monochromatic
#421239 #721F63 #A22C8D #CB40B2 #D870C6

Accessibility & contrast

On white

6.40
#A22C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A22C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C8D
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C8D#FFFFFF#000000##FFFFFF
##A22C8D1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#AA3459
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22c8d;
/* rgb */ color: rgb(162, 44, 141);
/* oklch */ color: oklch(51.0% 0.186 336.1);
Tailwind
colors: {
  custom: {
    50: '#c171ae',
    500: '#a22c8d',
    950: '#000000',
  },
}
SCSS
$custom: #a22c8d;
$custom-light: #c171ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c8d",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 310.678,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.18561,
    "h": 336.1
  },
  "luminance": 0.11406
}

Semantic roles & 50–950 ramp

primary
#A22C8D
secondary
#6ABF79
accent
#E16347
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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