#D8477F#D8477F

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

Color values

HEX#D8477F
RGBrgb(216, 71, 127)
HSLhsl(337, 65%, 56%)
HSVhsv(337, 67%, 85%)
CMYKcmyk(0%, 67.1%, 41.2%, 15.3%)
CIE-LABlab(52.56, 60.84, 0.40)
CIE-LCHlch(52.56, 60.85, 0.38°)
OKLaboklab(61.53% 0.1863 0.0018)
OKLCHoklch(61.53% 0.186 0.5)
XYZxyz(34.4053, 20.6419, 22.2470)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8477F #47D8A0
analogous
#D847C7 #D8477F #D85847
triadic
#D8477F #7FD847 #477FD8
tetradic
#D8477F #C7D847 #47D8A0 #5847D8
square
#D8477F #C7D847 #47D8A0 #5847D8
split-complementary
#D8477F #47D858 #47C7D8
monochromatic
#881D46 #BA2760 #D8477F #E379A2 #EDACC5

Accessibility & contrast

On white

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

On black

5.13
#D8477F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8477F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8477F#FFFFFF#000000##000000
##D8477F1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#646C80
Deuteranopia (green-blind)
#8B887C
Tritanopia (blue-blind)
#EA355E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d8477f;
/* rgb */ color: rgb(216, 71, 127);
/* oklch */ color: oklch(61.5% 0.186 0.5);
Tailwind
colors: {
  custom: {
    50: '#e983a4',
    500: '#d8477f',
    950: '#000000',
  },
}
SCSS
$custom: #d8477f;
$custom-light: #e983a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8477f",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 336.828,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61529,
    "c": 0.18626,
    "h": 0.5
  },
  "luminance": 0.20638
}

Semantic roles & 50–950 ramp

primary
#D8477F
secondary
#A0DBC4
accent
#E8A740
background
#FFF8FA
surface
#FEF0F3
border
#D6CBCD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D8477F

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

Preview Lab → · Contrast checker → · Palette generator →

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