#DF40B4#DF40B4

#DF40B4 is a light, highly saturated pink. Relative luminance 0.227; OKLCH L 64.0% C 0.226 H 340.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#DF40B4
RGBrgb(223, 64, 180)
HSLhsl(316, 71%, 56%)
HSVhsv(316, 71%, 87%)
CMYKcmyk(0%, 71.3%, 19.3%, 12.5%)
CIE-LABlab(54.71, 71.46, -27.51)
CIE-LCHlch(54.71, 76.57, 338.95°)
OKLaboklab(63.95% 0.2136 -0.0741)
OKLCHoklch(63.95% 0.226 340.9)
XYZxyz(40.5042, 22.6540, 45.4107)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF40B4 #40DF6B
analogous
#BA40DF #DF40B4 #DF4065
triadic
#DF40B4 #B4DF40 #40B4DF
tetradic
#DF40B4 #DFBA40 #40DF6B #4065DF
square
#DF40B4 #DFBA40 #40DF6B #4065DF
split-complementary
#DF40B4 #65DF40 #40DFBA
monochromatic
#8D186D #C12096 #DF40B4 #E874C9 #F1A9DD

Accessibility & contrast

On white

3.80
#DF40B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#DF40B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF40B4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF40B4#FFFFFF#000000##000000
##DF40B41.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B7
Deuteranopia (green-blind)
#7F8CB0
Tritanopia (blue-blind)
#EC4475
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #df40b4;
/* rgb */ color: rgb(223, 64, 180);
/* oklch */ color: oklch(64.0% 0.226 340.9);
Tailwind
colors: {
  custom: {
    50: '#ed82ca',
    500: '#df40b4',
    950: '#000000',
  },
}
SCSS
$custom: #df40b4;
$custom-light: #ed82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#df40b4",
  "rgb": {
    "r": 223,
    "g": 64,
    "b": 180
  },
  "hsl": {
    "h": 316.226,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63951,
    "c": 0.22607,
    "h": 340.9
  },
  "luminance": 0.2265
}

Semantic roles & 50–950 ramp

primary
#DF40B4
secondary
#9DDEAE
accent
#EE6B3A
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DF40B4

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

Preview Lab → · Contrast checker → · Palette generator →

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