#D22D7E#D22D7E

#D22D7E is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.2% C 0.209 H 356.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#D22D7E
RGBrgb(210, 45, 126)
HSLhsl(331, 65%, 50%)
HSVhsv(331, 79%, 82%)
CMYKcmyk(0%, 78.6%, 40%, 17.6%)
CIE-LABlab(48.37, 67.76, -5.27)
CIE-LCHlch(48.37, 67.97, 355.55°)
OKLaboklab(58.25% 0.2084 -0.013)
OKLCHoklch(58.25% 0.209 356.4)
XYZxyz(31.2849, 17.0888, 21.3857)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22D7E #2DD281
analogous
#D22DD1 #D22D7E #D22E2D
triadic
#D22D7E #7ED22D #2D7ED2
tetradic
#D22D7E #D1D22D #2DD281 #2E2DD2
square
#D22D7E #D1D22D #2DD281 #2E2DD2
split-complementary
#D22D7E #2DD22E #2DD1D2
monochromatic
#6D1742 #A02260 #D22D7E #DD5F9D #E892BC

Accessibility & contrast

On white

4.75
#D22D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#D22D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D22D7E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22D7E#FFFFFF#000000##FFFFFF
##D22D7E1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F80
Deuteranopia (green-blind)
#7F7E7A
Tritanopia (blue-blind)
#E30F52
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d22d7e;
/* rgb */ color: rgb(210, 45, 126);
/* oklch */ color: oklch(58.2% 0.209 356.4);
Tailwind
colors: {
  custom: {
    50: '#e577a3',
    500: '#d22d7e',
    950: '#000000',
  },
}
SCSS
$custom: #d22d7e;
$custom-light: #e577a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d22d7e",
  "rgb": {
    "r": 210,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 330.545,
    "s": 64.706,
    "l": 50
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.20885,
    "h": 356.4
  },
  "luminance": 0.17085
}

Semantic roles & 50–950 ramp

primary
#D22D7E
secondary
#88D2AE
accent
#E89540
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D22D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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