#D9788D#D9788D

#D9788D is a light, vivid red. Relative luminance 0.301; OKLCH L 68.6% C 0.122 H 7.0°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#D9788D
RGBrgb(217, 120, 141)
HSLhsl(347, 56%, 66%)
HSVhsv(347, 45%, 85%)
CMYKcmyk(0%, 44.7%, 35%, 14.9%)
CIE-LABlab(61.75, 40.01, 5.53)
CIE-LCHlch(61.75, 40.39, 7.87°)
OKLaboklab(68.58% 0.1214 0.0148)
OKLCHoklch(68.58% 0.122 7)
XYZxyz(40.1413, 30.1112, 28.8921)
Luminance0.3011 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9788D #78D9C4
analogous
#D978BD #D9788D #D99378
triadic
#D9788D #8DD978 #788DD9
tetradic
#D9788D #BDD978 #78D9C4 #9378D9
square
#D9788D #BDD978 #78D9C4 #9378D9
split-complementary
#D9788D #78D993 #78BDD9
monochromatic
#A72F49 #CC4865 #D9788D #E6A8B5 #F4D8DE

Accessibility & contrast

On white

2.99
#D9788D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#D9788D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9788D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9788D#FFFFFF#000000##000000
##D9788D1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#898A8E
Deuteranopia (green-blind)
#A19C8B
Tritanopia (blue-blind)
#E86F80
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d9788d;
/* rgb */ color: rgb(217, 120, 141);
/* oklch */ color: oklch(68.6% 0.122 7.0);
Tailwind
colors: {
  custom: {
    50: '#e7a1ae',
    500: '#d9788d',
    950: '#000000',
  },
}
SCSS
$custom: #d9788d;
$custom-light: #e7a1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d9788d",
  "rgb": {
    "r": 217,
    "g": 120,
    "b": 141
  },
  "hsl": {
    "h": 347.01,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68578,
    "c": 0.12229,
    "h": 7
  },
  "luminance": 0.30108
}

Semantic roles & 50–950 ramp

primary
#D9788D
secondary
#C6E6DF
accent
#C4A122
background
#FEFAFA
surface
#FDF3F4
border
#D5CDCE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #D9788D

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

Preview Lab → · Contrast checker → · Palette generator →

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