#DD40C2#DD40C2

#DD40C2 is a light, highly saturated pink. Relative luminance 0.229; OKLCH L 64.3% C 0.234 H 335.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#DD40C2
RGBrgb(221, 64, 194)
HSLhsl(310, 70%, 56%)
HSVhsv(310, 71%, 87%)
CMYKcmyk(0%, 71%, 12.2%, 13.3%)
CIE-LABlab(55.01, 72.92, -35.17)
CIE-LCHlch(55.01, 80.96, 334.25°)
OKLaboklab(64.3% 0.2135 -0.0959)
OKLCHoklch(64.3% 0.234 335.8)
XYZxyz(41.3904, 22.9377, 53.2760)
Luminance0.2293 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD40C2 #40DD5B
analogous
#A940DD #DD40C2 #DD4074
triadic
#DD40C2 #C2DD40 #40C2DD
tetradic
#DD40C2 #DDA940 #40DD5B #4074DD
square
#DD40C2 #DDA940 #40DD5B #4074DD
split-complementary
#DD40C2 #74DD40 #40DDA9
monochromatic
#8A1977 #BE22A3 #DD40C2 #E674D3 #EFA8E3

Accessibility & contrast

On white

3.76
#DD40C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#DD40C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD40C2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD40C2#FFFFFF#000000##000000
##DD40C21.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4175C6
Deuteranopia (green-blind)
#788CBE
Tritanopia (blue-blind)
#E84B7C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dd40c2;
/* rgb */ color: rgb(221, 64, 194);
/* oklch */ color: oklch(64.3% 0.234 335.8);
Tailwind
colors: {
  custom: {
    50: '#ec83d5',
    500: '#dd40c2',
    950: '#000000',
  },
}
SCSS
$custom: #dd40c2;
$custom-light: #ec83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#dd40c2",
  "rgb": {
    "r": 221,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 310.318,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64304,
    "c": 0.23401,
    "h": 335.8
  },
  "luminance": 0.22934
}

Semantic roles & 50–950 ramp

primary
#DD40C2
secondary
#9CDDA7
accent
#ED5A3B
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DD40C2

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

Preview Lab → · Contrast checker → · Palette generator →

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