#D640A5#D640A5

#D640A5 is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 61.9% C 0.211 H 343.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D640A5
RGBrgb(214, 64, 165)
HSLhsl(320, 65%, 55%)
HSVhsv(320, 70%, 84%)
CMYKcmyk(0%, 70.1%, 22.9%, 16.1%)
CIE-LABlab(52.60, 67.26, -22.12)
CIE-LCHlch(52.60, 70.81, 341.79°)
OKLaboklab(61.93% 0.2027 -0.059)
OKLCHoklch(61.93% 0.211 343.8)
XYZxyz(36.3578, 20.6833, 37.6675)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D640A5 #40D671
analogous
#BC40D6 #D640A5 #D6405A
triadic
#D640A5 #A5D640 #40A5D6
tetradic
#D640A5 #D6BC40 #40D671 #405AD6
square
#D640A5 #D6BC40 #40D671 #405AD6
split-complementary
#D640A5 #5AD640 #40D6BC
monochromatic
#801B5F #B22685 #D640A5 #E172BD #ECA5D4

Accessibility & contrast

On white

4.09
#D640A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D640A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D640A5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D640A5#FFFFFF#000000##000000
##D640A51.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EA8
Deuteranopia (green-blind)
#7D87A1
Tritanopia (blue-blind)
#E4406D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d640a5;
/* rgb */ color: rgb(214, 64, 165);
/* oklch */ color: oklch(61.9% 0.211 343.8);
Tailwind
colors: {
  custom: {
    50: '#e781c0',
    500: '#d640a5',
    950: '#000000',
  },
}
SCSS
$custom: #d640a5;
$custom-light: #e781c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d640a5",
  "rgb": {
    "r": 214,
    "g": 64,
    "b": 165
  },
  "hsl": {
    "h": 319.6,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61929,
    "c": 0.21109,
    "h": 343.8
  },
  "luminance": 0.2068
}

Semantic roles & 50–950 ramp

primary
#D640A5
secondary
#99D9AE
accent
#E87740
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #D640A5

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

Preview Lab → · Contrast checker → · Palette generator →

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