#A22E8D#A22E8D

#A22E8D is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.183 H 336.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A22E8D
RGBrgb(162, 46, 141)
HSLhsl(311, 56%, 41%)
HSVhsv(311, 72%, 64%)
CMYKcmyk(0%, 71.6%, 13%, 36.5%)
CIE-LABlab(40.51, 57.18, -27.18)
CIE-LCHlch(40.51, 63.31, 334.57°)
OKLaboklab(51.13% 0.1676 -0.074)
OKLCHoklch(51.13% 0.183 336.2)
XYZxyz(20.6853, 11.5603, 26.3361)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E8D #2EA243
analogous
#7D2EA2 #A22E8D #A22E53
triadic
#A22E8D #8DA22E #2E8DA2
tetradic
#A22E8D #A27D2E #2EA243 #2E53A2
square
#A22E8D #A27D2E #2EA243 #2E53A2
split-complementary
#A22E8D #53A22E #2EA27D
monochromatic
#43133A #722064 #A22E8D #CA43B1 #D773C5

Accessibility & contrast

On white

6.34
#A22E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A22E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E8D
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E8D#FFFFFF#000000##FFFFFF
##A22E8D1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305490
Deuteranopia (green-blind)
#57668A
Tritanopia (blue-blind)
#AA365A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22e8d;
/* rgb */ color: rgb(162, 46, 141);
/* oklch */ color: oklch(51.1% 0.183 336.2);
Tailwind
colors: {
  custom: {
    50: '#c172ae',
    500: '#a22e8d',
    950: '#000000',
  },
}
SCSS
$custom: #a22e8d;
$custom-light: #c172ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e8d",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 310.862,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.18325,
    "h": 336.2
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#A22E8D
secondary
#6DBF7C
accent
#DF6449
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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