#DE40C3#DE40C3

#DE40C3 is a light, highly saturated pink. Relative luminance 0.231; OKLCH L 64.5% C 0.235 H 335.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#DE40C3
RGBrgb(222, 64, 195)
HSLhsl(310, 71%, 56%)
HSVhsv(310, 71%, 87%)
CMYKcmyk(0%, 71.2%, 12.2%, 12.9%)
CIE-LABlab(55.22, 73.29, -35.41)
CIE-LCHlch(55.22, 81.40, 334.21°)
OKLaboklab(64.5% 0.2145 -0.0966)
OKLCHoklch(64.5% 0.235 335.8)
XYZxyz(41.8085, 23.1402, 53.8838)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE40C3 #40DE5B
analogous
#AA40DE #DE40C3 #DE4074
triadic
#DE40C3 #C3DE40 #40C3DE
tetradic
#DE40C3 #DEAA40 #40DE5B #4074DE
square
#DE40C3 #DEAA40 #40DE5B #4074DE
split-complementary
#DE40C3 #74DE40 #40DEAA
monochromatic
#8B1878 #C021A5 #DE40C3 #E774D3 #F0A8E4

Accessibility & contrast

On white

3.73
#DE40C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#DE40C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE40C3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE40C3#FFFFFF#000000##000000
##DE40C31.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4175C7
Deuteranopia (green-blind)
#788DBF
Tritanopia (blue-blind)
#E94B7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #de40c3;
/* rgb */ color: rgb(222, 64, 195);
/* oklch */ color: oklch(64.5% 0.235 335.8);
Tailwind
colors: {
  custom: {
    50: '#ec83d5',
    500: '#de40c3',
    950: '#000000',
  },
}
SCSS
$custom: #de40c3;
$custom-light: #ec83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#de40c3",
  "rgb": {
    "r": 222,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 310.253,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.645,
    "c": 0.23525,
    "h": 335.8
  },
  "luminance": 0.23137
}

Semantic roles & 50–950 ramp

primary
#DE40C3
secondary
#9CDEA7
accent
#ED593A
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DE40C3

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

Preview Lab → · Contrast checker → · Palette generator →

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