#D74A78#D74A78

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

Color values

HEX#D74A78
RGBrgb(215, 74, 120)
HSLhsl(340, 64%, 57%)
HSVhsv(340, 66%, 84%)
CMYKcmyk(0%, 65.6%, 44.2%, 15.7%)
CIE-LABlab(52.63, 58.67, 4.67)
CIE-LCHlch(52.63, 58.86, 4.55°)
OKLaboklab(61.49% 0.1792 0.0127)
OKLCHoklch(61.49% 0.18 4)
XYZxyz(33.8658, 20.7049, 19.9787)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74A78 #4AD7A9
analogous
#D74ABE #D74A78 #D7634A
triadic
#D74A78 #78D74A #4A78D7
tetradic
#D74A78 #BED74A #4AD7A9 #634AD7
square
#D74A78 #BED74A #4AD7A9 #634AD7
split-complementary
#D74A78 #4AD763 #4ABED7
monochromatic
#881E41 #BB2959 #D74A78 #E27C9D #EDAEC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D74A78#FFFFFF#000000##000000
##D74A781.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)
#686C79
Deuteranopia (green-blind)
#8D8875
Tritanopia (blue-blind)
#E9375C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d74a78;
/* rgb */ color: rgb(215, 74, 120);
/* oklch */ color: oklch(61.5% 0.180 4.0);
Tailwind
colors: {
  custom: {
    50: '#e8859e',
    500: '#d74a78',
    950: '#000000',
  },
}
SCSS
$custom: #d74a78;
$custom-light: #e8859e;
$custom-dark: #000000;
JSON
{
  "hex": "#d74a78",
  "rgb": {
    "r": 215,
    "g": 74,
    "b": 120
  },
  "hsl": {
    "h": 340.426,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61485,
    "c": 0.17963,
    "h": 4
  },
  "luminance": 0.20701
}

Semantic roles & 50–950 ramp

primary
#D74A78
secondary
#A2DBC8
accent
#E7B141
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #D74A78

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

Preview Lab → · Contrast checker → · Palette generator →

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