#D422D2#D422D2

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

Color values

HEX#D422D2
RGBrgb(212, 34, 210)
HSLhsl(301, 72%, 48%)
HSVhsv(301, 84%, 83%)
CMYKcmyk(0%, 84%, 0.9%, 16.9%)
CIE-LABlab(51.61, 81.26, -49.84)
CIE-LCHlch(51.61, 95.33, 328.48°)
OKLaboklab(61.86% 0.2279 -0.1383)
OKLCHoklch(61.86% 0.267 328.8)
XYZxyz(39.3559, 19.7974, 62.7087)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D422D2 #22D424
analogous
#7D22D4 #D422D2 #D42279
triadic
#D422D2 #D2D422 #22D2D4
tetradic
#D422D2 #D47D22 #22D424 #2279D4
square
#D422D2 #D47D22 #22D424 #2279D4
split-complementary
#D422D2 #79D422 #22D47D
monochromatic
#6B116A #9F1A9E #D422D2 #E350E1 #EB85EA

Accessibility & contrast

On white

4.23
#D422D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D422D2#FFFFFF#000000##000000
##D422D21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d422d2;
/* rgb */ color: rgb(212, 34, 210);
/* oklch */ color: oklch(61.9% 0.267 328.8);
Tailwind
colors: {
  custom: {
    50: '#e677e0',
    500: '#d422d2',
    950: '#000000',
  },
}
SCSS
$custom: #d422d2;
$custom-light: #e677e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d422d2",
  "rgb": {
    "r": 212,
    "g": 34,
    "b": 210
  },
  "hsl": {
    "h": 300.674,
    "s": 72.358,
    "l": 48.235
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.2666,
    "h": 328.8
  },
  "luminance": 0.19794
}

Semantic roles & 50–950 ramp

primary
#D422D2
secondary
#7DD57E
accent
#EF3B39
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170A15
muted
#857C83

Preview Lab

Preview with #D422D2

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

Preview Lab → · Contrast checker → · Palette generator →

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