#D178A3#D178A3

#D178A3 is a light, vivid pink. Relative luminance 0.296; OKLCH L 68.3% C 0.122 H 350.4°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#D178A3
RGBrgb(209, 120, 163)
HSLhsl(331, 49%, 65%)
HSVhsv(331, 43%, 82%)
CMYKcmyk(0%, 42.6%, 22%, 18%)
CIE-LABlab(61.34, 40.16, -7.81)
CIE-LCHlch(61.34, 40.91, 348.99°)
OKLaboklab(68.25% 0.1203 -0.0202)
OKLCHoklch(68.25% 0.122 350.4)
XYZxyz(39.6227, 29.6354, 38.2765)
Luminance0.2963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178A3 #78D1A6
analogous
#D178D0 #D178A3 #D17A78
triadic
#D178A3 #A3D178 #78A3D1
tetradic
#D178A3 #D0D178 #78D1A6 #7A78D1
square
#D178A3 #D0D178 #78D1A6 #7A78D1
split-complementary
#D178A3 #78D17A #78D0D1
monochromatic
#9A3566 #C14A84 #D178A3 #E1A6C2 #F0D3E1

Accessibility & contrast

On white

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

On black

6.93
#D178A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D178A3
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178A3#FFFFFF#000000##000000
##D178A31.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d178a3;
/* rgb */ color: rgb(209, 120, 163);
/* oklch */ color: oklch(68.3% 0.122 350.4);
Tailwind
colors: {
  custom: {
    50: '#e1a1be',
    500: '#d178a3',
    950: '#000000',
  },
}
SCSS
$custom: #d178a3;
$custom-light: #e1a1be;
$custom-dark: #000000;
JSON
{
  "hex": "#d178a3",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 163
  },
  "hsl": {
    "h": 331.011,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68254,
    "c": 0.12197,
    "h": 350.4
  },
  "luminance": 0.29633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D178A3

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

Preview Lab → · Contrast checker → · Palette generator →

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