#D22CA3#D22CA3

#D22CA3 is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.7% C 0.228 H 342.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#D22CA3
RGBrgb(210, 44, 163)
HSLhsl(317, 65%, 50%)
HSVhsv(317, 79%, 82%)
CMYKcmyk(0%, 79%, 22.4%, 17.6%)
CIE-LABlab(49.68, 72.16, -25.51)
CIE-LCHlch(49.68, 76.53, 340.53°)
OKLaboklab(59.65% 0.2175 -0.0685)
OKLCHoklch(59.65% 0.228 342.5)
XYZxyz(34.0912, 18.1510, 36.3514)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22CA3 #2CD25B
analogous
#AE2CD2 #D22CA3 #D22C50
triadic
#D22CA3 #A3D22C #2CA3D2
tetradic
#D22CA3 #D2AE2C #2CD25B #2C50D2
square
#D22CA3 #D2AE2C #2CD25B #2C50D2
split-complementary
#D22CA3 #50D22C #2CD2AE
monochromatic
#6D1754 #9F217C #D22CA3 #DD5EB9 #E891CF

Accessibility & contrast

On white

4.54
#D22CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#D22CA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22CA3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22CA3#FFFFFF#000000##000000
##D22CA31.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A6
Deuteranopia (green-blind)
#74809F
Tritanopia (blue-blind)
#E02E66
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d22ca3;
/* rgb */ color: rgb(210, 44, 163);
/* oklch */ color: oklch(59.7% 0.228 342.5);
Tailwind
colors: {
  custom: {
    50: '#e478be',
    500: '#d22ca3',
    950: '#000000',
  },
}
SCSS
$custom: #d22ca3;
$custom-light: #e478be;
$custom-dark: #000000;
JSON
{
  "hex": "#d22ca3",
  "rgb": {
    "r": 210,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 316.988,
    "s": 65.354,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59653,
    "c": 0.22801,
    "h": 342.5
  },
  "luminance": 0.18147
}

Semantic roles & 50–950 ramp

primary
#D22CA3
secondary
#87D29D
accent
#E86F3F
background
#FEF7FB
surface
#FDEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D22CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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