#A2277C#A2277C

#A2277C is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.180 H 343.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A2277C
RGBrgb(162, 39, 124)
HSLhsl(319, 61%, 39%)
HSVhsv(319, 76%, 64%)
CMYKcmyk(0%, 75.9%, 23.5%, 36.5%)
CIE-LABlab(38.88, 57.15, -19.25)
CIE-LCHlch(38.88, 60.30, 341.39°)
OKLaboklab(49.7% 0.1724 -0.0515)
OKLCHoklch(49.7% 0.18 343.4)
XYZxyz(19.2646, 10.5897, 20.0943)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2277C #27A24D
analogous
#8B27A2 #A2277C #A2273E
triadic
#A2277C #7CA227 #277CA2
tetradic
#A2277C #A28B27 #27A24D #273EA2
square
#A2277C #A28B27 #27A24D #273EA2
split-complementary
#A2277C #3EA227 #27A28B
monochromatic
#3F0F30 #711B56 #A2277C #CF37A0 #DB69B8

Accessibility & contrast

On white

6.74
#A2277C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A2277C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2277C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2277C#FFFFFF#000000##FFFFFF
##A2277C1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7E
Deuteranopia (green-blind)
#5B6379
Tritanopia (blue-blind)
#AD274E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2277c;
/* rgb */ color: rgb(162, 39, 124);
/* oklch */ color: oklch(49.7% 0.180 343.4);
Tailwind
colors: {
  custom: {
    50: '#c16ea2',
    500: '#a2277c',
    950: '#000000',
  },
}
SCSS
$custom: #a2277c;
$custom-light: #c16ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a2277c",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 318.537,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49696,
    "c": 0.1799,
    "h": 343.4
  },
  "luminance": 0.10588
}

Semantic roles & 50–950 ramp

primary
#A2277C
secondary
#64C181
accent
#E47543
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A2277C

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

Preview Lab → · Contrast checker → · Palette generator →

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