#DF408C#DF408C

#DF408C is a light, highly saturated pink. Relative luminance 0.212; OKLCH L 62.4% C 0.205 H 355.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#DF408C
RGBrgb(223, 64, 140)
HSLhsl(331, 71%, 56%)
HSVhsv(331, 71%, 87%)
CMYKcmyk(0%, 71.3%, 37.2%, 12.5%)
CIE-LABlab(53.23, 66.70, -6.23)
CIE-LCHlch(53.23, 66.99, 354.66°)
OKLaboklab(62.38% 0.2046 -0.0156)
OKLCHoklch(62.38% 0.205 355.6)
XYZxyz(37.0008, 21.2527, 26.9595)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF408C #40DF93
analogous
#DF40DB #DF408C #DF4440
triadic
#DF408C #8CDF40 #408CDF
tetradic
#DF408C #DBDF40 #40DF93 #4440DF
square
#DF408C #DBDF40 #40DF93 #4440DF
split-complementary
#DF408C #40DF44 #40DBDF
monochromatic
#8D1850 #C1206D #DF408C #E874AC #F1A9CB

Accessibility & contrast

On white

4.00
#DF408C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#DF408C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF408C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF408C#FFFFFF#000000##000000
##DF408C1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8E
Deuteranopia (green-blind)
#8A8A88
Tritanopia (blue-blind)
#F12F61
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #df408c;
/* rgb */ color: rgb(223, 64, 140);
/* oklch */ color: oklch(62.4% 0.205 355.6);
Tailwind
colors: {
  custom: {
    50: '#ee81ad',
    500: '#df408c',
    950: '#000000',
  },
}
SCSS
$custom: #df408c;
$custom-light: #ee81ad;
$custom-dark: #000000;
JSON
{
  "hex": "#df408c",
  "rgb": {
    "r": 223,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 331.321,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62376,
    "c": 0.20516,
    "h": 355.6
  },
  "luminance": 0.21248
}

Semantic roles & 50–950 ramp

primary
#DF408C
secondary
#9DDEBF
accent
#EE983A
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #DF408C

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

Preview Lab → · Contrast checker → · Palette generator →

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