#A22780#A22780

#A22780 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.182 H 341.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A22780
RGBrgb(162, 39, 128)
HSLhsl(317, 61%, 39%)
HSVhsv(317, 76%, 64%)
CMYKcmyk(0%, 75.9%, 21%, 36.5%)
CIE-LABlab(39.06, 57.69, -21.45)
CIE-LCHlch(39.06, 61.55, 339.60°)
OKLaboklab(49.88% 0.1731 -0.0577)
OKLCHoklch(49.88% 0.182 341.6)
XYZxyz(19.5227, 10.6929, 21.4537)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22780 #27A249
analogous
#8727A2 #A22780 #A22743
triadic
#A22780 #80A227 #2780A2
tetradic
#A22780 #A28727 #27A249 #2743A2
square
#A22780 #A28727 #27A249 #2743A2
split-complementary
#A22780 #43A227 #27A287
monochromatic
#3F0F32 #711B59 #A22780 #CF37A5 #DB69BB

Accessibility & contrast

On white

6.69
#A22780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A22780 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22780
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22780#FFFFFF#000000##FFFFFF
##A227801.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F82
Deuteranopia (green-blind)
#59637D
Tritanopia (blue-blind)
#AC2951
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22780;
/* rgb */ color: rgb(162, 39, 128);
/* oklch */ color: oklch(49.9% 0.182 341.6);
Tailwind
colors: {
  custom: {
    50: '#c16ea5',
    500: '#a22780',
    950: '#000000',
  },
}
SCSS
$custom: #a22780;
$custom-light: #c16ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22780",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 128
  },
  "hsl": {
    "h": 316.585,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49883,
    "c": 0.18241,
    "h": 341.6
  },
  "luminance": 0.10691
}

Semantic roles & 50–950 ramp

primary
#A22780
secondary
#64C17E
accent
#E47043
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22780

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

Preview Lab → · Contrast checker → · Palette generator →

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