#DF40BF#DF40BF

#DF40BF is a light, highly saturated pink. Relative luminance 0.231; OKLCH L 64.5% C 0.233 H 337.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#DF40BF
RGBrgb(223, 64, 191)
HSLhsl(312, 71%, 56%)
HSVhsv(312, 71%, 87%)
CMYKcmyk(0%, 71.3%, 14.3%, 12.5%)
CIE-LABlab(55.20, 72.96, -33.13)
CIE-LCHlch(55.20, 80.13, 335.58°)
OKLaboklab(64.46% 0.2151 -0.09)
OKLCHoklch(64.46% 0.233 337.3)
XYZxyz(41.6696, 23.1202, 51.5482)
Luminance0.2312 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF40BF #40DF60
analogous
#AF40DF #DF40BF #DF4070
triadic
#DF40BF #BFDF40 #40BFDF
tetradic
#DF40BF #DFAF40 #40DF60 #4070DF
square
#DF40BF #DFAF40 #40DF60 #4070DF
split-complementary
#DF40BF #70DF40 #40DFAF
monochromatic
#8D1875 #C120A1 #DF40BF #E874D1 #F1A9E2

Accessibility & contrast

On white

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

On black

5.62
#DF40BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF40BF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF40BF#FFFFFF#000000##000000
##DF40BF1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4575C3
Deuteranopia (green-blind)
#7B8DBB
Tritanopia (blue-blind)
#EB497B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df40bf;
/* rgb */ color: rgb(223, 64, 191);
/* oklch */ color: oklch(64.5% 0.233 337.3);
Tailwind
colors: {
  custom: {
    50: '#ed83d2',
    500: '#df40bf',
    950: '#000000',
  },
}
SCSS
$custom: #df40bf;
$custom-light: #ed83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#df40bf",
  "rgb": {
    "r": 223,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 312.075,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64457,
    "c": 0.23313,
    "h": 337.3
  },
  "luminance": 0.23116
}

Semantic roles & 50–950 ramp

primary
#DF40BF
secondary
#9DDEAA
accent
#EE5E3A
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #DF40BF

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

Preview Lab → · Contrast checker → · Palette generator →

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