#DE40BD#DE40BD

#DE40BD is a light, highly saturated pink. Relative luminance 0.229; OKLCH L 64.2% C 0.231 H 337.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#DE40BD
RGBrgb(222, 64, 189)
HSLhsl(313, 71%, 56%)
HSVhsv(313, 71%, 87%)
CMYKcmyk(0%, 71.2%, 14.9%, 12.9%)
CIE-LABlab(54.94, 72.44, -32.38)
CIE-LCHlch(54.94, 79.35, 335.92°)
OKLaboklab(64.21% 0.2139 -0.0879)
OKLCHoklch(64.21% 0.231 337.7)
XYZxyz(41.1437, 22.8743, 50.3826)
Luminance0.2287 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE40BD #40DE61
analogous
#B040DE #DE40BD #DE406E
triadic
#DE40BD #BDDE40 #40BDDE
tetradic
#DE40BD #DEB040 #40DE61 #406EDE
square
#DE40BD #DEB040 #40DE61 #406EDE
split-complementary
#DE40BD #6EDE40 #40DEB0
monochromatic
#8B1873 #C0219F #DE40BD #E774CF #F0A8E1

Accessibility & contrast

On white

3.77
#DE40BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#DE40BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE40BD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE40BD#FFFFFF#000000##000000
##DE40BD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4674C0
Deuteranopia (green-blind)
#7B8CB9
Tritanopia (blue-blind)
#EA487A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #de40bd;
/* rgb */ color: rgb(222, 64, 189);
/* oklch */ color: oklch(64.2% 0.231 337.7);
Tailwind
colors: {
  custom: {
    50: '#ec83d1',
    500: '#de40bd',
    950: '#000000',
  },
}
SCSS
$custom: #de40bd;
$custom-light: #ec83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#de40bd",
  "rgb": {
    "r": 222,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 312.532,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64213,
    "c": 0.23123,
    "h": 337.7
  },
  "luminance": 0.22871
}

Semantic roles & 50–950 ramp

primary
#DE40BD
secondary
#9CDEAA
accent
#ED603A
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #DE40BD

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

Preview Lab → · Contrast checker → · Palette generator →

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