#A02161#A02161

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

Color values

HEX#A02161
RGBrgb(160, 33, 97)
HSLhsl(330, 66%, 38%)
HSVhsv(330, 79%, 63%)
CMYKcmyk(0%, 79.4%, 39.4%, 37.3%)
CIE-LABlab(36.79, 55.26, -5.45)
CIE-LCHlch(36.79, 55.52, 354.37°)
OKLaboklab(47.76% 0.1699 -0.0137)
OKLCHoklch(47.76% 0.17 355.4)
XYZxyz(17.1999, 9.4266, 12.2207)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02161 #21A060
analogous
#9F21A0 #A02161 #A02121
triadic
#A02161 #61A021 #2161A0
tetradic
#A02161 #A09F21 #21A060 #2121A0
square
#A02161 #A09F21 #21A060 #2121A0
split-complementary
#A02161 #21A021 #21A09F
monochromatic
#3B0C23 #6D1742 #A02161 #D32B80 #DE5E9E

Accessibility & contrast

On white

7.28
#A02161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A02161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02161
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02161#FFFFFF#000000##FFFFFF
##A021611.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4863
Deuteranopia (green-blind)
#5F5F5E
Tritanopia (blue-blind)
#AD0E3E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a02161;
/* rgb */ color: rgb(160, 33, 97);
/* oklch */ color: oklch(47.8% 0.170 355.4);
Tailwind
colors: {
  custom: {
    50: '#c16a8d',
    500: '#a02161',
    950: '#000000',
  },
}
SCSS
$custom: #a02161;
$custom-light: #c16a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#a02161",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 329.764,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47761,
    "c": 0.17045,
    "h": 355.4
  },
  "luminance": 0.09424
}

Semantic roles & 50–950 ramp

primary
#A02161
secondary
#5BC28E
accent
#E9933F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #A02161

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

Preview Lab → · Contrast checker → · Palette generator →

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