#D421D0#D421D0

#D421D0 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.7% C 0.266 H 329.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#D421D0
RGBrgb(212, 33, 208)
HSLhsl(301, 73%, 48%)
HSVhsv(301, 84%, 83%)
CMYKcmyk(0%, 84.4%, 1.9%, 16.9%)
CIE-LABlab(51.43, 81.15, -48.97)
CIE-LCHlch(51.43, 94.78, 328.89°)
OKLaboklab(61.69% 0.2286 -0.1358)
OKLCHoklch(61.69% 0.266 329.3)
XYZxyz(39.0801, 19.6420, 61.3953)
Luminance0.1964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D421D0 #21D425
analogous
#7F21D4 #D421D0 #D42176
triadic
#D421D0 #D0D421 #21D0D4
tetradic
#D421D0 #D47F21 #21D425 #2176D4
square
#D421D0 #D47F21 #21D425 #2176D4
split-complementary
#D421D0 #76D421 #21D47F
monochromatic
#6A1168 #9F199C #D421D0 #E44FE0 #EC84E9

Accessibility & contrast

On white

4.26
#D421D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#D421D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D421D0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D421D0#FFFFFF#000000##000000
##D421D01.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#5E82CC
Tritanopia (blue-blind)
#DC437D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d421d0;
/* rgb */ color: rgb(212, 33, 208);
/* oklch */ color: oklch(61.7% 0.266 329.3);
Tailwind
colors: {
  custom: {
    50: '#e677df',
    500: '#d421d0',
    950: '#000000',
  },
}
SCSS
$custom: #d421d0;
$custom-light: #e677df;
$custom-dark: #000000;
JSON
{
  "hex": "#d421d0",
  "rgb": {
    "r": 212,
    "g": 33,
    "b": 208
  },
  "hsl": {
    "h": 301.341,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.61694,
    "c": 0.26586,
    "h": 329.3
  },
  "luminance": 0.19639
}

Semantic roles & 50–950 ramp

primary
#D421D0
secondary
#7CD57E
accent
#F03C38
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170A15
muted
#857C83

Preview Lab

Preview with #D421D0

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

Preview Lab → · Contrast checker → · Palette generator →

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