#A22F83#A22F83

#A22F83 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.175 H 340.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A22F83
RGBrgb(162, 47, 131)
HSLhsl(316, 55%, 41%)
HSVhsv(316, 71%, 64%)
CMYKcmyk(0%, 71%, 19.1%, 36.5%)
CIE-LABlab(40.17, 55.34, -21.58)
CIE-LCHlch(40.17, 59.40, 338.70°)
OKLaboklab(50.74% 0.1651 -0.0581)
OKLCHoklch(50.74% 0.175 340.6)
XYZxyz(20.0141, 11.3550, 22.6060)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F83 #2FA24E
analogous
#872FA2 #A22F83 #A22F49
triadic
#A22F83 #83A22F #2F83A2
tetradic
#A22F83 #A2872F #2FA24E #2F49A2
square
#A22F83 #A2872F #2FA24E #2F49A2
split-complementary
#A22F83 #49A22F #2FA287
monochromatic
#431336 #73215D #A22F83 #C945A6 #D775BC

Accessibility & contrast

On white

6.42
#A22F83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A22F83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F83
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F83#FFFFFF#000000##FFFFFF
##A22F831.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22f83;
/* rgb */ color: rgb(162, 47, 131);
/* oklch */ color: oklch(50.7% 0.175 340.6);
Tailwind
colors: {
  custom: {
    50: '#c172a7',
    500: '#a22f83',
    950: '#000000',
  },
}
SCSS
$custom: #a22f83;
$custom-light: #c172a7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f83",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 316.174,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.17506,
    "h": 340.6
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#A22F83
secondary
#6EBF84
accent
#DE7249
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22F83

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

Preview Lab → · Contrast checker → · Palette generator →

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