#D22FB6#D22FB6

#D22FB6 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.8% C 0.237 H 336.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D22FB6
RGBrgb(210, 47, 182)
HSLhsl(310, 64%, 50%)
HSVhsv(310, 78%, 82%)
CMYKcmyk(0%, 77.6%, 13.3%, 17.6%)
CIE-LABlab(50.82, 73.87, -34.90)
CIE-LCHlch(50.82, 81.70, 334.71°)
OKLaboklab(60.76% 0.2172 -0.0952)
OKLCHoklch(60.76% 0.237 336.3)
XYZxyz(36.0390, 19.1155, 46.0385)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22FB6 #2FD24B
analogous
#9D2FD2 #D22FB6 #D22F64
triadic
#D22FB6 #B6D22F #2FB6D2
tetradic
#D22FB6 #D29D2F #2FD24B #2F64D2
square
#D22FB6 #D29D2F #2FD24B #2F64D2
split-complementary
#D22FB6 #64D22F #2FD29D
monochromatic
#6F1860 #A1238B #D22FB6 #DD61C8 #E894D9

Accessibility & contrast

On white

4.35
#D22FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#D22FB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22FB6
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22FB6#FFFFFF#000000##000000
##D22FB61.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3269BA
Deuteranopia (green-blind)
#6E82B2
Tritanopia (blue-blind)
#DD3C71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d22fb6;
/* rgb */ color: rgb(210, 47, 182);
/* oklch */ color: oklch(60.8% 0.237 336.3);
Tailwind
colors: {
  custom: {
    50: '#e47acc',
    500: '#d22fb6',
    950: '#000000',
  },
}
SCSS
$custom: #d22fb6;
$custom-light: #e47acc;
$custom-dark: #000000;
JSON
{
  "hex": "#d22fb6",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 310.307,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60759,
    "c": 0.23713,
    "h": 336.3
  },
  "luminance": 0.19112
}

Semantic roles & 50–950 ramp

primary
#D22FB6
secondary
#8AD397
accent
#E75D40
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A13
muted
#847C82

Preview Lab

Preview with #D22FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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