#D640A9#D640A9

#D640A9 is a light, highly saturated pink. Relative luminance 0.208; OKLCH L 62.1% C 0.213 H 342.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D640A9
RGBrgb(214, 64, 169)
HSLhsl(318, 65%, 55%)
HSVhsv(318, 70%, 84%)
CMYKcmyk(0%, 70.1%, 21%, 16.1%)
CIE-LABlab(52.76, 67.79, -24.22)
CIE-LCHlch(52.76, 71.98, 340.34°)
OKLaboklab(62.1% 0.2034 -0.0649)
OKLCHoklch(62.1% 0.214 342.3)
XYZxyz(36.7276, 20.8312, 39.6150)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D640A9 #40D66D
analogous
#B840D6 #D640A9 #D6405E
triadic
#D640A9 #A9D640 #40A9D6
tetradic
#D640A9 #D6B840 #40D66D #405ED6
square
#D640A9 #D6B840 #40D66D #405ED6
split-complementary
#D640A9 #5ED640 #40D6B8
monochromatic
#801B62 #B22688 #D640A9 #E172C0 #ECA5D6

Accessibility & contrast

On white

4.07
#D640A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#D640A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D640A9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D640A9#FFFFFF#000000##000000
##D640A91.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAC
Deuteranopia (green-blind)
#7C87A5
Tritanopia (blue-blind)
#E3416F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d640a9;
/* rgb */ color: rgb(214, 64, 169);
/* oklch */ color: oklch(62.1% 0.213 342.3);
Tailwind
colors: {
  custom: {
    50: '#e781c2',
    500: '#d640a9',
    950: '#000000',
  },
}
SCSS
$custom: #d640a9;
$custom-light: #e781c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d640a9",
  "rgb": {
    "r": 214,
    "g": 64,
    "b": 169
  },
  "hsl": {
    "h": 318,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62101,
    "c": 0.2135,
    "h": 342.3
  },
  "luminance": 0.20828
}

Semantic roles & 50–950 ramp

primary
#D640A9
secondary
#99D9AC
accent
#E87240
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D640A9

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

Preview Lab → · Contrast checker → · Palette generator →

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