#D22FBB#D22FBB

#D22FBB is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.0% C 0.240 H 334.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D22FBB
RGBrgb(210, 47, 187)
HSLhsl(308, 64%, 50%)
HSVhsv(308, 78%, 82%)
CMYKcmyk(0%, 77.6%, 11%, 17.6%)
CIE-LABlab(51.07, 74.57, -37.43)
CIE-LCHlch(51.07, 83.44, 333.34°)
OKLaboklab(61.01% 0.2175 -0.1025)
OKLCHoklch(61.01% 0.24 334.8)
XYZxyz(36.5650, 19.3258, 48.8086)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22FBB #2FD246
analogous
#972FD2 #D22FBB #D22F6A
triadic
#D22FBB #BBD22F #2FBBD2
tetradic
#D22FBB #D2972F #2FD246 #2F6AD2
square
#D22FBB #D2972F #2FD246 #2F6AD2
split-complementary
#D22FBB #6AD22F #2FD297
monochromatic
#6F1862 #A1238F #D22FBB #DD61CB #E894DC

Accessibility & contrast

On white

4.32
#D22FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#D22FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22FBB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22FBB#FFFFFF#000000##000000
##D22FBB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABF
Deuteranopia (green-blind)
#6B82B7
Tritanopia (blue-blind)
#DC3F74
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d22fbb;
/* rgb */ color: rgb(210, 47, 187);
/* oklch */ color: oklch(61.0% 0.240 334.8);
Tailwind
colors: {
  custom: {
    50: '#e47ad0',
    500: '#d22fbb',
    950: '#000000',
  },
}
SCSS
$custom: #d22fbb;
$custom-light: #e47ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#d22fbb",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 308.466,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61013,
    "c": 0.24042,
    "h": 334.8
  },
  "luminance": 0.19323
}

Semantic roles & 50–950 ramp

primary
#D22FBB
secondary
#8AD394
accent
#E75840
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D22FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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