#DD40B8#DD40B8

#DD40B8 is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.8% C 0.227 H 339.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#DD40B8
RGBrgb(221, 64, 184)
HSLhsl(314, 70%, 56%)
HSVhsv(314, 71%, 87%)
CMYKcmyk(0%, 71%, 16.7%, 13.3%)
CIE-LABlab(54.56, 71.52, -30.10)
CIE-LCHlch(54.56, 77.59, 337.18°)
OKLaboklab(63.83% 0.2123 -0.0814)
OKLCHoklch(63.83% 0.227 339)
XYZxyz(40.3049, 22.5035, 47.5590)
Luminance0.2250 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD40B8 #40DD65
analogous
#B340DD #DD40B8 #DD4069
triadic
#DD40B8 #B8DD40 #40B8DD
tetradic
#DD40B8 #DDB340 #40DD65 #4069DD
square
#DD40B8 #DDB340 #40DD65 #4069DD
split-complementary
#DD40B8 #69DD40 #40DDB3
monochromatic
#8A196F #BE2299 #DD40B8 #E674CB #EFA8DF

Accessibility & contrast

On white

3.82
#DD40B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#DD40B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD40B8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD40B8#FFFFFF#000000##000000
##DD40B81.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4973BB
Deuteranopia (green-blind)
#7C8BB4
Tritanopia (blue-blind)
#E94677
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dd40b8;
/* rgb */ color: rgb(221, 64, 184);
/* oklch */ color: oklch(63.8% 0.227 339.0);
Tailwind
colors: {
  custom: {
    50: '#ec82cd',
    500: '#dd40b8',
    950: '#000000',
  },
}
SCSS
$custom: #dd40b8;
$custom-light: #ec82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#dd40b8",
  "rgb": {
    "r": 221,
    "g": 64,
    "b": 184
  },
  "hsl": {
    "h": 314.14,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63831,
    "c": 0.22738,
    "h": 339
  },
  "luminance": 0.225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD40B8

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

Preview Lab → · Contrast checker → · Palette generator →

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