#D64F7B#D64F7B

#D64F7B is a mid, vivid pink. Relative luminance 0.213; OKLCH L 62.0% C 0.173 H 3.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#D64F7B
RGBrgb(214, 79, 123)
HSLhsl(340, 62%, 57%)
HSVhsv(340, 63%, 84%)
CMYKcmyk(0%, 63.1%, 42.5%, 16.1%)
CIE-LABlab(53.30, 56.59, 3.83)
CIE-LCHlch(53.30, 56.72, 3.87°)
OKLaboklab(61.98% 0.1728 0.0105)
OKLCHoklch(61.98% 0.173 3.5)
XYZxyz(34.1051, 21.3222, 21.0546)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D64F7B #4FD6AA
analogous
#D64FBF #D64F7B #D6664F
triadic
#D64F7B #7BD64F #4F7BD6
tetradic
#D64F7B #BFD64F #4FD6AA #664FD6
square
#D64F7B #BFD64F #4FD6AA #664FD6
split-complementary
#D64F7B #4FD666 #4FBFD6
monochromatic
#8A2043 #BC2C5B #D64F7B #E281A0 #EDB2C5

Accessibility & contrast

On white

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

On black

5.26
#D64F7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D64F7B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D64F7B#FFFFFF#000000##000000
##D64F7B1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6F7C
Deuteranopia (green-blind)
#8E8978
Tritanopia (blue-blind)
#E73F60
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d64f7b;
/* rgb */ color: rgb(214, 79, 123);
/* oklch */ color: oklch(62.0% 0.173 3.5);
Tailwind
colors: {
  custom: {
    50: '#e787a1',
    500: '#d64f7b',
    950: '#000000',
  },
}
SCSS
$custom: #d64f7b;
$custom-light: #e787a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d64f7b",
  "rgb": {
    "r": 214,
    "g": 79,
    "b": 123
  },
  "hsl": {
    "h": 340.444,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61982,
    "c": 0.17309,
    "h": 3.5
  },
  "luminance": 0.21318
}

Semantic roles & 50–950 ramp

primary
#D64F7B
secondary
#A5DCCA
accent
#E5B043
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #D64F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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