#DD40C6#DD40C6

#DD40C6 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.5% C 0.237 H 334.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#DD40C6
RGBrgb(221, 64, 198)
HSLhsl(309, 70%, 56%)
HSVhsv(309, 71%, 87%)
CMYKcmyk(0%, 71%, 10.4%, 13.3%)
CIE-LABlab(55.20, 73.49, -37.18)
CIE-LCHlch(55.20, 82.36, 333.17°)
OKLaboklab(64.5% 0.2138 -0.1016)
OKLCHoklch(64.5% 0.237 334.6)
XYZxyz(41.8457, 23.1198, 55.6738)
Luminance0.2312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD40C6 #40DD57
analogous
#A540DD #DD40C6 #DD4077
triadic
#DD40C6 #C6DD40 #40C6DD
tetradic
#DD40C6 #DDA540 #40DD57 #4077DD
square
#DD40C6 #DDA540 #40DD57 #4077DD
split-complementary
#DD40C6 #77DD40 #40DDA5
monochromatic
#8A1979 #BE22A7 #DD40C6 #E674D6 #EFA8E5

Accessibility & contrast

On white

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

On black

5.62
#DD40C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD40C6
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD40C6#FFFFFF#000000##000000
##DD40C61.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E75CA
Deuteranopia (green-blind)
#768CC2
Tritanopia (blue-blind)
#E74D7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dd40c6;
/* rgb */ color: rgb(221, 64, 198);
/* oklch */ color: oklch(64.5% 0.237 334.6);
Tailwind
colors: {
  custom: {
    50: '#ec83d7',
    500: '#dd40c6',
    950: '#000000',
  },
}
SCSS
$custom: #dd40c6;
$custom-light: #ec83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#dd40c6",
  "rgb": {
    "r": 221,
    "g": 64,
    "b": 198
  },
  "hsl": {
    "h": 308.79,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.645,
    "c": 0.23675,
    "h": 334.6
  },
  "luminance": 0.23116
}

Semantic roles & 50–950 ramp

primary
#DD40C6
secondary
#9CDDA5
accent
#ED553B
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DD40C6

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

Preview Lab → · Contrast checker → · Palette generator →

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