#A2278D#A2278D

#A2278D is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.191 H 336.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A2278D
RGBrgb(162, 39, 141)
HSLhsl(310, 61%, 39%)
HSVhsv(310, 76%, 64%)
CMYKcmyk(0%, 75.9%, 13%, 36.5%)
CIE-LABlab(39.68, 59.54, -28.49)
CIE-LCHlch(39.68, 66.01, 334.43°)
OKLaboklab(50.53% 0.1747 -0.0777)
OKLCHoklch(50.53% 0.191 336)
XYZxyz(20.4339, 11.0574, 26.2523)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2278D #27A23C
analogous
#7A27A2 #A2278D #A22750
triadic
#A2278D #8DA227 #278DA2
tetradic
#A2278D #A27A27 #27A23C #2750A2
square
#A2278D #A27A27 #27A23C #2750A2
split-complementary
#A2278D #50A227 #27A27A
monochromatic
#3F0F37 #711B62 #A2278D #CF37B5 #DB69C7

Accessibility & contrast

On white

6.54
#A2278D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A2278D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2278D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2278D#FFFFFF#000000##FFFFFF
##A2278D1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295290
Deuteranopia (green-blind)
#54648A
Tritanopia (blue-blind)
#AA3058
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a2278d;
/* rgb */ color: rgb(162, 39, 141);
/* oklch */ color: oklch(50.5% 0.191 336.0);
Tailwind
colors: {
  custom: {
    50: '#c16fae',
    500: '#a2278d',
    950: '#000000',
  },
}
SCSS
$custom: #a2278d;
$custom-light: #c16fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a2278d",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 310.244,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.19115,
    "h": 336
  },
  "luminance": 0.11056
}

Semantic roles & 50–950 ramp

primary
#A2278D
secondary
#64C174
accent
#E45F43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2278D

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

Preview Lab → · Contrast checker → · Palette generator →

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