#DC40B0#DC40B0

#DC40B0 is a light, highly saturated pink. Relative luminance 0.220; OKLCH L 63.3% C 0.222 H 341.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#DC40B0
RGBrgb(220, 64, 176)
HSLhsl(317, 69%, 56%)
HSVhsv(317, 71%, 86%)
CMYKcmyk(0%, 70.9%, 20%, 13.7%)
CIE-LABlab(54.05, 70.20, -26.25)
CIE-LCHlch(54.05, 74.95, 339.50°)
OKLaboklab(63.32% 0.2102 -0.0705)
OKLCHoklch(63.32% 0.222 341.4)
XYZxyz(39.1863, 22.0209, 43.2526)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC40B0 #40DC6C
analogous
#BA40DC #DC40B0 #DC4062
triadic
#DC40B0 #B0DC40 #40B0DC
tetradic
#DC40B0 #DCBA40 #40DC6C #4062DC
square
#DC40B0 #DCBA40 #40DC6C #4062DC
split-complementary
#DC40B0 #62DC40 #40DCBA
monochromatic
#891969 #BC2391 #DC40B0 #E574C5 #EFA7DB

Accessibility & contrast

On white

3.89
#DC40B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#DC40B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC40B0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC40B0#FFFFFF#000000##000000
##DC40B01.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc40b0;
/* rgb */ color: rgb(220, 64, 176);
/* oklch */ color: oklch(63.3% 0.222 341.4);
Tailwind
colors: {
  custom: {
    50: '#eb82c8',
    500: '#dc40b0',
    950: '#000000',
  },
}
SCSS
$custom: #dc40b0;
$custom-light: #eb82c8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc40b0",
  "rgb": {
    "r": 220,
    "g": 64,
    "b": 176
  },
  "hsl": {
    "h": 316.923,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63319,
    "c": 0.2217,
    "h": 341.4
  },
  "luminance": 0.22017
}

Semantic roles & 50–950 ramp

primary
#DC40B0
secondary
#9BDCAE
accent
#EC6E3C
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DC40B0

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

Preview Lab → · Contrast checker → · Palette generator →

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