#DF40C0#DF40C0

#DF40C0 is a light, highly saturated pink. Relative luminance 0.232; OKLCH L 64.5% C 0.234 H 337.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#DF40C0
RGBrgb(223, 64, 192)
HSLhsl(312, 71%, 56%)
HSVhsv(312, 71%, 87%)
CMYKcmyk(0%, 71.3%, 13.9%, 12.5%)
CIE-LABlab(55.24, 73.10, -33.63)
CIE-LCHlch(55.24, 80.46, 335.29°)
OKLaboklab(64.5% 0.2152 -0.0915)
OKLCHoklch(64.5% 0.234 337)
XYZxyz(41.7800, 23.1644, 52.1297)
Luminance0.2316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF40C0 #40DF5F
analogous
#AF40DF #DF40C0 #DF4071
triadic
#DF40C0 #C0DF40 #40C0DF
tetradic
#DF40C0 #DFAF40 #40DF5F #4071DF
square
#DF40C0 #DFAF40 #40DF5F #4071DF
split-complementary
#DF40C0 #71DF40 #40DFAF
monochromatic
#8D1876 #C120A2 #DF40C0 #E874D1 #F1A9E3

Accessibility & contrast

On white

3.73
#DF40C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#DF40C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF40C0
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF40C0#FFFFFF#000000##000000
##DF40C01.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4475C4
Deuteranopia (green-blind)
#7A8DBC
Tritanopia (blue-blind)
#EB4A7B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df40c0;
/* rgb */ color: rgb(223, 64, 192);
/* oklch */ color: oklch(64.5% 0.234 337.0);
Tailwind
colors: {
  custom: {
    50: '#ed83d3',
    500: '#df40c0',
    950: '#000000',
  },
}
SCSS
$custom: #df40c0;
$custom-light: #ed83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#df40c0",
  "rgb": {
    "r": 223,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 311.698,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64504,
    "c": 0.2338,
    "h": 337
  },
  "luminance": 0.23161
}

Semantic roles & 50–950 ramp

primary
#DF40C0
secondary
#9DDEA9
accent
#EE5D3A
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DF40C0

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

Preview Lab → · Contrast checker → · Palette generator →

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