#DC40B3#DC40B3

#DC40B3 is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.5% C 0.224 H 340.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#DC40B3
RGBrgb(220, 64, 179)
HSLhsl(316, 69%, 56%)
HSVhsv(316, 71%, 86%)
CMYKcmyk(0%, 70.9%, 18.6%, 13.7%)
CIE-LABlab(54.18, 70.60, -27.80)
CIE-LCHlch(54.18, 75.88, 338.51°)
OKLaboklab(63.45% 0.2106 -0.0749)
OKLCHoklch(63.45% 0.224 340.4)
XYZxyz(39.4864, 22.1410, 44.8332)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC40B3 #40DC69
analogous
#B740DC #DC40B3 #DC4065
triadic
#DC40B3 #B3DC40 #40B3DC
tetradic
#DC40B3 #DCB740 #40DC69 #4065DC
square
#DC40B3 #DCB740 #40DC69 #4065DC
split-complementary
#DC40B3 #65DC40 #40DCB7
monochromatic
#89196B #BC2394 #DC40B3 #E574C8 #EFA7DC

Accessibility & contrast

On white

3.87
#DC40B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#DC40B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC40B3
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC40B3#FFFFFF#000000##000000
##DC40B31.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B6
Deuteranopia (green-blind)
#7D8BAF
Tritanopia (blue-blind)
#E94474
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #dc40b3;
/* rgb */ color: rgb(220, 64, 179);
/* oklch */ color: oklch(63.5% 0.224 340.4);
Tailwind
colors: {
  custom: {
    50: '#eb82ca',
    500: '#dc40b3',
    950: '#000000',
  },
}
SCSS
$custom: #dc40b3;
$custom-light: #eb82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#dc40b3",
  "rgb": {
    "r": 220,
    "g": 64,
    "b": 179
  },
  "hsl": {
    "h": 315.769,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63453,
    "c": 0.22357,
    "h": 340.4
  },
  "luminance": 0.22137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC40B3

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

Preview Lab → · Contrast checker → · Palette generator →

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