#D7477C#D7477C

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

Color values

HEX#D7477C
RGBrgb(215, 71, 124)
HSLhsl(338, 64%, 56%)
HSVhsv(338, 67%, 84%)
CMYKcmyk(0%, 67%, 42.3%, 15.7%)
CIE-LABlab(52.30, 60.25, 1.81)
CIE-LCHlch(52.30, 60.28, 1.72°)
OKLaboklab(61.28% 0.1843 0.0054)
OKLCHoklch(61.28% 0.184 1.7)
XYZxyz(33.9181, 20.4129, 21.2188)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7477C #47D7A2
analogous
#D747C4 #D7477C #D75A47
triadic
#D7477C #7CD747 #477CD7
tetradic
#D7477C #C4D747 #47D7A2 #5A47D7
square
#D7477C #C4D747 #47D7A2 #5A47D7
split-complementary
#D7477C #47D75A #47C4D7
monochromatic
#861D44 #B9285D #D7477C #E279A0 #EDACC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7477C#FFFFFF#000000##000000
##D7477C1.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)
#646B7D
Deuteranopia (green-blind)
#8B8779
Tritanopia (blue-blind)
#E9355C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d7477c;
/* rgb */ color: rgb(215, 71, 124);
/* oklch */ color: oklch(61.3% 0.184 1.7);
Tailwind
colors: {
  custom: {
    50: '#e883a1',
    500: '#d7477c',
    950: '#000000',
  },
}
SCSS
$custom: #d7477c;
$custom-light: #e883a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7477c",
  "rgb": {
    "r": 215,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 337.917,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61281,
    "c": 0.18442,
    "h": 1.7
  },
  "luminance": 0.20409
}

Semantic roles & 50–950 ramp

primary
#D7477C
secondary
#9FDBC5
accent
#E7AA41
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D7477C

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

Preview Lab → · Contrast checker → · Palette generator →

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