#D22FB3#D22FB3

#D22FB3 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.6% C 0.235 H 337.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#D22FB3
RGBrgb(210, 47, 179)
HSLhsl(311, 64%, 50%)
HSVhsv(311, 78%, 82%)
CMYKcmyk(0%, 77.6%, 14.8%, 17.6%)
CIE-LABlab(50.68, 73.46, -33.37)
CIE-LCHlch(50.68, 80.68, 335.57°)
OKLaboklab(60.61% 0.2169 -0.0908)
OKLCHoklch(60.61% 0.235 337.3)
XYZxyz(35.7323, 18.9928, 44.4232)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22FB3 #2FD24E
analogous
#9F2FD2 #D22FB3 #D22F61
triadic
#D22FB3 #B3D22F #2FB3D2
tetradic
#D22FB3 #D29F2F #2FD24E #2F61D2
square
#D22FB3 #D29F2F #2FD24E #2F61D2
split-complementary
#D22FB3 #61D22F #2FD29F
monochromatic
#6F185E #A12389 #D22FB3 #DD61C5 #E894D8

Accessibility & contrast

On white

4.38
#D22FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#D22FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D22FB3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22FB3#FFFFFF#000000##000000
##D22FB31.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3569B6
Deuteranopia (green-blind)
#6F81AF
Tritanopia (blue-blind)
#DD3A6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d22fb3;
/* rgb */ color: rgb(210, 47, 179);
/* oklch */ color: oklch(60.6% 0.235 337.3);
Tailwind
colors: {
  custom: {
    50: '#e47aca',
    500: '#d22fb3',
    950: '#000000',
  },
}
SCSS
$custom: #d22fb3;
$custom-light: #e47aca;
$custom-dark: #000000;
JSON
{
  "hex": "#d22fb3",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 311.411,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60609,
    "c": 0.23519,
    "h": 337.3
  },
  "luminance": 0.18989
}

Semantic roles & 50–950 ramp

primary
#D22FB3
secondary
#8AD398
accent
#E76040
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #D22FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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