#A02162#A02162

#A02162 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.171 H 354.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A02162
RGBrgb(160, 33, 98)
HSLhsl(329, 66%, 38%)
HSVhsv(329, 79%, 63%)
CMYKcmyk(0%, 79.4%, 38.8%, 37.3%)
CIE-LABlab(36.83, 55.36, -6.04)
CIE-LCHlch(36.83, 55.69, 353.78°)
OKLaboklab(47.8% 0.1702 -0.0152)
OKLCHoklch(47.8% 0.171 354.9)
XYZxyz(17.2468, 9.4453, 12.4678)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02162 #21A05F
analogous
#9E21A0 #A02162 #A02123
triadic
#A02162 #62A021 #2162A0
tetradic
#A02162 #A09E21 #21A05F #2123A0
square
#A02162 #A09E21 #21A05F #2123A0
split-complementary
#A02162 #23A021 #21A09E
monochromatic
#3B0C24 #6D1743 #A02162 #D32B81 #DE5E9F

Accessibility & contrast

On white

7.27
#A02162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A02162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02162
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02162#FFFFFF#000000##FFFFFF
##A021621.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4864
Deuteranopia (green-blind)
#5F5F5F
Tritanopia (blue-blind)
#AD0F3F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a02162;
/* rgb */ color: rgb(160, 33, 98);
/* oklch */ color: oklch(47.8% 0.171 354.9);
Tailwind
colors: {
  custom: {
    50: '#c16a8e',
    500: '#a02162',
    950: '#000000',
  },
}
SCSS
$custom: #a02162;
$custom-light: #c16a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#a02162",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 329.291,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47798,
    "c": 0.17088,
    "h": 354.9
  },
  "luminance": 0.09443
}

Semantic roles & 50–950 ramp

primary
#A02162
secondary
#5BC28D
accent
#E9923F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #A02162

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

Preview Lab → · Contrast checker → · Palette generator →

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