#D477A2#D477A2

#D477A2 is a light, vivid pink. Relative luminance 0.298; OKLCH L 68.4% C 0.126 H 351.8°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#D477A2
RGBrgb(212, 119, 162)
HSLhsl(332, 52%, 65%)
HSVhsv(332, 44%, 83%)
CMYKcmyk(0%, 43.9%, 23.6%, 16.9%)
CIE-LABlab(61.48, 41.56, -6.98)
CIE-LCHlch(61.48, 42.14, 350.47°)
OKLaboklab(68.43% 0.1248 -0.018)
OKLCHoklch(68.43% 0.126 351.8)
XYZxyz(40.2708, 29.8023, 37.8068)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D477A2 #77D4A9
analogous
#D477D0 #D477A2 #D47B77
triadic
#D477A2 #A2D477 #77A2D4
tetradic
#D477A2 #D0D477 #77D4A9 #7B77D4
square
#D477A2 #D0D477 #77D4A9 #7B77D4
split-complementary
#D477A2 #77D47B #77D0D4
monochromatic
#9E3264 #C54982 #D477A2 #E3A5C2 #F1D4E2

Accessibility & contrast

On white

3.02
#D477A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#D477A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D477A2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D477A2#FFFFFF#000000##000000
##D477A21.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#818BA3
Deuteranopia (green-blind)
#999BA0
Tritanopia (blue-blind)
#E07487
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d477a2;
/* rgb */ color: rgb(212, 119, 162);
/* oklch */ color: oklch(68.4% 0.126 351.8);
Tailwind
colors: {
  custom: {
    50: '#e3a0bd',
    500: '#d477a2',
    950: '#000000',
  },
}
SCSS
$custom: #d477a2;
$custom-light: #e3a0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d477a2",
  "rgb": {
    "r": 212,
    "g": 119,
    "b": 162
  },
  "hsl": {
    "h": 332.258,
    "s": 51.955,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68434,
    "c": 0.12613,
    "h": 351.8
  },
  "luminance": 0.29799
}

Semantic roles & 50–950 ramp

primary
#D477A2
secondary
#C4E3D5
accent
#BF7926
background
#FEFAFB
surface
#FCF3F6
border
#D5CDD0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D477A2

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

Preview Lab → · Contrast checker → · Palette generator →

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