#D9789F#D9789F

#D9789F is a light, vivid pink. Relative luminance 0.307; OKLCH L 69.1% C 0.128 H 355.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#D9789F
RGBrgb(217, 120, 159)
HSLhsl(336, 56%, 66%)
HSVhsv(336, 45%, 85%)
CMYKcmyk(0%, 44.7%, 26.7%, 14.9%)
CIE-LABlab(62.25, 42.33, -4.06)
CIE-LCHlch(62.25, 42.52, 354.52°)
OKLaboklab(69.12% 0.1278 -0.0102)
OKLCHoklch(69.12% 0.128 355.5)
XYZxyz(41.5910, 30.6912, 36.5276)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9789F #78D9B2
analogous
#D978CF #D9789F #D98178
triadic
#D9789F #9FD978 #789FD9
tetradic
#D9789F #CFD978 #78D9B2 #8178D9
square
#D9789F #CFD978 #78D9B2 #8178D9
split-complementary
#D9789F #78D981 #78CFD9
monochromatic
#A72F60 #CC487D #D9789F #E6A8C1 #F4D8E3

Accessibility & contrast

On white

2.94
#D9789F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#D9789F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9789F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9789F#FFFFFF#000000##000000
##D9789F1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#848CA0
Deuteranopia (green-blind)
#9D9D9D
Tritanopia (blue-blind)
#E67386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d9789f;
/* rgb */ color: rgb(217, 120, 159);
/* oklch */ color: oklch(69.1% 0.128 355.5);
Tailwind
colors: {
  custom: {
    50: '#e7a1bb',
    500: '#d9789f',
    950: '#000000',
  },
}
SCSS
$custom: #d9789f;
$custom-light: #e7a1bb;
$custom-dark: #000000;
JSON
{
  "hex": "#d9789f",
  "rgb": {
    "r": 217,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 335.876,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69117,
    "c": 0.12818,
    "h": 355.5
  },
  "luminance": 0.30688
}

Semantic roles & 50–950 ramp

primary
#D9789F
secondary
#C6E6DA
accent
#C48322
background
#FEFAFB
surface
#FDF3F6
border
#D5CDD0
text
#160F11
muted
#847F80

Preview Lab

Preview with #D9789F

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

Preview Lab → · Contrast checker → · Palette generator →

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