#D221D4#D221D4

#D221D4 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.6% C 0.268 H 327.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#D221D4
RGBrgb(210, 33, 212)
HSLhsl(299, 73%, 48%)
HSVhsv(299, 84%, 83%)
CMYKcmyk(0.9%, 84.4%, 0%, 16.9%)
CIE-LABlab(51.32, 81.39, -51.46)
CIE-LCHlch(51.32, 96.29, 327.70°)
OKLaboklab(61.63% 0.2264 -0.1431)
OKLCHoklch(61.63% 0.268 327.7)
XYZxyz(39.0053, 19.5458, 63.9929)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D221D4 #23D421
analogous
#7921D4 #D221D4 #D4217C
triadic
#D221D4 #D4D221 #21D4D2
tetradic
#D221D4 #D47921 #23D421 #217CD4
square
#D221D4 #D47921 #23D421 #217CD4
split-complementary
#D221D4 #7CD421 #21D479
monochromatic
#69116A #9E199F #D221D4 #E24FE4 #EB84EC

Accessibility & contrast

On white

4.28
#D221D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#D221D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D221D4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D221D4#FFFFFF#000000##000000
##D221D41.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#5982D0
Tritanopia (blue-blind)
#D9467F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d221d4;
/* rgb */ color: rgb(210, 33, 212);
/* oklch */ color: oklch(61.6% 0.268 327.7);
Tailwind
colors: {
  custom: {
    50: '#e577e2',
    500: '#d221d4',
    950: '#000000',
  },
}
SCSS
$custom: #d221d4;
$custom-light: #e577e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d221d4",
  "rgb": {
    "r": 210,
    "g": 33,
    "b": 212
  },
  "hsl": {
    "h": 299.33,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.61626,
    "c": 0.26779,
    "h": 327.7
  },
  "luminance": 0.19543
}

Semantic roles & 50–950 ramp

primary
#D221D4
secondary
#7DD57C
accent
#F0383A
background
#FEF7FD
surface
#FDEEFB
border
#D5C9D4
text
#160A15
muted
#847C83

Preview Lab

Preview with #D221D4

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

Preview Lab → · Contrast checker → · Palette generator →

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