#A2278A#A2278A

#A2278A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.189 H 337.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A2278A
RGBrgb(162, 39, 138)
HSLhsl(312, 61%, 39%)
HSVhsv(312, 76%, 64%)
CMYKcmyk(0%, 75.9%, 14.8%, 36.5%)
CIE-LABlab(39.53, 59.10, -26.88)
CIE-LCHlch(39.53, 64.93, 335.54°)
OKLaboklab(50.38% 0.1744 -0.0731)
OKLCHoklch(50.38% 0.189 337.3)
XYZxyz(20.2137, 10.9693, 25.0925)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2278A #27A23F
analogous
#7D27A2 #A2278A #A2274D
triadic
#A2278A #8AA227 #278AA2
tetradic
#A2278A #A27D27 #27A23F #274DA2
square
#A2278A #A27D27 #27A23F #274DA2
split-complementary
#A2278A #4DA227 #27A27D
monochromatic
#3F0F36 #711B60 #A2278A #CF37B1 #DB69C5

Accessibility & contrast

On white

6.58
#A2278A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A2278A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2278A
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2278A#FFFFFF#000000##FFFFFF
##A2278A1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518D
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#AB2F56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a2278a;
/* rgb */ color: rgb(162, 39, 138);
/* oklch */ color: oklch(50.4% 0.189 337.3);
Tailwind
colors: {
  custom: {
    50: '#c16eac',
    500: '#a2278a',
    950: '#000000',
  },
}
SCSS
$custom: #a2278a;
$custom-light: #c16eac;
$custom-dark: #000000;
JSON
{
  "hex": "#a2278a",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 311.707,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50376,
    "c": 0.18907,
    "h": 337.3
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#A2278A
secondary
#64C176
accent
#E46343
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2278A

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

Preview Lab → · Contrast checker → · Palette generator →

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