#D7478C#D7478C

#D7478C is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.8% C 0.190 H 354.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D7478C
RGBrgb(215, 71, 140)
HSLhsl(331, 64%, 56%)
HSVhsv(331, 67%, 84%)
CMYKcmyk(0%, 67%, 34.9%, 15.7%)
CIE-LABlab(52.79, 61.94, -7.03)
CIE-LCHlch(52.79, 62.33, 353.52°)
OKLaboklab(61.8% 0.1894 -0.0178)
OKLCHoklch(61.8% 0.19 354.6)
XYZxyz(35.0132, 20.8510, 26.9866)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7478C #47D792
analogous
#D747D4 #D7478C #D74A47
triadic
#D7478C #8CD747 #478CD7
tetradic
#D7478C #D4D747 #47D792 #4A47D7
square
#D7478C #D4D747 #47D792 #4A47D7
split-complementary
#D7478C #47D74A #47D4D7
monochromatic
#861D50 #B9286D #D7478C #E279AB #EDACCB

Accessibility & contrast

On white

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

On black

5.17
#D7478C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7478C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7478C#FFFFFF#000000##000000
##D7478C1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#606D8E
Deuteranopia (green-blind)
#878889
Tritanopia (blue-blind)
#E73B64
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d7478c;
/* rgb */ color: rgb(215, 71, 140);
/* oklch */ color: oklch(61.8% 0.190 354.6);
Tailwind
colors: {
  custom: {
    50: '#e884ad',
    500: '#d7478c',
    950: '#000000',
  },
}
SCSS
$custom: #d7478c;
$custom-light: #e884ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d7478c",
  "rgb": {
    "r": 215,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 331.25,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61798,
    "c": 0.19027,
    "h": 354.6
  },
  "luminance": 0.20847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7478C

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

Preview Lab → · Contrast checker → · Palette generator →

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