#A2278C#A2278C

#A2278C is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.5% C 0.190 H 336.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A2278C
RGBrgb(162, 39, 140)
HSLhsl(311, 61%, 39%)
HSVhsv(311, 76%, 64%)
CMYKcmyk(0%, 75.9%, 13.6%, 36.5%)
CIE-LABlab(39.63, 59.40, -27.95)
CIE-LCHlch(39.63, 65.64, 334.80°)
OKLaboklab(50.48% 0.1746 -0.0762)
OKLCHoklch(50.48% 0.19 336.4)
XYZxyz(20.3598, 11.0278, 25.8622)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2278C #27A23D
analogous
#7B27A2 #A2278C #A2274E
triadic
#A2278C #8CA227 #278CA2
tetradic
#A2278C #A27B27 #27A23D #274EA2
square
#A2278C #A27B27 #27A23D #274EA2
split-complementary
#A2278C #4EA227 #27A27B
monochromatic
#3F0F37 #711B61 #A2278C #CF37B4 #DB69C6

Accessibility & contrast

On white

6.55
#A2278C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2278C
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2278C#FFFFFF#000000##FFFFFF
##A2278C1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29528F
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#AB3057
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a2278c;
/* rgb */ color: rgb(162, 39, 140);
/* oklch */ color: oklch(50.5% 0.190 336.4);
Tailwind
colors: {
  custom: {
    50: '#c16fae',
    500: '#a2278c',
    950: '#000000',
  },
}
SCSS
$custom: #a2278c;
$custom-light: #c16fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a2278c",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 310.732,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50479,
    "c": 0.19045,
    "h": 336.4
  },
  "luminance": 0.11026
}

Semantic roles & 50–950 ramp

primary
#A2278C
secondary
#64C175
accent
#E46043
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2278C

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

Preview Lab → · Contrast checker → · Palette generator →

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