#DC40AF#DC40AF

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

Color values

HEX#DC40AF
RGBrgb(220, 64, 175)
HSLhsl(317, 69%, 56%)
HSVhsv(317, 71%, 86%)
CMYKcmyk(0%, 70.9%, 20.5%, 13.7%)
CIE-LABlab(54.01, 70.07, -25.73)
CIE-LCHlch(54.01, 74.64, 339.84°)
OKLaboklab(63.28% 0.21 -0.0691)
OKLCHoklch(63.28% 0.221 341.8)
XYZxyz(39.0877, 21.9815, 42.7334)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC40AF #40DC6D
analogous
#BB40DC #DC40AF #DC4061
triadic
#DC40AF #AFDC40 #40AFDC
tetradic
#DC40AF #DCBB40 #40DC6D #4061DC
square
#DC40AF #DCBB40 #40DC6D #4061DC
split-complementary
#DC40AF #61DC40 #40DCBB
monochromatic
#891968 #BC2390 #DC40AF #E574C5 #EFA7DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC40AF#FFFFFF#000000##000000
##DC40AF1.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)
#4D71B2
Deuteranopia (green-blind)
#7E8AAB
Tritanopia (blue-blind)
#E94272
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #dc40af;
/* rgb */ color: rgb(220, 64, 175);
/* oklch */ color: oklch(63.3% 0.221 341.8);
Tailwind
colors: {
  custom: {
    50: '#eb82c7',
    500: '#dc40af',
    950: '#000000',
  },
}
SCSS
$custom: #dc40af;
$custom-light: #eb82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc40af",
  "rgb": {
    "r": 220,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 317.308,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63275,
    "c": 0.22108,
    "h": 341.8
  },
  "luminance": 0.21978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC40AF

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

Preview Lab → · Contrast checker → · Palette generator →

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