#D22FB5#D22FB5

#D22FB5 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.7% C 0.236 H 336.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D22FB5
RGBrgb(210, 47, 181)
HSLhsl(311, 64%, 50%)
HSVhsv(311, 78%, 82%)
CMYKcmyk(0%, 77.6%, 13.8%, 17.6%)
CIE-LABlab(50.77, 73.73, -34.39)
CIE-LCHlch(50.77, 81.36, 334.99°)
OKLaboklab(60.71% 0.2171 -0.0938)
OKLCHoklch(60.71% 0.236 336.6)
XYZxyz(35.9360, 19.0743, 45.4962)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22FB5 #2FD24C
analogous
#9E2FD2 #D22FB5 #D22F63
triadic
#D22FB5 #B5D22F #2FB5D2
tetradic
#D22FB5 #D29E2F #2FD24C #2F63D2
square
#D22FB5 #D29E2F #2FD24C #2F63D2
split-complementary
#D22FB5 #63D22F #2FD29E
monochromatic
#6F185F #A1238B #D22FB5 #DD61C7 #E894D9

Accessibility & contrast

On white

4.36
#D22FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#D22FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22FB5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22FB5#FFFFFF#000000##000000
##D22FB51.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3369B9
Deuteranopia (green-blind)
#6E82B1
Tritanopia (blue-blind)
#DD3B70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d22fb5;
/* rgb */ color: rgb(210, 47, 181);
/* oklch */ color: oklch(60.7% 0.236 336.6);
Tailwind
colors: {
  custom: {
    50: '#e47acb',
    500: '#d22fb5',
    950: '#000000',
  },
}
SCSS
$custom: #d22fb5;
$custom-light: #e47acb;
$custom-dark: #000000;
JSON
{
  "hex": "#d22fb5",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 310.675,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.23648,
    "h": 336.6
  },
  "luminance": 0.19071
}

Semantic roles & 50–950 ramp

primary
#D22FB5
secondary
#8AD397
accent
#E75E40
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D22FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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