#D94778#D94778

#D94778 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.5% C 0.185 H 3.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D94778
RGBrgb(217, 71, 120)
HSLhsl(340, 66%, 56%)
HSVhsv(340, 67%, 85%)
CMYKcmyk(0%, 67.3%, 44.7%, 14.9%)
CIE-LABlab(52.53, 60.46, 4.58)
CIE-LCHlch(52.53, 60.63, 4.33°)
OKLaboklab(61.48% 0.1848 0.0124)
OKLCHoklch(61.48% 0.185 3.8)
XYZxyz(34.2613, 20.6185, 19.9412)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94778 #47D9A8
analogous
#D947C1 #D94778 #D95F47
triadic
#D94778 #78D947 #4778D9
tetradic
#D94778 #C1D947 #47D9A8 #5F47D9
square
#D94778 #C1D947 #47D9A8 #5F47D9
split-complementary
#D94778 #47D95F #47C1D9
monochromatic
#891C41 #BC2759 #D94778 #E37A9D #EEACC2

Accessibility & contrast

On white

4.10
#D94778 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D94778 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94778
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94778#FFFFFF#000000##000000
##D947781.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#666B79
Deuteranopia (green-blind)
#8D8875
Tritanopia (blue-blind)
#EB325B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d94778;
/* rgb */ color: rgb(217, 71, 120);
/* oklch */ color: oklch(61.5% 0.185 3.8);
Tailwind
colors: {
  custom: {
    50: '#ea839e',
    500: '#d94778',
    950: '#000000',
  },
}
SCSS
$custom: #d94778;
$custom-light: #ea839e;
$custom-dark: #000000;
JSON
{
  "hex": "#d94778",
  "rgb": {
    "r": 217,
    "g": 71,
    "b": 120
  },
  "hsl": {
    "h": 339.863,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61478,
    "c": 0.18517,
    "h": 3.8
  },
  "luminance": 0.20614
}

Semantic roles & 50–950 ramp

primary
#D94778
secondary
#A0DCC8
accent
#E9B03F
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D94778

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

Preview Lab → · Contrast checker → · Palette generator →

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