#D7477B#D7477B

#D7477B is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.3% C 0.184 H 2.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D7477B
RGBrgb(215, 71, 123)
HSLhsl(338, 64%, 56%)
HSVhsv(338, 67%, 84%)
CMYKcmyk(0%, 67%, 42.8%, 15.7%)
CIE-LABlab(52.27, 60.15, 2.37)
CIE-LCHlch(52.27, 60.20, 2.25°)
OKLaboklab(61.25% 0.184 0.0068)
OKLCHoklch(61.25% 0.184 2.1)
XYZxyz(33.8552, 20.3878, 20.8875)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7477B #47D7A3
analogous
#D747C3 #D7477B #D75B47
triadic
#D7477B #7BD747 #477BD7
tetradic
#D7477B #C3D747 #47D7A3 #5B47D7
square
#D7477B #C3D747 #47D7A3 #5B47D7
split-complementary
#D7477B #47D75B #47C3D7
monochromatic
#861D43 #B9285C #D7477B #E2799F #EDACC3

Accessibility & contrast

On white

4.14
#D7477B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D7477B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7477B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7477B#FFFFFF#000000##000000
##D7477B1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#656B7C
Deuteranopia (green-blind)
#8B8778
Tritanopia (blue-blind)
#E9345C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d7477b;
/* rgb */ color: rgb(215, 71, 123);
/* oklch */ color: oklch(61.3% 0.184 2.1);
Tailwind
colors: {
  custom: {
    50: '#e883a1',
    500: '#d7477b',
    950: '#000000',
  },
}
SCSS
$custom: #d7477b;
$custom-light: #e883a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7477b",
  "rgb": {
    "r": 215,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 338.333,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61251,
    "c": 0.18413,
    "h": 2.1
  },
  "luminance": 0.20384
}

Semantic roles & 50–950 ramp

primary
#D7477B
secondary
#9FDBC5
accent
#E7AB41
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D7477B

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

Preview Lab → · Contrast checker → · Palette generator →

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