#A21D5F#A21D5F

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

Color values

HEX#A21D5F
RGBrgb(162, 29, 95)
HSLhsl(330, 70%, 37%)
HSVhsv(330, 82%, 64%)
CMYKcmyk(0%, 82.1%, 41.4%, 36.5%)
CIE-LABlab(36.72, 56.69, -4.24)
CIE-LCHlch(36.72, 56.85, 355.73°)
OKLaboklab(47.76% 0.1745 -0.0104)
OKLCHoklch(47.76% 0.175 356.6)
XYZxyz(17.4065, 9.3886, 11.7198)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A21D5F #1DA260
analogous
#A21DA1 #A21D5F #A21E1D
triadic
#A21D5F #5FA21D #1D5FA2
tetradic
#A21D5F #A1A21D #1DA260 #1E1DA2
square
#A21D5F #A1A21D #1DA260 #1E1DA2
split-complementary
#A21D5F #1DA21E #1DA1A2
monochromatic
#3A0A22 #6E1441 #A21D5F #D6267D #E1589C

Accessibility & contrast

On white

7.30
#A21D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A21D5F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A21D5F#FFFFFF#000000##FFFFFF
##A21D5F1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4761
Deuteranopia (green-blind)
#605F5C
Tritanopia (blue-blind)
#B0003C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a21d5f;
/* rgb */ color: rgb(162, 29, 95);
/* oklch */ color: oklch(47.8% 0.175 356.6);
Tailwind
colors: {
  custom: {
    50: '#c3698c',
    500: '#a21d5f',
    950: '#000000',
  },
}
SCSS
$custom: #a21d5f;
$custom-light: #c3698c;
$custom-dark: #000000;
JSON
{
  "hex": "#a21d5f",
  "rgb": {
    "r": 162,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 330.226,
    "s": 69.634,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47757,
    "c": 0.17482,
    "h": 356.6
  },
  "luminance": 0.09386
}

Semantic roles & 50–950 ramp

primary
#A21D5F
secondary
#56C58E
accent
#EC953B
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #A21D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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