#D22CA7#D22CA7

#D22CA7 is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.8% C 0.230 H 341.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#D22CA7
RGBrgb(210, 44, 167)
HSLhsl(316, 65%, 50%)
HSVhsv(316, 79%, 82%)
CMYKcmyk(0%, 79%, 20.5%, 17.6%)
CIE-LABlab(49.85, 72.66, -27.60)
CIE-LCHlch(49.85, 77.73, 339.20°)
OKLaboklab(59.84% 0.218 -0.0744)
OKLCHoklch(59.84% 0.23 341.2)
XYZxyz(34.4552, 18.2966, 38.2688)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22CA7 #2CD257
analogous
#AA2CD2 #D22CA7 #D22C54
triadic
#D22CA7 #A7D22C #2CA7D2
tetradic
#D22CA7 #D2AA2C #2CD257 #2C54D2
square
#D22CA7 #D2AA2C #2CD257 #2C54D2
split-complementary
#D22CA7 #54D22C #2CD2AA
monochromatic
#6D1757 #9F217F #D22CA7 #DD5EBC #E891D1

Accessibility & contrast

On white

4.51
#D22CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#D22CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22CA7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22CA7#FFFFFF#000000##000000
##D22CA71.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C66AA
Deuteranopia (green-blind)
#7380A3
Tritanopia (blue-blind)
#DF3068
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d22ca7;
/* rgb */ color: rgb(210, 44, 167);
/* oklch */ color: oklch(59.8% 0.230 341.2);
Tailwind
colors: {
  custom: {
    50: '#e478c1',
    500: '#d22ca7',
    950: '#000000',
  },
}
SCSS
$custom: #d22ca7;
$custom-light: #e478c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d22ca7",
  "rgb": {
    "r": 210,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 315.542,
    "s": 65.354,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59837,
    "c": 0.23038,
    "h": 341.2
  },
  "luminance": 0.18293
}

Semantic roles & 50–950 ramp

primary
#D22CA7
secondary
#87D29B
accent
#E86B3F
background
#FEF7FB
surface
#FDEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D22CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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