#DD40C5#DD40C5

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

Color values

HEX#DD40C5
RGBrgb(221, 64, 197)
HSLhsl(309, 70%, 56%)
HSVhsv(309, 71%, 87%)
CMYKcmyk(0%, 71%, 10.9%, 13.3%)
CIE-LABlab(55.15, 73.35, -36.68)
CIE-LCHlch(55.15, 82.01, 333.43°)
OKLaboklab(64.45% 0.2137 -0.1002)
OKLCHoklch(64.45% 0.236 334.9)
XYZxyz(41.7307, 23.0738, 55.0684)
Luminance0.2307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD40C5 #40DD58
analogous
#A640DD #DD40C5 #DD4076
triadic
#DD40C5 #C5DD40 #40C5DD
tetradic
#DD40C5 #DDA640 #40DD58 #4076DD
square
#DD40C5 #DDA640 #40DD58 #4076DD
split-complementary
#DD40C5 #76DD40 #40DDA6
monochromatic
#8A1979 #BE22A6 #DD40C5 #E674D5 #EFA8E5

Accessibility & contrast

On white

3.74
#DD40C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#DD40C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD40C5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD40C5#FFFFFF#000000##000000
##DD40C51.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F75C9
Deuteranopia (green-blind)
#768CC1
Tritanopia (blue-blind)
#E84D7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dd40c5;
/* rgb */ color: rgb(221, 64, 197);
/* oklch */ color: oklch(64.5% 0.236 334.9);
Tailwind
colors: {
  custom: {
    50: '#ec83d7',
    500: '#dd40c5',
    950: '#000000',
  },
}
SCSS
$custom: #dd40c5;
$custom-light: #ec83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#dd40c5",
  "rgb": {
    "r": 221,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 309.172,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64451,
    "c": 0.23606,
    "h": 334.9
  },
  "luminance": 0.2307
}

Semantic roles & 50–950 ramp

primary
#DD40C5
secondary
#9CDDA6
accent
#ED563B
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DD40C5

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

Preview Lab → · Contrast checker → · Palette generator →

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