#D178BC#D178BC

#D178BC is a light, vivid pink. Relative luminance 0.306; OKLCH L 69.2% C 0.139 H 336.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#D178BC
RGBrgb(209, 120, 188)
HSLhsl(314, 49%, 65%)
HSVhsv(314, 43%, 82%)
CMYKcmyk(0%, 42.6%, 10%, 18%)
CIE-LABlab(62.19, 44.09, -20.78)
CIE-LCHlch(62.19, 48.74, 334.76°)
OKLaboklab(69.17% 0.1276 -0.0559)
OKLCHoklch(69.17% 0.139 336.4)
XYZxyz(42.0881, 30.6216, 51.2609)
Luminance0.3062 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178BC #78D18D
analogous
#B978D1 #D178BC #D17890
triadic
#D178BC #BCD178 #78BCD1
tetradic
#D178BC #D1B978 #78D18D #7890D1
square
#D178BC #D1B978 #78D18D #7890D1
split-complementary
#D178BC #90D178 #78D1B9
monochromatic
#9A3582 #C14AA5 #D178BC #E1A6D3 #F0D3E9

Accessibility & contrast

On white

2.95
#D178BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#D178BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D178BC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178BC#FFFFFF#000000##000000
##D178BC1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#798EBE
Deuteranopia (green-blind)
#919BB9
Tritanopia (blue-blind)
#D97B92
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d178bc;
/* rgb */ color: rgb(209, 120, 188);
/* oklch */ color: oklch(69.2% 0.139 336.4);
Tailwind
colors: {
  custom: {
    50: '#e1a1d0',
    500: '#d178bc',
    950: '#000000',
  },
}
SCSS
$custom: #d178bc;
$custom-light: #e1a1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d178bc",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 314.157,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69173,
    "c": 0.13933,
    "h": 336.4
  },
  "luminance": 0.30619
}

Semantic roles & 50–950 ramp

primary
#D178BC
secondary
#C3E2CA
accent
#BC4C29
background
#FDFAFC
surface
#FBF3F9
border
#D4CDD2
text
#150F14
muted
#837F82

Preview Lab

Preview with #D178BC

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

Preview Lab → · Contrast checker → · Palette generator →

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