#A22F8D#A22F8D

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

Color values

HEX#A22F8D
RGBrgb(162, 47, 141)
HSLhsl(311, 55%, 41%)
HSVhsv(311, 71%, 64%)
CMYKcmyk(0%, 71%, 13%, 36.5%)
CIE-LABlab(40.64, 56.82, -26.98)
CIE-LCHlch(40.64, 62.90, 334.60°)
OKLaboklab(51.23% 0.1666 -0.0735)
OKLCHoklch(51.23% 0.182 336.2)
XYZxyz(20.7248, 11.6393, 26.3492)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F8D #2FA244
analogous
#7D2FA2 #A22F8D #A22F53
triadic
#A22F8D #8DA22F #2F8DA2
tetradic
#A22F8D #A27D2F #2FA244 #2F53A2
square
#A22F8D #A27D2F #2FA244 #2F53A2
split-complementary
#A22F8D #53A22F #2FA27D
monochromatic
#43133A #732164 #A22F8D #C945B1 #D775C5

Accessibility & contrast

On white

6.31
#A22F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A22F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F8D
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F8D#FFFFFF#000000##FFFFFF
##A22F8D1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315590
Deuteranopia (green-blind)
#58668A
Tritanopia (blue-blind)
#AA365A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22f8d;
/* rgb */ color: rgb(162, 47, 141);
/* oklch */ color: oklch(51.2% 0.182 336.2);
Tailwind
colors: {
  custom: {
    50: '#c172ae',
    500: '#a22f8d',
    950: '#000000',
  },
}
SCSS
$custom: #a22f8d;
$custom-light: #c172ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f8d",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 310.957,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51225,
    "c": 0.18204,
    "h": 336.2
  },
  "luminance": 0.11637
}

Semantic roles & 50–950 ramp

primary
#A22F8D
secondary
#6EBF7D
accent
#DE6549
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A22F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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