#DD40BD#DD40BD

#DD40BD is a light, highly saturated pink. Relative luminance 0.227; OKLCH L 64.1% C 0.231 H 337.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#DD40BD
RGBrgb(221, 64, 189)
HSLhsl(312, 70%, 56%)
HSVhsv(312, 71%, 87%)
CMYKcmyk(0%, 71%, 14.5%, 13.3%)
CIE-LABlab(54.78, 72.21, -32.64)
CIE-LCHlch(54.78, 79.25, 335.67°)
OKLaboklab(64.06% 0.2129 -0.0887)
OKLCHoklch(64.06% 0.231 337.4)
XYZxyz(40.8383, 22.7168, 50.3682)
Luminance0.2271 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD40BD #40DD60
analogous
#AE40DD #DD40BD #DD406E
triadic
#DD40BD #BDDD40 #40BDDD
tetradic
#DD40BD #DDAE40 #40DD60 #406EDD
square
#DD40BD #DDAE40 #40DD60 #406EDD
split-complementary
#DD40BD #6EDD40 #40DDAE
monochromatic
#8A1973 #BE229E #DD40BD #E674CF #EFA8E1

Accessibility & contrast

On white

3.79
#DD40BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#DD40BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD40BD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD40BD#FFFFFF#000000##000000
##DD40BD1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C0
Deuteranopia (green-blind)
#7A8CB9
Tritanopia (blue-blind)
#E9497A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dd40bd;
/* rgb */ color: rgb(221, 64, 189);
/* oklch */ color: oklch(64.1% 0.231 337.4);
Tailwind
colors: {
  custom: {
    50: '#ec82d1',
    500: '#dd40bd',
    950: '#000000',
  },
}
SCSS
$custom: #dd40bd;
$custom-light: #ec82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#dd40bd",
  "rgb": {
    "r": 221,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 312.229,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64064,
    "c": 0.23065,
    "h": 337.4
  },
  "luminance": 0.22713
}

Semantic roles & 50–950 ramp

primary
#DD40BD
secondary
#9CDDA9
accent
#ED5F3B
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #DD40BD

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

Preview Lab → · Contrast checker → · Palette generator →

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