#DD40C1#DD40C1

#DD40C1 is a light, highly saturated pink. Relative luminance 0.229; OKLCH L 64.3% C 0.233 H 336.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#DD40C1
RGBrgb(221, 64, 193)
HSLhsl(311, 70%, 56%)
HSVhsv(311, 71%, 87%)
CMYKcmyk(0%, 71%, 12.7%, 13.3%)
CIE-LABlab(54.96, 72.77, -34.67)
CIE-LCHlch(54.96, 80.61, 334.53°)
OKLaboklab(64.26% 0.2134 -0.0945)
OKLCHoklch(64.26% 0.233 336.1)
XYZxyz(41.2785, 22.8929, 52.6865)
Luminance0.2289 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD40C1 #40DD5C
analogous
#AB40DD #DD40C1 #DD4072
triadic
#DD40C1 #C1DD40 #40C1DD
tetradic
#DD40C1 #DDAB40 #40DD5C #4072DD
square
#DD40C1 #DDAB40 #40DD5C #4072DD
split-complementary
#DD40C1 #72DD40 #40DDAB
monochromatic
#8A1976 #BE22A2 #DD40C1 #E674D2 #EFA8E3

Accessibility & contrast

On white

3.76
#DD40C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#DD40C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD40C1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD40C1#FFFFFF#000000##000000
##DD40C11.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4274C5
Deuteranopia (green-blind)
#788CBD
Tritanopia (blue-blind)
#E84B7C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dd40c1;
/* rgb */ color: rgb(221, 64, 193);
/* oklch */ color: oklch(64.3% 0.233 336.1);
Tailwind
colors: {
  custom: {
    50: '#ec83d4',
    500: '#dd40c1',
    950: '#000000',
  },
}
SCSS
$custom: #dd40c1;
$custom-light: #ec83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#dd40c1",
  "rgb": {
    "r": 221,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 310.701,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64255,
    "c": 0.23333,
    "h": 336.1
  },
  "luminance": 0.22889
}

Semantic roles & 50–950 ramp

primary
#DD40C1
secondary
#9CDDA7
accent
#ED5B3B
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DD40C1

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

Preview Lab → · Contrast checker → · Palette generator →

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