#D178A2#D178A2

#D178A2 is a light, vivid pink. Relative luminance 0.296; OKLCH L 68.2% C 0.121 H 351.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#D178A2
RGBrgb(209, 120, 162)
HSLhsl(332, 49%, 65%)
HSVhsv(332, 43%, 82%)
CMYKcmyk(0%, 42.6%, 22.5%, 18%)
CIE-LABlab(61.31, 40.01, -7.28)
CIE-LCHlch(61.31, 40.67, 349.68°)
OKLaboklab(68.22% 0.12 -0.0188)
OKLCHoklch(68.22% 0.121 351.1)
XYZxyz(39.5334, 29.5997, 37.8065)
Luminance0.2960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178A2 #78D1A7
analogous
#D178CF #D178A2 #D17B78
triadic
#D178A2 #A2D178 #78A2D1
tetradic
#D178A2 #CFD178 #78D1A7 #7B78D1
square
#D178A2 #CFD178 #78D1A7 #7B78D1
split-complementary
#D178A2 #78D17B #78CFD1
monochromatic
#9A3564 #C14A83 #D178A2 #E1A6C1 #F0D3E1

Accessibility & contrast

On white

3.03
#D178A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#D178A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D178A2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178A2#FFFFFF#000000##000000
##D178A21.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#818BA3
Deuteranopia (green-blind)
#989AA0
Tritanopia (blue-blind)
#DD7587
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d178a2;
/* rgb */ color: rgb(209, 120, 162);
/* oklch */ color: oklch(68.2% 0.121 351.1);
Tailwind
colors: {
  custom: {
    50: '#e1a1bd',
    500: '#d178a2',
    950: '#000000',
  },
}
SCSS
$custom: #d178a2;
$custom-light: #e1a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d178a2",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 331.685,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6822,
    "c": 0.12142,
    "h": 351.1
  },
  "luminance": 0.29597
}

Semantic roles & 50–950 ramp

primary
#D178A2
secondary
#C3E2D3
accent
#BC7729
background
#FEFAFB
surface
#FCF3F6
border
#D5CDD0
text
#150F12
muted
#847F81

Preview Lab

Preview with #D178A2

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

Preview Lab → · Contrast checker → · Palette generator →

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