#D940AE#D940AE

#D940AE is a light, highly saturated pink. Relative luminance 0.215; OKLCH L 62.8% C 0.219 H 341.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#D940AE
RGBrgb(217, 64, 174)
HSLhsl(317, 67%, 55%)
HSVhsv(317, 71%, 85%)
CMYKcmyk(0%, 70.5%, 19.8%, 14.9%)
CIE-LABlab(53.47, 69.20, -26.02)
CIE-LCHlch(53.47, 73.93, 339.39°)
OKLaboklab(62.78% 0.2071 -0.0699)
OKLCHoklch(62.78% 0.219 341.3)
XYZxyz(38.0898, 21.4783, 42.1759)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D940AE #40D96B
analogous
#B840D9 #D940AE #D94061
triadic
#D940AE #AED940 #40AED9
tetradic
#D940AE #D9B840 #40D96B #4061D9
square
#D940AE #D9B840 #40D96B #4061D9
split-complementary
#D940AE #61D940 #40D9B8
monochromatic
#841A67 #B7248E #D940AE #E373C4 #EDA6D9

Accessibility & contrast

On white

3.97
#D940AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#D940AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D940AE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D940AE#FFFFFF#000000##000000
##D940AE1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B1
Deuteranopia (green-blind)
#7C89AA
Tritanopia (blue-blind)
#E64372
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d940ae;
/* rgb */ color: rgb(217, 64, 174);
/* oklch */ color: oklch(62.8% 0.219 341.3);
Tailwind
colors: {
  custom: {
    50: '#e981c6',
    500: '#d940ae',
    950: '#000000',
  },
}
SCSS
$custom: #d940ae;
$custom-light: #e981c6;
$custom-dark: #000000;
JSON
{
  "hex": "#d940ae",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 316.863,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62776,
    "c": 0.21855,
    "h": 341.3
  },
  "luminance": 0.21474
}

Semantic roles & 50–950 ramp

primary
#D940AE
secondary
#9ADAAC
accent
#EA6E3E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #D940AE

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

Preview Lab → · Contrast checker → · Palette generator →

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