#D22FB4#D22FB4

#D22FB4 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.7% C 0.236 H 337.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D22FB4
RGBrgb(210, 47, 180)
HSLhsl(311, 64%, 50%)
HSVhsv(311, 78%, 82%)
CMYKcmyk(0%, 77.6%, 14.3%, 17.6%)
CIE-LABlab(50.73, 73.59, -33.88)
CIE-LCHlch(50.73, 81.02, 335.28°)
OKLaboklab(60.66% 0.217 -0.0923)
OKLCHoklch(60.66% 0.236 337)
XYZxyz(35.8338, 19.0334, 44.9578)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22FB4 #2FD24D
analogous
#9E2FD2 #D22FB4 #D22F62
triadic
#D22FB4 #B4D22F #2FB4D2
tetradic
#D22FB4 #D29E2F #2FD24D #2F62D2
square
#D22FB4 #D29E2F #2FD24D #2F62D2
split-complementary
#D22FB4 #62D22F #2FD29E
monochromatic
#6F185F #A1238A #D22FB4 #DD61C6 #E894D8

Accessibility & contrast

On white

4.37
#D22FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#D22FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22FB4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22FB4#FFFFFF#000000##000000
##D22FB41.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3469B7
Deuteranopia (green-blind)
#6E81B0
Tritanopia (blue-blind)
#DD3B70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d22fb4;
/* rgb */ color: rgb(210, 47, 180);
/* oklch */ color: oklch(60.7% 0.236 337.0);
Tailwind
colors: {
  custom: {
    50: '#e47acb',
    500: '#d22fb4',
    950: '#000000',
  },
}
SCSS
$custom: #d22fb4;
$custom-light: #e47acb;
$custom-dark: #000000;
JSON
{
  "hex": "#d22fb4",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 311.043,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60659,
    "c": 0.23583,
    "h": 337
  },
  "luminance": 0.1903
}

Semantic roles & 50–950 ramp

primary
#D22FB4
secondary
#8AD397
accent
#E75F40
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D22FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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