#D421D1#D421D1

#D421D1 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.8% C 0.267 H 329.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#D421D1
RGBrgb(212, 33, 209)
HSLhsl(301, 73%, 48%)
HSVhsv(301, 84%, 83%)
CMYKcmyk(0%, 84.4%, 1.4%, 16.9%)
CIE-LABlab(51.49, 81.30, -49.45)
CIE-LCHlch(51.49, 95.16, 328.69°)
OKLaboklab(61.75% 0.2285 -0.1372)
OKLCHoklch(61.75% 0.267 329)
XYZxyz(39.2035, 19.6913, 62.0453)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D421D1 #21D424
analogous
#7E21D4 #D421D1 #D42177
triadic
#D421D1 #D1D421 #21D1D4
tetradic
#D421D1 #D47E21 #21D424 #2177D4
square
#D421D1 #D47E21 #21D424 #2177D4
split-complementary
#D421D1 #77D421 #21D47E
monochromatic
#6A1169 #9F199D #D421D1 #E44FE1 #EC84EA

Accessibility & contrast

On white

4.25
#D421D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#D421D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D421D1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D421D1#FFFFFF#000000##000000
##D421D11.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#5D82CD
Tritanopia (blue-blind)
#DB437E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d421d1;
/* rgb */ color: rgb(212, 33, 209);
/* oklch */ color: oklch(61.8% 0.267 329.0);
Tailwind
colors: {
  custom: {
    50: '#e677e0',
    500: '#d421d1',
    950: '#000000',
  },
}
SCSS
$custom: #d421d1;
$custom-light: #e677e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d421d1",
  "rgb": {
    "r": 212,
    "g": 33,
    "b": 209
  },
  "hsl": {
    "h": 301.006,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.61752,
    "c": 0.26654,
    "h": 329
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D421D1

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

Preview Lab → · Contrast checker → · Palette generator →

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