#A2278B#A2278B

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

Color values

HEX#A2278B
RGBrgb(162, 39, 139)
HSLhsl(311, 61%, 39%)
HSVhsv(311, 76%, 64%)
CMYKcmyk(0%, 75.9%, 14.2%, 36.5%)
CIE-LABlab(39.58, 59.25, -27.42)
CIE-LCHlch(39.58, 65.28, 335.17°)
OKLaboklab(50.43% 0.1745 -0.0746)
OKLCHoklch(50.43% 0.19 336.8)
XYZxyz(20.2864, 10.9984, 25.4756)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2278B #27A23E
analogous
#7C27A2 #A2278B #A2274D
triadic
#A2278B #8BA227 #278BA2
tetradic
#A2278B #A27C27 #27A23E #274DA2
square
#A2278B #A27C27 #27A23E #274DA2
split-complementary
#A2278B #4DA227 #27A27C
monochromatic
#3F0F36 #711B61 #A2278B #CF37B3 #DB69C5

Accessibility & contrast

On white

6.56
#A2278B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A2278B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2278B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2278B#FFFFFF#000000##FFFFFF
##A2278B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518E
Deuteranopia (green-blind)
#556488
Tritanopia (blue-blind)
#AB2F57
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a2278b;
/* rgb */ color: rgb(162, 39, 139);
/* oklch */ color: oklch(50.4% 0.190 336.8);
Tailwind
colors: {
  custom: {
    50: '#c16fad',
    500: '#a2278b',
    950: '#000000',
  },
}
SCSS
$custom: #a2278b;
$custom-light: #c16fad;
$custom-dark: #000000;
JSON
{
  "hex": "#a2278b",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 311.22,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50428,
    "c": 0.18976,
    "h": 336.8
  },
  "luminance": 0.10997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2278B

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

Preview Lab → · Contrast checker → · Palette generator →

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