#D421D3#D421D3

#D421D3 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.9% C 0.268 H 328.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#D421D3
RGBrgb(212, 33, 211)
HSLhsl(300, 73%, 48%)
HSVhsv(300, 84%, 83%)
CMYKcmyk(0%, 84.4%, 0.5%, 16.9%)
CIE-LABlab(51.60, 81.60, -50.42)
CIE-LCHlch(51.60, 95.92, 328.29°)
OKLaboklab(61.87% 0.2284 -0.14)
OKLCHoklch(61.87% 0.268 328.5)
XYZxyz(39.4527, 19.7910, 63.3575)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D421D3 #21D422
analogous
#7B21D4 #D421D3 #D4217A
triadic
#D421D3 #D3D421 #21D3D4
tetradic
#D421D3 #D47B21 #21D422 #217AD4
square
#D421D3 #D47B21 #21D422 #217AD4
split-complementary
#D421D3 #7AD421 #21D47B
monochromatic
#6A116A #9F199E #D421D3 #E44FE3 #EC84EB

Accessibility & contrast

On white

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

On black

4.96
#D421D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D421D3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D421D3#FFFFFF#000000##000000
##D421D31.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#5C83CF
Tritanopia (blue-blind)
#DB457F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d421d3;
/* rgb */ color: rgb(212, 33, 211);
/* oklch */ color: oklch(61.9% 0.268 328.5);
Tailwind
colors: {
  custom: {
    50: '#e677e1',
    500: '#d421d3',
    950: '#000000',
  },
}
SCSS
$custom: #d421d3;
$custom-light: #e677e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d421d3",
  "rgb": {
    "r": 212,
    "g": 33,
    "b": 211
  },
  "hsl": {
    "h": 300.335,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.61869,
    "c": 0.26789,
    "h": 328.5
  },
  "luminance": 0.19788
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D421D3

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

Preview Lab → · Contrast checker → · Palette generator →

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