#D22FB9#D22FB9

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

Color values

HEX#D22FB9
RGBrgb(210, 47, 185)
HSLhsl(309, 64%, 50%)
HSVhsv(309, 78%, 82%)
CMYKcmyk(0%, 77.6%, 11.9%, 17.6%)
CIE-LABlab(50.97, 74.29, -36.42)
CIE-LCHlch(50.97, 82.73, 333.88°)
OKLaboklab(60.91% 0.2174 -0.0996)
OKLCHoklch(60.91% 0.239 335.4)
XYZxyz(36.3523, 19.2408, 47.6888)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22FB9 #2FD248
analogous
#992FD2 #D22FB9 #D22F68
triadic
#D22FB9 #B9D22F #2FB9D2
tetradic
#D22FB9 #D2992F #2FD248 #2F68D2
square
#D22FB9 #D2992F #2FD248 #2F68D2
split-complementary
#D22FB9 #68D22F #2FD299
monochromatic
#6F1861 #A1238E #D22FB9 #DD61CA #E894DB

Accessibility & contrast

On white

4.33
#D22FB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#D22FB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22FB9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22FB9#FFFFFF#000000##000000
##D22FB91.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABD
Deuteranopia (green-blind)
#6C82B5
Tritanopia (blue-blind)
#DD3E73
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d22fb9;
/* rgb */ color: rgb(210, 47, 185);
/* oklch */ color: oklch(60.9% 0.239 335.4);
Tailwind
colors: {
  custom: {
    50: '#e47ace',
    500: '#d22fb9',
    950: '#000000',
  },
}
SCSS
$custom: #d22fb9;
$custom-light: #e47ace;
$custom-dark: #000000;
JSON
{
  "hex": "#d22fb9",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 309.202,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60911,
    "c": 0.2391,
    "h": 335.4
  },
  "luminance": 0.19237
}

Semantic roles & 50–950 ramp

primary
#D22FB9
secondary
#8AD395
accent
#E75A40
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D22FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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