#A21D62#A21D62

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

Color values

HEX#A21D62
RGBrgb(162, 29, 98)
HSLhsl(329, 70%, 37%)
HSVhsv(329, 82%, 64%)
CMYKcmyk(0%, 82.1%, 39.5%, 36.5%)
CIE-LABlab(36.83, 57.00, -6.00)
CIE-LCHlch(36.83, 57.31, 353.99°)
OKLaboklab(47.87% 0.1754 -0.0151)
OKLCHoklch(47.87% 0.176 355.1)
XYZxyz(17.5455, 9.4442, 12.4519)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A21D62 #1DA25D
analogous
#A01DA2 #A21D62 #A21D1F
triadic
#A21D62 #62A21D #1D62A2
tetradic
#A21D62 #A2A01D #1DA25D #1D1FA2
square
#A21D62 #A2A01D #1DA25D #1D1FA2
split-complementary
#A21D62 #1FA21D #1DA2A0
monochromatic
#3A0A23 #6E1443 #A21D62 #D62681 #E1589F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A21D62#FFFFFF#000000##FFFFFF
##A21D621.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)
#3A4764
Deuteranopia (green-blind)
#5F5F5F
Tritanopia (blue-blind)
#AF043D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a21d62;
/* rgb */ color: rgb(162, 29, 98);
/* oklch */ color: oklch(47.9% 0.176 355.1);
Tailwind
colors: {
  custom: {
    50: '#c3698e',
    500: '#a21d62',
    950: '#000000',
  },
}
SCSS
$custom: #a21d62;
$custom-light: #c3698e;
$custom-dark: #000000;
JSON
{
  "hex": "#a21d62",
  "rgb": {
    "r": 162,
    "g": 29,
    "b": 98
  },
  "hsl": {
    "h": 328.872,
    "s": 69.634,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47866,
    "c": 0.17606,
    "h": 355.1
  },
  "luminance": 0.09442
}

Semantic roles & 50–950 ramp

primary
#A21D62
secondary
#56C58B
accent
#EC913B
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #A21D62

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

Preview Lab → · Contrast checker → · Palette generator →

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