#DC40C3#DC40C3

#DC40C3 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.2% C 0.234 H 335.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#DC40C3
RGBrgb(220, 64, 195)
HSLhsl(310, 69%, 56%)
HSVhsv(310, 71%, 86%)
CMYKcmyk(0%, 70.9%, 11.4%, 13.7%)
CIE-LABlab(54.89, 72.83, -35.94)
CIE-LCHlch(54.89, 81.21, 333.74°)
OKLaboklab(64.21% 0.2126 -0.0981)
OKLCHoklch(64.21% 0.234 335.2)
XYZxyz(41.1994, 22.8262, 53.8552)
Luminance0.2282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC40C3 #40DC59
analogous
#A740DC #DC40C3 #DC4075
triadic
#DC40C3 #C3DC40 #40C3DC
tetradic
#DC40C3 #DCA740 #40DC59 #4075DC
square
#DC40C3 #DCA740 #40DC59 #4075DC
split-complementary
#DC40C3 #75DC40 #40DCA7
monochromatic
#891977 #BC23A4 #DC40C3 #E574D3 #EFA7E3

Accessibility & contrast

On white

3.77
#DC40C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#DC40C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC40C3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC40C3#FFFFFF#000000##000000
##DC40C31.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4075C7
Deuteranopia (green-blind)
#768CBF
Tritanopia (blue-blind)
#E74C7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dc40c3;
/* rgb */ color: rgb(220, 64, 195);
/* oklch */ color: oklch(64.2% 0.234 335.2);
Tailwind
colors: {
  custom: {
    50: '#eb82d5',
    500: '#dc40c3',
    950: '#000000',
  },
}
SCSS
$custom: #dc40c3;
$custom-light: #eb82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc40c3",
  "rgb": {
    "r": 220,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 309.615,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.64205,
    "c": 0.23413,
    "h": 335.2
  },
  "luminance": 0.22823
}

Semantic roles & 50–950 ramp

primary
#DC40C3
secondary
#9BDCA6
accent
#EC583C
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DC40C3

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

Preview Lab → · Contrast checker → · Palette generator →

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