#D74C7E#D74C7E

#D74C7E is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.179 H 1.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#D74C7E
RGBrgb(215, 76, 126)
HSLhsl(338, 63%, 57%)
HSVhsv(338, 65%, 84%)
CMYKcmyk(0%, 64.7%, 41.4%, 15.7%)
CIE-LABlab(53.09, 58.45, 1.75)
CIE-LCHlch(53.09, 58.48, 1.72°)
OKLaboklab(61.88% 0.1787 0.0052)
OKLCHoklch(61.88% 0.179 1.7)
XYZxyz(34.3770, 21.1264, 22.0021)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74C7E #4CD7A5
analogous
#D74CC4 #D74C7E #D7604C
triadic
#D74C7E #7ED74C #4C7ED7
tetradic
#D74C7E #C4D74C #4CD7A5 #604CD7
square
#D74C7E #C4D74C #4CD7A5 #604CD7
split-complementary
#D74C7E #4CD760 #4CC4D7
monochromatic
#8A1F45 #BC2A5E #D74C7E #E27EA2 #EDB0C6

Accessibility & contrast

On white

4.02
#D74C7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#D74C7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74C7E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74C7E#FFFFFF#000000##000000
##D74C7E1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#676E7F
Deuteranopia (green-blind)
#8C897B
Tritanopia (blue-blind)
#E83C60
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d74c7e;
/* rgb */ color: rgb(215, 76, 126);
/* oklch */ color: oklch(61.9% 0.179 1.7);
Tailwind
colors: {
  custom: {
    50: '#e886a3',
    500: '#d74c7e',
    950: '#000000',
  },
}
SCSS
$custom: #d74c7e;
$custom-light: #e886a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d74c7e",
  "rgb": {
    "r": 215,
    "g": 76,
    "b": 126
  },
  "hsl": {
    "h": 338.417,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61883,
    "c": 0.17877,
    "h": 1.7
  },
  "luminance": 0.21122
}

Semantic roles & 50–950 ramp

primary
#D74C7E
secondary
#A3DCC7
accent
#E6AB41
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D74C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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