#D178BA#D178BA

#D178BA is a light, vivid pink. Relative luminance 0.305; OKLCH L 69.1% C 0.138 H 337.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#D178BA
RGBrgb(209, 120, 186)
HSLhsl(316, 49%, 65%)
HSVhsv(316, 43%, 82%)
CMYKcmyk(0%, 42.6%, 11%, 18%)
CIE-LABlab(62.11, 43.76, -19.76)
CIE-LCHlch(62.11, 48.01, 335.70°)
OKLaboklab(69.09% 0.1271 -0.053)
OKLCHoklch(69.09% 0.138 337.4)
XYZxyz(41.8740, 30.5359, 50.1333)
Luminance0.3053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D178BA #78D18F
analogous
#BC78D1 #D178BA #D1788E
triadic
#D178BA #BAD178 #78BAD1
tetradic
#D178BA #D1BC78 #78D18F #788ED1
square
#D178BA #D1BC78 #78D18F #788ED1
split-complementary
#D178BA #8ED178 #78D1BC
monochromatic
#9A3580 #C14AA3 #D178BA #E1A6D1 #F0D3E9

Accessibility & contrast

On white

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

On black

7.11
#D178BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D178BA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D178BA#FFFFFF#000000##000000
##D178BA1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8EBC
Deuteranopia (green-blind)
#919BB7
Tritanopia (blue-blind)
#DA7B91
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d178ba;
/* rgb */ color: rgb(209, 120, 186);
/* oklch */ color: oklch(69.1% 0.138 337.4);
Tailwind
colors: {
  custom: {
    50: '#e1a1ce',
    500: '#d178ba',
    950: '#000000',
  },
}
SCSS
$custom: #d178ba;
$custom-light: #e1a1ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d178ba",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 315.506,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69094,
    "c": 0.13772,
    "h": 337.4
  },
  "luminance": 0.30533
}

Semantic roles & 50–950 ramp

primary
#D178BA
secondary
#C3E2CB
accent
#BC4F29
background
#FDFAFC
surface
#FBF3F9
border
#D4CDD2
text
#150F13
muted
#837F82

Preview Lab

Preview with #D178BA

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

Preview Lab → · Contrast checker → · Palette generator →

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