#D178C2#D178C2

#D178C2 is a light, vivid pink. Relative luminance 0.309; OKLCH L 69.4% C 0.144 H 333.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#D178C2
RGBrgb(209, 120, 194)
HSLhsl(310, 49%, 65%)
HSVhsv(310, 43%, 82%)
CMYKcmyk(0%, 42.6%, 7.2%, 18%)
CIE-LABlab(62.41, 45.11, -23.84)
CIE-LCHlch(62.41, 51.02, 332.15°)
OKLaboklab(69.42% 0.1292 -0.0644)
OKLCHoklch(69.42% 0.144 333.5)
XYZxyz(42.7483, 30.8857, 54.7384)
Luminance0.3088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178C2 #78D187
analogous
#B378D1 #D178C2 #D17896
triadic
#D178C2 #C2D178 #78C2D1
tetradic
#D178C2 #D1B378 #78D187 #7896D1
square
#D178C2 #D1B378 #78D187 #7896D1
split-complementary
#D178C2 #96D178 #78D1B3
monochromatic
#9A3589 #C14AAD #D178C2 #E1A6D7 #F0D3EB

Accessibility & contrast

On white

2.93
#D178C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#D178C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D178C2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178C2#FFFFFF#000000##000000
##D178C21.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#778FC5
Deuteranopia (green-blind)
#8F9CBF
Tritanopia (blue-blind)
#D87D94
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d178c2;
/* rgb */ color: rgb(209, 120, 194);
/* oklch */ color: oklch(69.4% 0.144 333.5);
Tailwind
colors: {
  custom: {
    50: '#e1a1d4',
    500: '#d178c2',
    950: '#000000',
  },
}
SCSS
$custom: #d178c2;
$custom-light: #e1a1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d178c2",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 194
  },
  "hsl": {
    "h": 310.112,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69415,
    "c": 0.14433,
    "h": 333.5
  },
  "luminance": 0.30883
}

Semantic roles & 50–950 ramp

primary
#D178C2
secondary
#C3E2C8
accent
#BC4229
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #D178C2

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

Preview Lab → · Contrast checker → · Palette generator →

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