#D22FBF#D22FBF

#D22FBF is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.2% C 0.243 H 333.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#D22FBF
RGBrgb(210, 47, 191)
HSLhsl(307, 64%, 50%)
HSVhsv(307, 78%, 82%)
CMYKcmyk(0%, 77.6%, 9%, 17.6%)
CIE-LABlab(51.27, 75.14, -39.44)
CIE-LCHlch(51.27, 84.86, 332.30°)
OKLaboklab(61.22% 0.2177 -0.1083)
OKLCHoklch(61.22% 0.243 333.6)
XYZxyz(36.9991, 19.4995, 51.0953)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22FBF #2FD242
analogous
#942FD2 #D22FBF #D22F6D
triadic
#D22FBF #BFD22F #2FBFD2
tetradic
#D22FBF #D2942F #2FD242 #2F6DD2
square
#D22FBF #D2942F #2FD242 #2F6DD2
split-complementary
#D22FBF #6DD22F #2FD294
monochromatic
#6F1865 #A12392 #D22FBF #DD61CE #E894DE

Accessibility & contrast

On white

4.29
#D22FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#D22FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22FBF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22FBF#FFFFFF#000000##000000
##D22FBF1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#286BC3
Deuteranopia (green-blind)
#6982BB
Tritanopia (blue-blind)
#DC4176
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d22fbf;
/* rgb */ color: rgb(210, 47, 191);
/* oklch */ color: oklch(61.2% 0.243 333.6);
Tailwind
colors: {
  custom: {
    50: '#e47ad3',
    500: '#d22fbf',
    950: '#000000',
  },
}
SCSS
$custom: #d22fbf;
$custom-light: #e47ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#d22fbf",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 306.994,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.24312,
    "h": 333.6
  },
  "luminance": 0.19496
}

Semantic roles & 50–950 ramp

primary
#D22FBF
secondary
#8AD393
accent
#E75440
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D22FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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