#D22FB7#D22FB7

#D22FB7 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.8% C 0.238 H 336.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#D22FB7
RGBrgb(210, 47, 183)
HSLhsl(310, 64%, 50%)
HSVhsv(310, 78%, 82%)
CMYKcmyk(0%, 77.6%, 12.9%, 17.6%)
CIE-LABlab(50.87, 74.01, -35.41)
CIE-LCHlch(50.87, 82.04, 334.43°)
OKLaboklab(60.81% 0.2173 -0.0967)
OKLCHoklch(60.81% 0.238 336)
XYZxyz(36.1427, 19.1569, 46.5847)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22FB7 #2FD24A
analogous
#9C2FD2 #D22FB7 #D22F65
triadic
#D22FB7 #B7D22F #2FB7D2
tetradic
#D22FB7 #D29C2F #2FD24A #2F65D2
square
#D22FB7 #D29C2F #2FD24A #2F65D2
split-complementary
#D22FB7 #65D22F #2FD29C
monochromatic
#6F1860 #A1238C #D22FB7 #DD61C8 #E894DA

Accessibility & contrast

On white

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

On black

4.83
#D22FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22FB7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22FB7#FFFFFF#000000##000000
##D22FB71.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#316ABB
Deuteranopia (green-blind)
#6D82B3
Tritanopia (blue-blind)
#DD3C71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d22fb7;
/* rgb */ color: rgb(210, 47, 183);
/* oklch */ color: oklch(60.8% 0.238 336.0);
Tailwind
colors: {
  custom: {
    50: '#e47acd',
    500: '#d22fb7',
    950: '#000000',
  },
}
SCSS
$custom: #d22fb7;
$custom-light: #e47acd;
$custom-dark: #000000;
JSON
{
  "hex": "#d22fb7",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 309.939,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60809,
    "c": 0.23779,
    "h": 336
  },
  "luminance": 0.19154
}

Semantic roles & 50–950 ramp

primary
#D22FB7
secondary
#8AD396
accent
#E75C40
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A13
muted
#847C82

Preview Lab

Preview with #D22FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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