#DD40C0#DD40C0

#DD40C0 is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 64.2% C 0.233 H 336.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#DD40C0
RGBrgb(221, 64, 192)
HSLhsl(311, 70%, 56%)
HSVhsv(311, 71%, 87%)
CMYKcmyk(0%, 71%, 13.1%, 13.3%)
CIE-LABlab(54.92, 72.63, -34.16)
CIE-LCHlch(54.92, 80.27, 334.81°)
OKLaboklab(64.21% 0.2133 -0.093)
OKLCHoklch(64.21% 0.233 336.4)
XYZxyz(41.1673, 22.8484, 52.1010)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD40C0 #40DD5D
analogous
#AB40DD #DD40C0 #DD4071
triadic
#DD40C0 #C0DD40 #40C0DD
tetradic
#DD40C0 #DDAB40 #40DD5D #4071DD
square
#DD40C0 #DDAB40 #40DD5D #4071DD
split-complementary
#DD40C0 #71DD40 #40DDAB
monochromatic
#8A1975 #BE22A1 #DD40C0 #E674D1 #EFA8E2

Accessibility & contrast

On white

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

On black

5.57
#DD40C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD40C0
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD40C0#FFFFFF#000000##000000
##DD40C01.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4374C4
Deuteranopia (green-blind)
#798CBC
Tritanopia (blue-blind)
#E84A7B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dd40c0;
/* rgb */ color: rgb(221, 64, 192);
/* oklch */ color: oklch(64.2% 0.233 336.4);
Tailwind
colors: {
  custom: {
    50: '#ec83d3',
    500: '#dd40c0',
    950: '#000000',
  },
}
SCSS
$custom: #dd40c0;
$custom-light: #ec83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#dd40c0",
  "rgb": {
    "r": 221,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 311.083,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64207,
    "c": 0.23265,
    "h": 336.4
  },
  "luminance": 0.22845
}

Semantic roles & 50–950 ramp

primary
#DD40C0
secondary
#9CDDA8
accent
#ED5C3B
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DD40C0

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

Preview Lab → · Contrast checker → · Palette generator →

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