#D74C7F#D74C7F

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

Color values

HEX#D74C7F
RGBrgb(215, 76, 127)
HSLhsl(338, 63%, 57%)
HSVhsv(338, 65%, 84%)
CMYKcmyk(0%, 64.7%, 40.9%, 15.7%)
CIE-LABlab(53.12, 58.55, 1.20)
CIE-LCHlch(53.12, 58.57, 1.17°)
OKLaboklab(61.91% 0.179 0.0038)
OKLCHoklch(61.91% 0.179 1.2)
XYZxyz(34.4419, 21.1523, 22.3436)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74C7F #4CD7A4
analogous
#D74CC4 #D74C7F #D75F4C
triadic
#D74C7F #7FD74C #4C7FD7
tetradic
#D74C7F #C4D74C #4CD7A4 #5F4CD7
square
#D74C7F #C4D74C #4CD7A4 #5F4CD7
split-complementary
#D74C7F #4CD75F #4CC4D7
monochromatic
#8A1F46 #BC2A5F #D74C7F #E27EA3 #EDB0C7

Accessibility & contrast

On white

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

On black

5.23
#D74C7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74C7F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74C7F#FFFFFF#000000##000000
##D74C7F1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d74c7f;
/* rgb */ color: rgb(215, 76, 127);
/* oklch */ color: oklch(61.9% 0.179 1.2);
Tailwind
colors: {
  custom: {
    50: '#e886a4',
    500: '#d74c7f',
    950: '#000000',
  },
}
SCSS
$custom: #d74c7f;
$custom-light: #e886a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d74c7f",
  "rgb": {
    "r": 215,
    "g": 76,
    "b": 127
  },
  "hsl": {
    "h": 337.986,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61913,
    "c": 0.17907,
    "h": 1.2
  },
  "luminance": 0.21148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D74C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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