#D7478B#D7478B

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

Color values

HEX#D7478B
RGBrgb(215, 71, 139)
HSLhsl(332, 64%, 56%)
HSVhsv(332, 67%, 84%)
CMYKcmyk(0%, 67%, 35.3%, 15.7%)
CIE-LABlab(52.75, 61.82, -6.49)
CIE-LCHlch(52.75, 62.16, 354.01°)
OKLaboklab(61.76% 0.1891 -0.0163)
OKLCHoklch(61.76% 0.19 355.1)
XYZxyz(34.9398, 20.8216, 26.6001)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7478B #47D793
analogous
#D747D3 #D7478B #D74B47
triadic
#D7478B #8BD747 #478BD7
tetradic
#D7478B #D3D747 #47D793 #4B47D7
square
#D7478B #D3D747 #47D793 #4B47D7
split-complementary
#D7478B #47D74B #47D3D7
monochromatic
#861D4F #B9286C #D7478B #E279AB #EDACCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7478B#FFFFFF#000000##000000
##D7478B1.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)
#606D8D
Deuteranopia (green-blind)
#888888
Tritanopia (blue-blind)
#E73B63
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d7478b;
/* rgb */ color: rgb(215, 71, 139);
/* oklch */ color: oklch(61.8% 0.190 355.1);
Tailwind
colors: {
  custom: {
    50: '#e884ac',
    500: '#d7478b',
    950: '#000000',
  },
}
SCSS
$custom: #d7478b;
$custom-light: #e884ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d7478b",
  "rgb": {
    "r": 215,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 331.667,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61764,
    "c": 0.18984,
    "h": 355.1
  },
  "luminance": 0.20818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7478B

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

Preview Lab → · Contrast checker → · Palette generator →

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