#D7478F#D7478F

#D7478F is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.9% C 0.192 H 353.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D7478F
RGBrgb(215, 71, 143)
HSLhsl(330, 64%, 56%)
HSVhsv(330, 67%, 84%)
CMYKcmyk(0%, 67%, 33.5%, 15.7%)
CIE-LABlab(52.88, 62.27, -8.67)
CIE-LCHlch(52.88, 62.88, 352.07°)
OKLaboklab(61.9% 0.1903 -0.0222)
OKLCHoklch(61.9% 0.192 353.4)
XYZxyz(35.2375, 20.9407, 28.1675)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7478F #47D78F
analogous
#D747D7 #D7478F #D74747
triadic
#D7478F #8FD747 #478FD7
tetradic
#D7478F #D7D747 #47D78F #4747D7
square
#D7478F #D7D747 #47D78F #4747D7
split-complementary
#D7478F #47D747 #47D7D7
monochromatic
#861D52 #B92870 #D7478F #E279AE #EDACCC

Accessibility & contrast

On white

4.05
#D7478F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#D7478F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7478F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7478F#FFFFFF#000000##000000
##D7478F1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6E91
Deuteranopia (green-blind)
#87888C
Tritanopia (blue-blind)
#E73C65
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d7478f;
/* rgb */ color: rgb(215, 71, 143);
/* oklch */ color: oklch(61.9% 0.192 353.4);
Tailwind
colors: {
  custom: {
    50: '#e884af',
    500: '#d7478f',
    950: '#000000',
  },
}
SCSS
$custom: #d7478f;
$custom-light: #e884af;
$custom-dark: #000000;
JSON
{
  "hex": "#d7478f",
  "rgb": {
    "r": 215,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 330,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61903,
    "c": 0.1916,
    "h": 353.4
  },
  "luminance": 0.20937
}

Semantic roles & 50–950 ramp

primary
#D7478F
secondary
#9FDBBD
accent
#E79441
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D7478F

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

Preview Lab → · Contrast checker → · Palette generator →

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