#A22F84#A22F84

#A22F84 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.176 H 340.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A22F84
RGBrgb(162, 47, 132)
HSLhsl(316, 55%, 41%)
HSVhsv(316, 71%, 64%)
CMYKcmyk(0%, 71%, 18.5%, 36.5%)
CIE-LABlab(40.22, 55.49, -22.12)
CIE-LCHlch(40.22, 59.74, 338.26°)
OKLaboklab(50.78% 0.1653 -0.0597)
OKLCHoklch(50.78% 0.176 340.2)
XYZxyz(20.0822, 11.3823, 22.9647)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F84 #2FA24D
analogous
#862FA2 #A22F84 #A22F4A
triadic
#A22F84 #84A22F #2F84A2
tetradic
#A22F84 #A2862F #2FA24D #2F4AA2
square
#A22F84 #A2862F #2FA24D #2F4AA2
split-complementary
#A22F84 #4AA22F #2FA286
monochromatic
#431337 #73215D #A22F84 #C945A7 #D775BD

Accessibility & contrast

On white

6.41
#A22F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22F84
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F84#FFFFFF#000000##FFFFFF
##A22F841.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375386
Deuteranopia (green-blind)
#5B6581
Tritanopia (blue-blind)
#AC3255
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22f84;
/* rgb */ color: rgb(162, 47, 132);
/* oklch */ color: oklch(50.8% 0.176 340.2);
Tailwind
colors: {
  custom: {
    50: '#c172a8',
    500: '#a22f84',
    950: '#000000',
  },
}
SCSS
$custom: #a22f84;
$custom-light: #c172a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f84",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 315.652,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50783,
    "c": 0.17573,
    "h": 340.2
  },
  "luminance": 0.1138
}

Semantic roles & 50–950 ramp

primary
#A22F84
secondary
#6EBF83
accent
#DE7049
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22F84

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

Preview Lab → · Contrast checker → · Palette generator →

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