#D7478E#D7478E

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

Color values

HEX#D7478E
RGBrgb(215, 71, 142)
HSLhsl(330, 64%, 56%)
HSVhsv(330, 67%, 84%)
CMYKcmyk(0%, 67%, 34%, 15.7%)
CIE-LABlab(52.85, 62.16, -8.13)
CIE-LCHlch(52.85, 62.69, 352.55°)
OKLaboklab(61.87% 0.19 -0.0207)
OKLCHoklch(61.87% 0.191 353.8)
XYZxyz(35.1620, 20.9105, 27.7704)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7478E #47D790
analogous
#D747D6 #D7478E #D74847
triadic
#D7478E #8ED747 #478ED7
tetradic
#D7478E #D6D747 #47D790 #4847D7
square
#D7478E #D6D747 #47D790 #4847D7
split-complementary
#D7478E #47D748 #47D6D7
monochromatic
#861D51 #B9286F #D7478E #E279AD #EDACCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7478E#FFFFFF#000000##000000
##D7478E1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7478e;
/* rgb */ color: rgb(215, 71, 142);
/* oklch */ color: oklch(61.9% 0.191 353.8);
Tailwind
colors: {
  custom: {
    50: '#e884af',
    500: '#d7478e',
    950: '#000000',
  },
}
SCSS
$custom: #d7478e;
$custom-light: #e884af;
$custom-dark: #000000;
JSON
{
  "hex": "#d7478e",
  "rgb": {
    "r": 215,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 330.417,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61868,
    "c": 0.19114,
    "h": 353.8
  },
  "luminance": 0.20907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7478E

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

Preview Lab → · Contrast checker → · Palette generator →

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