#D22CB6#D22CB6

#D22CB6 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.6% C 0.240 H 336.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#D22CB6
RGBrgb(210, 44, 182)
HSLhsl(310, 65%, 50%)
HSVhsv(310, 79%, 82%)
CMYKcmyk(0%, 79%, 13.3%, 17.6%)
CIE-LABlab(50.55, 74.65, -35.33)
CIE-LCHlch(50.55, 82.59, 334.67°)
OKLaboklab(60.56% 0.2195 -0.0964)
OKLCHoklch(60.56% 0.24 336.3)
XYZxyz(35.9232, 18.8838, 45.9999)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22CB6 #2CD248
analogous
#9B2CD2 #D22CB6 #D22C63
triadic
#D22CB6 #B6D22C #2CB6D2
tetradic
#D22CB6 #D29B2C #2CD248 #2C63D2
square
#D22CB6 #D29B2C #2CD248 #2C63D2
split-complementary
#D22CB6 #63D22C #2CD29B
monochromatic
#6D175E #9F218A #D22CB6 #DD5EC8 #E891D9

Accessibility & contrast

On white

4.40
#D22CB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#D22CB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22CB6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22CB6#FFFFFF#000000##000000
##D22CB61.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F69BA
Deuteranopia (green-blind)
#6D81B2
Tritanopia (blue-blind)
#DD3A70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d22cb6;
/* rgb */ color: rgb(210, 44, 182);
/* oklch */ color: oklch(60.6% 0.240 336.3);
Tailwind
colors: {
  custom: {
    50: '#e479cc',
    500: '#d22cb6',
    950: '#000000',
  },
}
SCSS
$custom: #d22cb6;
$custom-light: #e479cc;
$custom-dark: #000000;
JSON
{
  "hex": "#d22cb6",
  "rgb": {
    "r": 210,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 310.12,
    "s": 65.354,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60564,
    "c": 0.23975,
    "h": 336.3
  },
  "luminance": 0.1888
}

Semantic roles & 50–950 ramp

primary
#D22CB6
secondary
#87D294
accent
#E85C3F
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A13
muted
#847C82

Preview Lab

Preview with #D22CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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