#D640B6#D640B6

#D640B6 is a light, highly saturated pink. Relative luminance 0.213; OKLCH L 62.7% C 0.222 H 337.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#D640B6
RGBrgb(214, 64, 182)
HSLhsl(313, 65%, 55%)
HSVhsv(313, 70%, 84%)
CMYKcmyk(0%, 70.1%, 15%, 16.1%)
CIE-LABlab(53.32, 69.56, -30.94)
CIE-LCHlch(53.32, 76.13, 336.02°)
OKLaboklab(62.69% 0.2054 -0.0839)
OKLCHoklch(62.69% 0.222 337.8)
XYZxyz(38.0092, 21.3438, 46.3649)
Luminance0.2134 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D640B6 #40D660
analogous
#AB40D6 #D640B6 #D6406B
triadic
#D640B6 #B6D640 #40B6D6
tetradic
#D640B6 #D6AB40 #40D660 #406BD6
square
#D640B6 #D6AB40 #40D660 #406BD6
split-complementary
#D640B6 #6BD640 #40D6AB
monochromatic
#801B6B #B22695 #D640B6 #E172C9 #ECA5DD

Accessibility & contrast

On white

3.99
#D640B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#D640B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D640B6
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D640B6#FFFFFF#000000##000000
##D640B61.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671B9
Deuteranopia (green-blind)
#7788B2
Tritanopia (blue-blind)
#E14876
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d640b6;
/* rgb */ color: rgb(214, 64, 182);
/* oklch */ color: oklch(62.7% 0.222 337.8);
Tailwind
colors: {
  custom: {
    50: '#e781cc',
    500: '#d640b6',
    950: '#000000',
  },
}
SCSS
$custom: #d640b6;
$custom-light: #e781cc;
$custom-dark: #000000;
JSON
{
  "hex": "#d640b6",
  "rgb": {
    "r": 214,
    "g": 64,
    "b": 182
  },
  "hsl": {
    "h": 312.8,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6269,
    "c": 0.22186,
    "h": 337.8
  },
  "luminance": 0.2134
}

Semantic roles & 50–950 ramp

primary
#D640B6
secondary
#99D9A7
accent
#E86440
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D640B6

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

Preview Lab → · Contrast checker → · Palette generator →

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