#D7478D#D7478D

#D7478D is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.191 H 354.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#D7478D
RGBrgb(215, 71, 141)
HSLhsl(331, 64%, 56%)
HSVhsv(331, 67%, 84%)
CMYKcmyk(0%, 67%, 34.4%, 15.7%)
CIE-LABlab(52.82, 62.05, -7.58)
CIE-LCHlch(52.82, 62.51, 353.04°)
OKLaboklab(61.83% 0.1897 -0.0192)
OKLCHoklch(61.83% 0.191 354.2)
XYZxyz(35.0873, 20.8806, 27.3767)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7478D #47D791
analogous
#D747D5 #D7478D #D74947
triadic
#D7478D #8DD747 #478DD7
tetradic
#D7478D #D5D747 #47D791 #4947D7
square
#D7478D #D5D747 #47D791 #4947D7
split-complementary
#D7478D #47D749 #47D5D7
monochromatic
#861D50 #B9286E #D7478D #E279AC #EDACCB

Accessibility & contrast

On white

4.06
#D7478D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#D7478D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7478D
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7478D#FFFFFF#000000##000000
##D7478D1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D8F
Deuteranopia (green-blind)
#87888A
Tritanopia (blue-blind)
#E73C64
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d7478d;
/* rgb */ color: rgb(215, 71, 141);
/* oklch */ color: oklch(61.8% 0.191 354.2);
Tailwind
colors: {
  custom: {
    50: '#e884ae',
    500: '#d7478d',
    950: '#000000',
  },
}
SCSS
$custom: #d7478d;
$custom-light: #e884ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d7478d",
  "rgb": {
    "r": 215,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 330.833,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61833,
    "c": 0.1907,
    "h": 354.2
  },
  "luminance": 0.20877
}

Semantic roles & 50–950 ramp

primary
#D7478D
secondary
#9FDBBE
accent
#E79641
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D7478D

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

Preview Lab → · Contrast checker → · Palette generator →

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