#A02181#A02181

#A02181 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.1% C 0.188 H 340.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A02181
RGBrgb(160, 33, 129)
HSLhsl(315, 66%, 38%)
HSVhsv(315, 79%, 63%)
CMYKcmyk(0%, 79.4%, 19.4%, 37.3%)
CIE-LABlab(38.11, 59.15, -23.58)
CIE-LCHlch(38.11, 63.68, 338.27°)
OKLaboklab(49.14% 0.1768 -0.0637)
OKLCHoklch(49.14% 0.188 340.2)
XYZxyz(19.0041, 10.1482, 21.7226)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02181 #21A040
analogous
#8021A0 #A02181 #A02141
triadic
#A02181 #81A021 #2181A0
tetradic
#A02181 #A08021 #21A040 #2141A0
square
#A02181 #A08021 #21A040 #2141A0
split-complementary
#A02181 #41A021 #21A080
monochromatic
#3B0C2F #6D1758 #A02181 #D32BAA #DE5EBE

Accessibility & contrast

On white

6.93
#A02181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A02181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02181
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02181#FFFFFF#000000##FFFFFF
##A021811.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D83
Deuteranopia (green-blind)
#56617E
Tritanopia (blue-blind)
#AA264F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a02181;
/* rgb */ color: rgb(160, 33, 129);
/* oklch */ color: oklch(49.1% 0.188 340.2);
Tailwind
colors: {
  custom: {
    50: '#c06ca6',
    500: '#a02181',
    950: '#000000',
  },
}
SCSS
$custom: #a02181;
$custom-light: #c06ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#a02181",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 314.646,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49143,
    "c": 0.18794,
    "h": 340.2
  },
  "luminance": 0.10146
}

Semantic roles & 50–950 ramp

primary
#A02181
secondary
#5BC274
accent
#E9683F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A02181

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

Preview Lab → · Contrast checker → · Palette generator →

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