#A02166#A02166

#A02166 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.173 H 352.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A02166
RGBrgb(160, 33, 102)
HSLhsl(327, 66%, 38%)
HSVhsv(327, 79%, 63%)
CMYKcmyk(0%, 79.4%, 36.2%, 37.3%)
CIE-LABlab(36.97, 55.80, -8.37)
CIE-LCHlch(36.97, 56.42, 351.47°)
OKLaboklab(47.95% 0.1713 -0.0215)
OKLCHoklch(47.95% 0.173 352.9)
XYZxyz(17.4404, 9.5228, 13.4875)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02166 #21A05B
analogous
#9B21A0 #A02166 #A02126
triadic
#A02166 #66A021 #2166A0
tetradic
#A02166 #A09B21 #21A05B #2126A0
square
#A02166 #A09B21 #21A05B #2126A0
split-complementary
#A02166 #26A021 #21A09B
monochromatic
#3B0C25 #6D1746 #A02166 #D32B86 #DE5EA3

Accessibility & contrast

On white

7.23
#A02166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A02166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02166
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02166#FFFFFF#000000##FFFFFF
##A021661.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4868
Deuteranopia (green-blind)
#5E5F63
Tritanopia (blue-blind)
#AD1241
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a02166;
/* rgb */ color: rgb(160, 33, 102);
/* oklch */ color: oklch(47.9% 0.173 352.9);
Tailwind
colors: {
  custom: {
    50: '#c16b91',
    500: '#a02166',
    950: '#000000',
  },
}
SCSS
$custom: #a02166;
$custom-light: #c16b91;
$custom-dark: #000000;
JSON
{
  "hex": "#a02166",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 327.402,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4795,
    "c": 0.17268,
    "h": 352.9
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#A02166
secondary
#5BC28A
accent
#E98D3F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #A02166

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

Preview Lab → · Contrast checker → · Palette generator →

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