#D9477C#D9477C

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

Color values

HEX#D9477C
RGBrgb(217, 71, 124)
HSLhsl(338, 66%, 56%)
HSVhsv(338, 67%, 85%)
CMYKcmyk(0%, 67.3%, 42.9%, 14.9%)
CIE-LABlab(52.64, 60.84, 2.34)
CIE-LCHlch(52.64, 60.89, 2.20°)
OKLaboklab(61.6% 0.1861 0.0067)
OKLCHoklch(61.6% 0.186 2.1)
XYZxyz(34.5091, 20.7177, 21.2465)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9477C #47D9A4
analogous
#D947C5 #D9477C #D95B47
triadic
#D9477C #7CD947 #477CD9
tetradic
#D9477C #C5D947 #47D9A4 #5B47D9
square
#D9477C #C5D947 #47D9A4 #5B47D9
split-complementary
#D9477C #47D95B #47C5D9
monochromatic
#891C44 #BC275D #D9477C #E37AA0 #EEACC4

Accessibility & contrast

On white

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

On black

5.14
#D9477C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9477C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9477C#FFFFFF#000000##000000
##D9477C1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7D
Deuteranopia (green-blind)
#8C8879
Tritanopia (blue-blind)
#EB345C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d9477c;
/* rgb */ color: rgb(217, 71, 124);
/* oklch */ color: oklch(61.6% 0.186 2.1);
Tailwind
colors: {
  custom: {
    50: '#ea83a1',
    500: '#d9477c',
    950: '#000000',
  },
}
SCSS
$custom: #d9477c;
$custom-light: #ea83a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d9477c",
  "rgb": {
    "r": 217,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 338.219,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61595,
    "c": 0.18626,
    "h": 2.1
  },
  "luminance": 0.20713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9477C

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

Preview Lab → · Contrast checker → · Palette generator →

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