#D422D4#D422D4

#D422D4 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 62.0% C 0.268 H 328.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#D422D4
RGBrgb(212, 34, 212)
HSLhsl(300, 72%, 48%)
HSVhsv(300, 84%, 83%)
CMYKcmyk(0%, 84%, 0%, 16.9%)
CIE-LABlab(51.72, 81.56, -50.80)
CIE-LCHlch(51.72, 96.09, 328.08°)
OKLaboklab(61.97% 0.2278 -0.1411)
OKLCHoklch(61.97% 0.268 328.2)
XYZxyz(39.6066, 19.8976, 64.0292)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D422D4 #22D422
analogous
#7B22D4 #D422D4 #D4227B
triadic
#D422D4 #D4D422 #22D4D4
tetradic
#D422D4 #D47B22 #22D422 #227BD4
square
#D422D4 #D47B22 #22D422 #227BD4
split-complementary
#D422D4 #7BD422 #22D47B
monochromatic
#6B116B #9F1A9F #D422D4 #E350E3 #EB85EB

Accessibility & contrast

On white

4.22
#D422D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#D422D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D422D4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D422D4#FFFFFF#000000##000000
##D422D41.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#5B83D0
Tritanopia (blue-blind)
#DB4680
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d422d4;
/* rgb */ color: rgb(212, 34, 212);
/* oklch */ color: oklch(62.0% 0.268 328.2);
Tailwind
colors: {
  custom: {
    50: '#e677e2',
    500: '#d422d4',
    950: '#000000',
  },
}
SCSS
$custom: #d422d4;
$custom-light: #e677e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d422d4",
  "rgb": {
    "r": 212,
    "g": 34,
    "b": 212
  },
  "hsl": {
    "h": 300,
    "s": 72.358,
    "l": 48.235
  },
  "oklch": {
    "l": 0.61973,
    "c": 0.26797,
    "h": 328.2
  },
  "luminance": 0.19895
}

Semantic roles & 50–950 ramp

primary
#D422D4
secondary
#7DD57D
accent
#EF3939
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170A15
muted
#857C83

Preview Lab

Preview with #D422D4

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

Preview Lab → · Contrast checker → · Palette generator →

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