#D4477B#D4477B

#D4477B is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.8% C 0.181 H 1.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#D4477B
RGBrgb(212, 71, 123)
HSLhsl(338, 62%, 55%)
HSVhsv(338, 67%, 83%)
CMYKcmyk(0%, 66.5%, 42%, 16.9%)
CIE-LABlab(51.77, 59.26, 1.57)
CIE-LCHlch(51.77, 59.28, 1.52°)
OKLaboklab(60.78% 0.1813 0.0048)
OKLCHoklch(60.78% 0.181 1.5)
XYZxyz(32.9821, 19.9376, 20.8465)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4477B #47D4A0
analogous
#D447C2 #D4477B #D45947
triadic
#D4477B #7BD447 #477BD4
tetradic
#D4477B #C2D447 #47D4A0 #5947D4
square
#D4477B #C2D447 #47D4A0 #5947D4
split-complementary
#D4477B #47D459 #47C2D4
monochromatic
#821E43 #B42A5D #D4477B #E0799F #EBAAC2

Accessibility & contrast

On white

4.21
#D4477B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#D4477B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D4477B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4477B#FFFFFF#000000##000000
##D4477B1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#636A7C
Deuteranopia (green-blind)
#898578
Tritanopia (blue-blind)
#E5365C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d4477b;
/* rgb */ color: rgb(212, 71, 123);
/* oklch */ color: oklch(60.8% 0.181 1.5);
Tailwind
colors: {
  custom: {
    50: '#e683a1',
    500: '#d4477b',
    950: '#000000',
  },
}
SCSS
$custom: #d4477b;
$custom-light: #e683a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4477b",
  "rgb": {
    "r": 212,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 337.872,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.18136,
    "h": 1.5
  },
  "luminance": 0.19934
}

Semantic roles & 50–950 ramp

primary
#D4477B
secondary
#9ED9C3
accent
#E5A943
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D4477B

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

Preview Lab → · Contrast checker → · Palette generator →

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