#A22877#A22877

#A22877 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.176 H 345.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A22877
RGBrgb(162, 40, 119)
HSLhsl(321, 60%, 40%)
HSVhsv(321, 75%, 64%)
CMYKcmyk(0%, 75.3%, 26.5%, 36.5%)
CIE-LABlab(38.78, 56.17, -16.29)
CIE-LCHlch(38.78, 58.48, 343.83°)
OKLaboklab(49.56% 0.1704 -0.0432)
OKLCHoklch(49.56% 0.176 345.8)
XYZxyz(18.9897, 10.5329, 18.4822)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22877 #28A253
analogous
#9028A2 #A22877 #A2283A
triadic
#A22877 #77A228 #2877A2
tetradic
#A22877 #A29028 #28A253 #283AA2
square
#A22877 #A29028 #28A253 #283AA2
split-complementary
#A22877 #3AA228 #28A290
monochromatic
#40102F #711C53 #A22877 #CE399A #DA6AB3

Accessibility & contrast

On white

6.76
#A22877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A22877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22877
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22877#FFFFFF#000000##FFFFFF
##A228771.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E79
Deuteranopia (green-blind)
#5D6374
Tritanopia (blue-blind)
#AD254C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22877;
/* rgb */ color: rgb(162, 40, 119);
/* oklch */ color: oklch(49.6% 0.176 345.8);
Tailwind
colors: {
  custom: {
    50: '#c26e9e',
    500: '#a22877',
    950: '#000000',
  },
}
SCSS
$custom: #a22877;
$custom-light: #c26e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a22877",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 321.148,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49555,
    "c": 0.17579,
    "h": 345.8
  },
  "luminance": 0.10531
}

Semantic roles & 50–950 ramp

primary
#A22877
secondary
#65C185
accent
#E47C44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22877

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

Preview Lab → · Contrast checker → · Palette generator →

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