#DD40C3#DD40C3

#DD40C3 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.4% C 0.235 H 335.5°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#DD40C3
RGBrgb(221, 64, 195)
HSLhsl(310, 70%, 56%)
HSVhsv(310, 71%, 87%)
CMYKcmyk(0%, 71%, 11.8%, 13.3%)
CIE-LABlab(55.05, 73.06, -35.67)
CIE-LCHlch(55.05, 81.31, 333.97°)
OKLaboklab(64.35% 0.2136 -0.0973)
OKLCHoklch(64.35% 0.235 335.5)
XYZxyz(41.5031, 22.9827, 53.8695)
Luminance0.2298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD40C3 #40DD5A
analogous
#A840DD #DD40C3 #DD4074
triadic
#DD40C3 #C3DD40 #40C3DD
tetradic
#DD40C3 #DDA840 #40DD5A #4074DD
square
#DD40C3 #DDA840 #40DD5A #4074DD
split-complementary
#DD40C3 #74DD40 #40DDA8
monochromatic
#8A1977 #BE22A4 #DD40C3 #E674D3 #EFA8E4

Accessibility & contrast

On white

3.75
#DD40C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#DD40C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD40C3
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD40C3#FFFFFF#000000##000000
##DD40C31.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4175C7
Deuteranopia (green-blind)
#778CBF
Tritanopia (blue-blind)
#E84C7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dd40c3;
/* rgb */ color: rgb(221, 64, 195);
/* oklch */ color: oklch(64.4% 0.235 335.5);
Tailwind
colors: {
  custom: {
    50: '#ec83d5',
    500: '#dd40c3',
    950: '#000000',
  },
}
SCSS
$custom: #dd40c3;
$custom-light: #ec83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#dd40c3",
  "rgb": {
    "r": 221,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 309.936,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64353,
    "c": 0.23469,
    "h": 335.5
  },
  "luminance": 0.22979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD40C3

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

Preview Lab → · Contrast checker → · Palette generator →

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