#D64A7F#D64A7F

#D64A7F is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.181 H 0.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D64A7F
RGBrgb(214, 74, 127)
HSLhsl(337, 63%, 56%)
HSVhsv(337, 65%, 84%)
CMYKcmyk(0%, 65.4%, 40.7%, 16.1%)
CIE-LABlab(52.65, 59.07, 0.50)
CIE-LCHlch(52.65, 59.07, 0.49°)
OKLaboklab(61.54% 0.1807 0.002)
OKLCHoklch(61.54% 0.181 0.6)
XYZxyz(34.0134, 20.7301, 22.2847)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D64A7F #4AD6A1
analogous
#D64AC5 #D64A7F #D65B4A
triadic
#D64A7F #7FD64A #4A7FD6
tetradic
#D64A7F #C5D64A #4AD6A1 #5B4AD6
square
#D64A7F #C5D64A #4AD6A1 #5B4AD6
split-complementary
#D64A7F #4AD65B #4AC5D6
monochromatic
#871F46 #B92A60 #D64A7F #E17CA2 #EDAEC6

Accessibility & contrast

On white

4.08
#D64A7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D64A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D64A7F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D64A7F#FFFFFF#000000##000000
##D64A7F1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#656D80
Deuteranopia (green-blind)
#8B887C
Tritanopia (blue-blind)
#E73A5F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d64a7f;
/* rgb */ color: rgb(214, 74, 127);
/* oklch */ color: oklch(61.5% 0.181 0.6);
Tailwind
colors: {
  custom: {
    50: '#e785a4',
    500: '#d64a7f',
    950: '#000000',
  },
}
SCSS
$custom: #d64a7f;
$custom-light: #e785a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d64a7f",
  "rgb": {
    "r": 214,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 337.286,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61538,
    "c": 0.18069,
    "h": 0.6
  },
  "luminance": 0.20726
}

Semantic roles & 50–950 ramp

primary
#D64A7F
secondary
#A1DBC5
accent
#E6A842
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D64A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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