#D9477D#D9477D

#D9477D is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.6% C 0.187 H 1.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D9477D
RGBrgb(217, 71, 125)
HSLhsl(338, 66%, 56%)
HSVhsv(338, 67%, 85%)
CMYKcmyk(0%, 67.3%, 42.4%, 14.9%)
CIE-LABlab(52.67, 60.94, 1.78)
CIE-LCHlch(52.67, 60.96, 1.67°)
OKLaboklab(61.63% 0.1865 0.0053)
OKLCHoklch(61.63% 0.187 1.6)
XYZxyz(34.5727, 20.7431, 21.5813)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9477D #47D9A3
analogous
#D947C6 #D9477D #D95A47
triadic
#D9477D #7DD947 #477DD9
tetradic
#D9477D #C6D947 #47D9A3 #5A47D9
square
#D9477D #C6D947 #47D9A3 #5A47D9
split-complementary
#D9477D #47D95A #47C6D9
monochromatic
#891C45 #BC275E #D9477D #E37AA1 #EEACC5

Accessibility & contrast

On white

4.08
#D9477D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D9477D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9477D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9477D#FFFFFF#000000##000000
##D9477D1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7E
Deuteranopia (green-blind)
#8C887A
Tritanopia (blue-blind)
#EB345D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d9477d;
/* rgb */ color: rgb(217, 71, 125);
/* oklch */ color: oklch(61.6% 0.187 1.6);
Tailwind
colors: {
  custom: {
    50: '#ea84a2',
    500: '#d9477d',
    950: '#000000',
  },
}
SCSS
$custom: #d9477d;
$custom-light: #ea84a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d9477d",
  "rgb": {
    "r": 217,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 337.808,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61625,
    "c": 0.18656,
    "h": 1.6
  },
  "luminance": 0.20739
}

Semantic roles & 50–950 ramp

primary
#D9477D
secondary
#A0DCC6
accent
#E9AA3F
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D9477D

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

Preview Lab → · Contrast checker → · Palette generator →

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