#DE42B7#DE42B7

#DE42B7 is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 64.1% C 0.225 H 339.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#DE42B7
RGBrgb(222, 66, 183)
HSLhsl(315, 70%, 56%)
HSVhsv(315, 70%, 87%)
CMYKcmyk(0%, 70.3%, 17.6%, 12.9%)
CIE-LABlab(54.92, 70.95, -28.95)
CIE-LCHlch(54.92, 76.63, 337.80°)
OKLaboklab(64.11% 0.2111 -0.0782)
OKLCHoklch(64.11% 0.225 339.7)
XYZxyz(40.6207, 22.8488, 47.0615)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE42B7 #42DE69
analogous
#B742DE #DE42B7 #DE4269
triadic
#DE42B7 #B7DE42 #42B7DE
tetradic
#DE42B7 #DEB742 #42DE69 #4269DE
square
#DE42B7 #DEB742 #42DE69 #4269DE
split-complementary
#DE42B7 #69DE42 #42DEB7
monochromatic
#8D1970 #C12299 #DE42B7 #E776CB #F0AADF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DE42B7#FFFFFF#000000##000000
##DE42B71.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)
#4C74BA
Deuteranopia (green-blind)
#7E8CB3
Tritanopia (blue-blind)
#EB4777
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #de42b7;
/* rgb */ color: rgb(222, 66, 183);
/* oklch */ color: oklch(64.1% 0.225 339.7);
Tailwind
colors: {
  custom: {
    50: '#ec83cd',
    500: '#de42b7',
    950: '#000000',
  },
}
SCSS
$custom: #de42b7;
$custom-light: #ec83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#de42b7",
  "rgb": {
    "r": 222,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 315,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64108,
    "c": 0.22508,
    "h": 339.7
  },
  "luminance": 0.22845
}

Semantic roles & 50–950 ramp

primary
#DE42B7
secondary
#9EDEAE
accent
#ED673B
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #DE42B7

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

Preview Lab → · Contrast checker → · Palette generator →

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