#D040AE#D040AE

#D040AE is a mid, highly saturated pink. Relative luminance 0.201; OKLCH L 61.4% C 0.213 H 338.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D040AE
RGBrgb(208, 64, 174)
HSLhsl(314, 61%, 53%)
HSVhsv(314, 69%, 82%)
CMYKcmyk(0%, 69.2%, 16.3%, 18.4%)
CIE-LABlab(51.99, 66.97, -28.43)
CIE-LCHlch(51.99, 72.76, 337.00°)
OKLaboklab(61.42% 0.1985 -0.0769)
OKLCHoklch(61.42% 0.213 338.8)
XYZxyz(35.4866, 20.1360, 42.0539)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D040AE #40D062
analogous
#AA40D0 #D040AE #D04066
triadic
#D040AE #AED040 #40AED0
tetradic
#D040AE #D0AA40 #40D062 #4066D0
square
#D040AE #D0AA40 #40D062 #4066D0
split-complementary
#D040AE #66D040 #40D0AA
monochromatic
#781E63 #A92A8B #D040AE #DC71C3 #E8A2D8

Accessibility & contrast

On white

4.18
#D040AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D040AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D040AE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D040AE#FFFFFF#000000##000000
##D040AE1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#476EB1
Deuteranopia (green-blind)
#7584AB
Tritanopia (blue-blind)
#DC4672
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d040ae;
/* rgb */ color: rgb(208, 64, 174);
/* oklch */ color: oklch(61.4% 0.213 338.8);
Tailwind
colors: {
  custom: {
    50: '#e280c6',
    500: '#d040ae',
    950: '#000000',
  },
}
SCSS
$custom: #d040ae;
$custom-light: #e280c6;
$custom-dark: #000000;
JSON
{
  "hex": "#d040ae",
  "rgb": {
    "r": 208,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 314.167,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6142,
    "c": 0.21286,
    "h": 338.8
  },
  "luminance": 0.20133
}

Semantic roles & 50–950 ramp

primary
#D040AE
secondary
#97D5A6
accent
#E46A44
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D040AE

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

Preview Lab → · Contrast checker → · Palette generator →

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