#D8798E#D8798E

#D8798E is a light, moderate red. Relative luminance 0.302; OKLCH L 68.6% C 0.120 H 6.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#D8798E
RGBrgb(216, 121, 142)
HSLhsl(347, 55%, 66%)
HSVhsv(347, 44%, 85%)
CMYKcmyk(0%, 44%, 34.3%, 15.3%)
CIE-LABlab(61.85, 39.25, 5.09)
CIE-LCHlch(61.85, 39.58, 7.39°)
OKLaboklab(68.64% 0.1191 0.0137)
OKLCHoklch(68.64% 0.12 6.6)
XYZxyz(40.0405, 30.2301, 29.3121)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8798E #79D8C3
analogous
#D879BD #D8798E #D89379
triadic
#D8798E #8ED879 #798ED8
tetradic
#D8798E #BDD879 #79D8C3 #9379D8
square
#D8798E #BDD879 #79D8C3 #9379D8
split-complementary
#D8798E #79D893 #79BDD8
monochromatic
#A6304A #CA4A66 #D8798E #E6A8B6 #F4D8DE

Accessibility & contrast

On white

2.98
#D8798E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#D8798E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8798E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8798E#FFFFFF#000000##000000
##D8798E1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#898A8F
Deuteranopia (green-blind)
#A19C8C
Tritanopia (blue-blind)
#E77180
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d8798e;
/* rgb */ color: rgb(216, 121, 142);
/* oklch */ color: oklch(68.6% 0.120 6.6);
Tailwind
colors: {
  custom: {
    50: '#e7a1af',
    500: '#d8798e',
    950: '#000000',
  },
}
SCSS
$custom: #d8798e;
$custom-light: #e7a1af;
$custom-dark: #000000;
JSON
{
  "hex": "#d8798e",
  "rgb": {
    "r": 216,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 346.737,
    "s": 54.913,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68637,
    "c": 0.11987,
    "h": 6.6
  },
  "luminance": 0.30227
}

Semantic roles & 50–950 ramp

primary
#D8798E
secondary
#C7E6DF
accent
#C29F23
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #D8798E

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

Preview Lab → · Contrast checker → · Palette generator →

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