#DC40B7#DC40B7

#DC40B7 is a light, highly saturated pink. Relative luminance 0.223; OKLCH L 63.6% C 0.226 H 339.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#DC40B7
RGBrgb(220, 64, 183)
HSLhsl(314, 69%, 56%)
HSVhsv(314, 71%, 86%)
CMYKcmyk(0%, 70.9%, 16.8%, 13.7%)
CIE-LABlab(54.35, 71.14, -29.85)
CIE-LCHlch(54.35, 77.15, 337.24°)
OKLaboklab(63.64% 0.2112 -0.0807)
OKLCHoklch(63.64% 0.226 339.1)
XYZxyz(39.8968, 22.3051, 46.9947)
Luminance0.2230 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC40B7 #40DC65
analogous
#B340DC #DC40B7 #DC4069
triadic
#DC40B7 #B7DC40 #40B7DC
tetradic
#DC40B7 #DCB340 #40DC65 #4069DC
square
#DC40B7 #DCB340 #40DC65 #4069DC
split-complementary
#DC40B7 #69DC40 #40DCB3
monochromatic
#89196E #BC2398 #DC40B7 #E574CA #EFA7DE

Accessibility & contrast

On white

3.85
#DC40B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#DC40B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC40B7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC40B7#FFFFFF#000000##000000
##DC40B71.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4972BA
Deuteranopia (green-blind)
#7B8BB3
Tritanopia (blue-blind)
#E84676
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dc40b7;
/* rgb */ color: rgb(220, 64, 183);
/* oklch */ color: oklch(63.6% 0.226 339.1);
Tailwind
colors: {
  custom: {
    50: '#eb82cd',
    500: '#dc40b7',
    950: '#000000',
  },
}
SCSS
$custom: #dc40b7;
$custom-light: #eb82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc40b7",
  "rgb": {
    "r": 220,
    "g": 64,
    "b": 183
  },
  "hsl": {
    "h": 314.231,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63635,
    "c": 0.22613,
    "h": 339.1
  },
  "luminance": 0.22301
}

Semantic roles & 50–950 ramp

primary
#DC40B7
secondary
#9BDCAB
accent
#EC663C
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #DC40B7

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

Preview Lab → · Contrast checker → · Palette generator →

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