#DC40B1#DC40B1

#DC40B1 is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.4% C 0.222 H 341.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#DC40B1
RGBrgb(220, 64, 177)
HSLhsl(317, 69%, 56%)
HSVhsv(317, 71%, 86%)
CMYKcmyk(0%, 70.9%, 19.5%, 13.7%)
CIE-LABlab(54.09, 70.33, -26.76)
CIE-LCHlch(54.09, 75.25, 339.17°)
OKLaboklab(63.36% 0.2103 -0.072)
OKLCHoklch(63.36% 0.222 341.1)
XYZxyz(39.2856, 22.0606, 43.7756)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC40B1 #40DC6B
analogous
#B940DC #DC40B1 #DC4063
triadic
#DC40B1 #B1DC40 #40B1DC
tetradic
#DC40B1 #DCB940 #40DC6B #4063DC
square
#DC40B1 #DCB940 #40DC6B #4063DC
split-complementary
#DC40B1 #63DC40 #40DCB9
monochromatic
#89196A #BC2392 #DC40B1 #E574C6 #EFA7DB

Accessibility & contrast

On white

3.88
#DC40B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#DC40B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC40B1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC40B1#FFFFFF#000000##000000
##DC40B11.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B4
Deuteranopia (green-blind)
#7D8AAD
Tritanopia (blue-blind)
#E94373
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #dc40b1;
/* rgb */ color: rgb(220, 64, 177);
/* oklch */ color: oklch(63.4% 0.222 341.1);
Tailwind
colors: {
  custom: {
    50: '#eb82c8',
    500: '#dc40b1',
    950: '#000000',
  },
}
SCSS
$custom: #dc40b1;
$custom-light: #eb82c8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc40b1",
  "rgb": {
    "r": 220,
    "g": 64,
    "b": 177
  },
  "hsl": {
    "h": 316.538,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63363,
    "c": 0.22232,
    "h": 341.1
  },
  "luminance": 0.22057
}

Semantic roles & 50–950 ramp

primary
#DC40B1
secondary
#9BDCAD
accent
#EC6C3C
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DC40B1

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

Preview Lab → · Contrast checker → · Palette generator →

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