#DD40B9#DD40B9

#DD40B9 is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.9% C 0.228 H 338.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#DD40B9
RGBrgb(221, 64, 185)
HSLhsl(314, 70%, 56%)
HSVhsv(314, 71%, 87%)
CMYKcmyk(0%, 71%, 16.3%, 13.3%)
CIE-LABlab(54.60, 71.66, -30.61)
CIE-LCHlch(54.60, 77.92, 336.87°)
OKLaboklab(63.88% 0.2124 -0.0829)
OKLCHoklch(63.88% 0.228 338.7)
XYZxyz(40.4101, 22.5455, 48.1130)
Luminance0.2254 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD40B9 #40DD64
analogous
#B240DD #DD40B9 #DD406A
triadic
#DD40B9 #B9DD40 #40B9DD
tetradic
#DD40B9 #DDB240 #40DD64 #406ADD
square
#DD40B9 #DDB240 #40DD64 #406ADD
split-complementary
#DD40B9 #6ADD40 #40DDB2
monochromatic
#8A1970 #BE229A #DD40B9 #E674CC #EFA8DF

Accessibility & contrast

On white

3.81
#DD40B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#DD40B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD40B9
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD40B9#FFFFFF#000000##000000
##DD40B91.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4873BC
Deuteranopia (green-blind)
#7B8BB5
Tritanopia (blue-blind)
#E94778
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dd40b9;
/* rgb */ color: rgb(221, 64, 185);
/* oklch */ color: oklch(63.9% 0.228 338.7);
Tailwind
colors: {
  custom: {
    50: '#ec82ce',
    500: '#dd40b9',
    950: '#000000',
  },
}
SCSS
$custom: #dd40b9;
$custom-light: #ec82ce;
$custom-dark: #000000;
JSON
{
  "hex": "#dd40b9",
  "rgb": {
    "r": 221,
    "g": 64,
    "b": 185
  },
  "hsl": {
    "h": 313.758,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63877,
    "c": 0.22803,
    "h": 338.7
  },
  "luminance": 0.22542
}

Semantic roles & 50–950 ramp

primary
#DD40B9
secondary
#9CDDAB
accent
#ED643B
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #DD40B9

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

Preview Lab → · Contrast checker → · Palette generator →

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