#A22D5A#A22D5A

#A22D5A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.9% C 0.157 H 1.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A22D5A
RGBrgb(162, 45, 90)
HSLhsl(337, 57%, 41%)
HSVhsv(337, 72%, 64%)
CMYKcmyk(0%, 72.2%, 44.4%, 36.5%)
CIE-LABlab(38.37, 51.08, 1.37)
CIE-LCHlch(38.37, 51.10, 1.54°)
OKLaboklab(48.92% 0.1565 0.0041)
OKLCHoklch(48.92% 0.157 1.5)
XYZxyz(17.6855, 10.2986, 10.7274)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D5A #2DA275
analogous
#A22D94 #A22D5A #A23A2D
triadic
#A22D5A #5AA22D #2D5AA2
tetradic
#A22D5A #94A22D #2DA275 #3A2DA2
square
#A22D5A #94A22D #2DA275 #3A2DA2
split-complementary
#A22D5A #2DA23A #2D94A2
monochromatic
#421225 #72203F #A22D5A #CA4276 #D87299

Accessibility & contrast

On white

6.86
#A22D5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A22D5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D5A
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D5A#FFFFFF#000000##FFFFFF
##A22D5A1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5B
Deuteranopia (green-blind)
#666357
Tritanopia (blue-blind)
#B01B40
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a22d5a;
/* rgb */ color: rgb(162, 45, 90);
/* oklch */ color: oklch(48.9% 0.157 1.5);
Tailwind
colors: {
  custom: {
    50: '#c26f88',
    500: '#a22d5a',
    950: '#000000',
  },
}
SCSS
$custom: #a22d5a;
$custom-light: #c26f88;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d5a",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 336.923,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48916,
    "c": 0.15656,
    "h": 1.5
  },
  "luminance": 0.10296
}

Semantic roles & 50–950 ramp

primary
#A22D5A
secondary
#6CBF9F
accent
#E0A548
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A22D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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