#A2277F#A2277F

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

Color values

HEX#A2277F
RGBrgb(162, 39, 127)
HSLhsl(317, 61%, 39%)
HSVhsv(317, 76%, 64%)
CMYKcmyk(0%, 75.9%, 21.6%, 36.5%)
CIE-LABlab(39.01, 57.55, -20.90)
CIE-LCHlch(39.01, 61.23, 340.04°)
OKLaboklab(49.84% 0.1729 -0.0561)
OKLCHoklch(49.84% 0.182 342)
XYZxyz(19.4572, 10.6667, 21.1087)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2277F #27A24A
analogous
#8827A2 #A2277F #A22742
triadic
#A2277F #7FA227 #277FA2
tetradic
#A2277F #A28827 #27A24A #2742A2
square
#A2277F #A28827 #27A24A #2742A2
split-complementary
#A2277F #42A227 #27A288
monochromatic
#3F0F32 #711B58 #A2277F #CF37A4 #DB69BA

Accessibility & contrast

On white

6.70
#A2277F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2277F
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2277F#FFFFFF#000000##FFFFFF
##A2277F1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F81
Deuteranopia (green-blind)
#5A637C
Tritanopia (blue-blind)
#AC2950
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2277f;
/* rgb */ color: rgb(162, 39, 127);
/* oklch */ color: oklch(49.8% 0.182 342.0);
Tailwind
colors: {
  custom: {
    50: '#c16ea4',
    500: '#a2277f',
    950: '#000000',
  },
}
SCSS
$custom: #a2277f;
$custom-light: #c16ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#a2277f",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 317.073,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.18178,
    "h": 342
  },
  "luminance": 0.10665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2277F

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

Preview Lab → · Contrast checker → · Palette generator →

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