#A2277E#A2277E

#A2277E is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.181 H 342.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A2277E
RGBrgb(162, 39, 126)
HSLhsl(318, 61%, 39%)
HSVhsv(318, 76%, 64%)
CMYKcmyk(0%, 75.9%, 22.2%, 36.5%)
CIE-LABlab(38.97, 57.42, -20.35)
CIE-LCHlch(38.97, 60.92, 340.48°)
OKLaboklab(49.79% 0.1727 -0.0546)
OKLCHoklch(49.79% 0.181 342.5)
XYZxyz(19.3924, 10.6408, 20.7672)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2277E #27A24B
analogous
#8927A2 #A2277E #A22741
triadic
#A2277E #7EA227 #277EA2
tetradic
#A2277E #A28927 #27A24B #2741A2
square
#A2277E #A28927 #27A24B #2741A2
split-complementary
#A2277E #41A227 #27A289
monochromatic
#3F0F31 #711B58 #A2277E #CF37A3 #DB69B9

Accessibility & contrast

On white

6.71
#A2277E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A2277E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2277E
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2277E#FFFFFF#000000##FFFFFF
##A2277E1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#AC284F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2277e;
/* rgb */ color: rgb(162, 39, 126);
/* oklch */ color: oklch(49.8% 0.181 342.5);
Tailwind
colors: {
  custom: {
    50: '#c16ea3',
    500: '#a2277e',
    950: '#000000',
  },
}
SCSS
$custom: #a2277e;
$custom-light: #c16ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a2277e",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 317.561,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49789,
    "c": 0.18114,
    "h": 342.5
  },
  "luminance": 0.10639
}

Semantic roles & 50–950 ramp

primary
#A2277E
secondary
#64C17F
accent
#E47343
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A2277E

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

Preview Lab → · Contrast checker → · Palette generator →

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