#D421D2#D421D2

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

Color values

HEX#D421D2
RGBrgb(212, 33, 210)
HSLhsl(301, 73%, 48%)
HSVhsv(301, 84%, 83%)
CMYKcmyk(0%, 84.4%, 0.9%, 16.9%)
CIE-LABlab(51.54, 81.45, -49.94)
CIE-LCHlch(51.54, 95.54, 328.49°)
OKLaboklab(61.81% 0.2285 -0.1386)
OKLCHoklch(61.81% 0.267 328.8)
XYZxyz(39.3277, 19.7410, 62.6993)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D421D2 #21D423
analogous
#7C21D4 #D421D2 #D42179
triadic
#D421D2 #D2D421 #21D2D4
tetradic
#D421D2 #D47C21 #21D423 #2179D4
square
#D421D2 #D47C21 #21D423 #2179D4
split-complementary
#D421D2 #79D421 #21D47C
monochromatic
#6A1169 #9F199E #D421D2 #E44FE2 #EC84EB

Accessibility & contrast

On white

4.24
#D421D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#D421D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D421D2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D421D2#FFFFFF#000000##000000
##D421D21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#5C83CE
Tritanopia (blue-blind)
#DB447E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d421d2;
/* rgb */ color: rgb(212, 33, 210);
/* oklch */ color: oklch(61.8% 0.267 328.8);
Tailwind
colors: {
  custom: {
    50: '#e677e0',
    500: '#d421d2',
    950: '#000000',
  },
}
SCSS
$custom: #d421d2;
$custom-light: #e677e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d421d2",
  "rgb": {
    "r": 212,
    "g": 33,
    "b": 210
  },
  "hsl": {
    "h": 300.67,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.61811,
    "c": 0.26722,
    "h": 328.8
  },
  "luminance": 0.19738
}

Semantic roles & 50–950 ramp

primary
#D421D2
secondary
#7CD57D
accent
#F03A38
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170A15
muted
#857C83

Preview Lab

Preview with #D421D2

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

Preview Lab → · Contrast checker → · Palette generator →

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