#D7478A#D7478A

#D7478A is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.7% C 0.189 H 355.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#D7478A
RGBrgb(215, 71, 138)
HSLhsl(332, 64%, 56%)
HSVhsv(332, 67%, 84%)
CMYKcmyk(0%, 67%, 35.8%, 15.7%)
CIE-LABlab(52.72, 61.71, -5.94)
CIE-LCHlch(52.72, 62.00, 354.50°)
OKLaboklab(61.73% 0.1888 -0.0149)
OKLCHoklch(61.73% 0.189 355.5)
XYZxyz(34.8671, 20.7925, 26.2170)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7478A #47D794
analogous
#D747D2 #D7478A #D74C47
triadic
#D7478A #8AD747 #478AD7
tetradic
#D7478A #D2D747 #47D794 #4C47D7
square
#D7478A #D2D747 #47D794 #4C47D7
split-complementary
#D7478A #47D74C #47D2D7
monochromatic
#861D4E #B9286B #D7478A #E279AA #EDACCA

Accessibility & contrast

On white

4.07
#D7478A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#D7478A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7478A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7478A#FFFFFF#000000##000000
##D7478A1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#606D8C
Deuteranopia (green-blind)
#888887
Tritanopia (blue-blind)
#E73A63
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d7478a;
/* rgb */ color: rgb(215, 71, 138);
/* oklch */ color: oklch(61.7% 0.189 355.5);
Tailwind
colors: {
  custom: {
    50: '#e884ac',
    500: '#d7478a',
    950: '#000000',
  },
}
SCSS
$custom: #d7478a;
$custom-light: #e884ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d7478a",
  "rgb": {
    "r": 215,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 332.083,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6173,
    "c": 0.18942,
    "h": 355.5
  },
  "luminance": 0.20789
}

Semantic roles & 50–950 ramp

primary
#D7478A
secondary
#9FDBBF
accent
#E79A41
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D7478A

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

Preview Lab → · Contrast checker → · Palette generator →

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