#D74877#D74877

#D74877 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.182 H 4.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D74877
RGBrgb(215, 72, 119)
HSLhsl(340, 64%, 56%)
HSVhsv(340, 67%, 84%)
CMYKcmyk(0%, 66.5%, 44.7%, 15.7%)
CIE-LABlab(52.31, 59.37, 4.81)
CIE-LCHlch(52.31, 59.57, 4.63°)
OKLaboklab(61.24% 0.1814 0.013)
OKLCHoklch(61.24% 0.182 4.1)
XYZxyz(33.6740, 20.4179, 19.6170)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74877 #48D7A8
analogous
#D748BF #D74877 #D76148
triadic
#D74877 #77D748 #4877D7
tetradic
#D74877 #BFD748 #48D7A8 #6148D7
square
#D74877 #BFD748 #48D7A8 #6148D7
split-complementary
#D74877 #48D761 #48BFD7
monochromatic
#871E40 #B92958 #D74877 #E27A9C #EDACC2

Accessibility & contrast

On white

4.13
#D74877 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D74877 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74877
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74877#FFFFFF#000000##000000
##D748771.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#666B78
Deuteranopia (green-blind)
#8C8774
Tritanopia (blue-blind)
#E9345B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d74877;
/* rgb */ color: rgb(215, 72, 119);
/* oklch */ color: oklch(61.2% 0.182 4.1);
Tailwind
colors: {
  custom: {
    50: '#e9849e',
    500: '#d74877',
    950: '#000000',
  },
}
SCSS
$custom: #d74877;
$custom-light: #e9849e;
$custom-dark: #000000;
JSON
{
  "hex": "#d74877",
  "rgb": {
    "r": 215,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 340.28,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6124,
    "c": 0.18183,
    "h": 4.1
  },
  "luminance": 0.20414
}

Semantic roles & 50–950 ramp

primary
#D74877
secondary
#A0DBC7
accent
#E7B041
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D74877

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

Preview Lab → · Contrast checker → · Palette generator →

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