#A2277A#A2277A

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

Color values

HEX#A2277A
RGBrgb(162, 39, 122)
HSLhsl(320, 61%, 39%)
HSVhsv(320, 76%, 64%)
CMYKcmyk(0%, 75.9%, 24.7%, 36.5%)
CIE-LABlab(38.79, 56.89, -18.14)
CIE-LCHlch(38.79, 59.71, 342.32°)
OKLaboklab(49.61% 0.172 -0.0484)
OKLCHoklch(49.61% 0.179 344.3)
XYZxyz(19.1394, 10.5396, 19.4350)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2277A #27A24F
analogous
#8D27A2 #A2277A #A2273D
triadic
#A2277A #7AA227 #277AA2
tetradic
#A2277A #A28D27 #27A24F #273DA2
square
#A2277A #A28D27 #27A24F #273DA2
split-complementary
#A2277A #3DA227 #27A28D
monochromatic
#3F0F30 #711B55 #A2277A #CF379E #DB69B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2277A#FFFFFF#000000##FFFFFF
##A2277A1.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)
#364E7C
Deuteranopia (green-blind)
#5B6377
Tritanopia (blue-blind)
#AD264D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a2277a;
/* rgb */ color: rgb(162, 39, 122);
/* oklch */ color: oklch(49.6% 0.179 344.3);
Tailwind
colors: {
  custom: {
    50: '#c26ea0',
    500: '#a2277a',
    950: '#000000',
  },
}
SCSS
$custom: #a2277a;
$custom-light: #c26ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#a2277a",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 319.512,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49605,
    "c": 0.17867,
    "h": 344.3
  },
  "luminance": 0.10538
}

Semantic roles & 50–950 ramp

primary
#A2277A
secondary
#64C182
accent
#E47843
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A2277A

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

Preview Lab → · Contrast checker → · Palette generator →

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