#D22CD0#D22CD0

#D22CD0 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 62.0% C 0.257 H 328.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#D22CD0
RGBrgb(210, 44, 208)
HSLhsl(301, 65%, 50%)
HSVhsv(301, 79%, 82%)
CMYKcmyk(0%, 79%, 1%, 17.6%)
CIE-LABlab(51.91, 78.42, -48.23)
CIE-LCHlch(51.91, 92.07, 328.40°)
OKLaboklab(61.97% 0.2199 -0.1337)
OKLCHoklch(61.97% 0.257 328.7)
XYZxyz(38.8638, 20.0601, 61.4873)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22CD0 #2CD22E
analogous
#812CD2 #D22CD0 #D22C7D
triadic
#D22CD0 #D0D22C #2CD0D2
tetradic
#D22CD0 #D2812C #2CD22E #2C7DD2
square
#D22CD0 #D2812C #2CD22E #2C7DD2
split-complementary
#D22CD0 #7DD22C #2CD281
monochromatic
#6D176C #9F219E #D22CD0 #DD5EDC #E891E7

Accessibility & contrast

On white

4.19
#D22CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#D22CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22CD0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22CD0#FFFFFF#000000##000000
##D22CD01.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED4
Deuteranopia (green-blind)
#5F83CC
Tritanopia (blue-blind)
#D9497F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d22cd0;
/* rgb */ color: rgb(210, 44, 208);
/* oklch */ color: oklch(62.0% 0.257 328.7);
Tailwind
colors: {
  custom: {
    50: '#e47adf',
    500: '#d22cd0',
    950: '#000000',
  },
}
SCSS
$custom: #d22cd0;
$custom-light: #e47adf;
$custom-dark: #000000;
JSON
{
  "hex": "#d22cd0",
  "rgb": {
    "r": 210,
    "g": 44,
    "b": 208
  },
  "hsl": {
    "h": 300.723,
    "s": 65.354,
    "l": 49.804
  },
  "oklch": {
    "l": 0.61968,
    "c": 0.25736,
    "h": 328.7
  },
  "luminance": 0.20057
}

Semantic roles & 50–950 ramp

primary
#D22CD0
secondary
#87D288
accent
#E8423F
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D22CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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