#A22783#A22783

#A22783 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.184 H 340.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A22783
RGBrgb(162, 39, 131)
HSLhsl(315, 61%, 39%)
HSVhsv(315, 76%, 64%)
CMYKcmyk(0%, 75.9%, 19.1%, 36.5%)
CIE-LABlab(39.20, 58.10, -23.09)
CIE-LCHlch(39.20, 62.52, 338.33°)
OKLaboklab(50.03% 0.1735 -0.0623)
OKLCHoklch(50.03% 0.184 340.2)
XYZxyz(19.7231, 10.7731, 22.5090)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22783 #27A246
analogous
#8427A2 #A22783 #A22746
triadic
#A22783 #83A227 #2783A2
tetradic
#A22783 #A28427 #27A246 #2746A2
square
#A22783 #A28427 #27A246 #2746A2
split-complementary
#A22783 #46A227 #27A284
monochromatic
#3F0F33 #711B5B #A22783 #CF37A9 #DB69BE

Accessibility & contrast

On white

6.66
#A22783 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A22783 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22783
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22783#FFFFFF#000000##FFFFFF
##A227831.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305085
Deuteranopia (green-blind)
#586380
Tritanopia (blue-blind)
#AC2B52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22783;
/* rgb */ color: rgb(162, 39, 131);
/* oklch */ color: oklch(50.0% 0.184 340.2);
Tailwind
colors: {
  custom: {
    50: '#c16ea7',
    500: '#a22783',
    950: '#000000',
  },
}
SCSS
$custom: #a22783;
$custom-light: #c16ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22783",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 315.122,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50027,
    "c": 0.18436,
    "h": 340.2
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#A22783
secondary
#64C17B
accent
#E46C43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22783

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

Preview Lab → · Contrast checker → · Palette generator →

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