#D22FB8#D22FB8

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

Color values

HEX#D22FB8
RGBrgb(210, 47, 184)
HSLhsl(310, 64%, 50%)
HSVhsv(310, 78%, 82%)
CMYKcmyk(0%, 77.6%, 12.4%, 17.6%)
CIE-LABlab(50.92, 74.15, -35.92)
CIE-LCHlch(50.92, 82.39, 334.15°)
OKLaboklab(60.86% 0.2173 -0.0981)
OKLCHoklch(60.86% 0.238 335.7)
XYZxyz(36.2472, 19.1987, 47.1348)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22FB8 #2FD249
analogous
#9B2FD2 #D22FB8 #D22F66
triadic
#D22FB8 #B8D22F #2FB8D2
tetradic
#D22FB8 #D29B2F #2FD249 #2F66D2
square
#D22FB8 #D29B2F #2FD249 #2F66D2
split-complementary
#D22FB8 #66D22F #2FD29B
monochromatic
#6F1861 #A1238D #D22FB8 #DD61C9 #E894DA

Accessibility & contrast

On white

4.34
#D22FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#D22FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22FB8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22FB8#FFFFFF#000000##000000
##D22FB81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#306ABC
Deuteranopia (green-blind)
#6D82B4
Tritanopia (blue-blind)
#DD3D72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d22fb8;
/* rgb */ color: rgb(210, 47, 184);
/* oklch */ color: oklch(60.9% 0.238 335.7);
Tailwind
colors: {
  custom: {
    50: '#e47acd',
    500: '#d22fb8',
    950: '#000000',
  },
}
SCSS
$custom: #d22fb8;
$custom-light: #e47acd;
$custom-dark: #000000;
JSON
{
  "hex": "#d22fb8",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 309.571,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.23845,
    "h": 335.7
  },
  "luminance": 0.19195
}

Semantic roles & 50–950 ramp

primary
#D22FB8
secondary
#8AD396
accent
#E75B40
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D22FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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