#D4787F#D4787F

#D4787F is a light, moderate red. Relative luminance 0.290; OKLCH L 67.6% C 0.115 H 15.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#D4787F
RGBrgb(212, 120, 127)
HSLhsl(355, 52%, 65%)
HSVhsv(355, 43%, 83%)
CMYKcmyk(0%, 43.4%, 40.1%, 16.9%)
CIE-LABlab(60.75, 36.55, 12.06)
CIE-LCHlch(60.75, 38.48, 18.26°)
OKLaboklab(67.57% 0.1106 0.0312)
OKLCHoklch(67.57% 0.115 15.8)
XYZxyz(37.7006, 28.9657, 23.6799)
Luminance0.2896 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4787F #78D4CD
analogous
#D478AD #D4787F #D49F78
triadic
#D4787F #7FD478 #787FD4
tetradic
#D4787F #ADD478 #78D4CD #9F78D4
square
#D4787F #ADD478 #78D4CD #9F78D4
split-complementary
#D4787F #78D49F #78ADD4
monochromatic
#9F333B #C54A53 #D4787F #E3A6AB #F2D5D7

Accessibility & contrast

On white

3.09
#D4787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#D4787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D4787F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4787F#FFFFFF#000000##000000
##D4787F1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A877F
Deuteranopia (green-blind)
#A1997D
Tritanopia (blue-blind)
#E46E7B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d4787f;
/* rgb */ color: rgb(212, 120, 127);
/* oklch */ color: oklch(67.6% 0.115 15.8);
Tailwind
colors: {
  custom: {
    50: '#e4a0a4',
    500: '#d4787f',
    950: '#000000',
  },
}
SCSS
$custom: #d4787f;
$custom-light: #e4a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d4787f",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 355.435,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67569,
    "c": 0.11489,
    "h": 15.8
  },
  "luminance": 0.28962
}

Semantic roles & 50–950 ramp

primary
#D4787F
secondary
#C4E3E1
accent
#BFB326
background
#FEFAFA
surface
#FDF3F4
border
#D5CDCE
text
#160F0F
muted
#847F7F

Preview Lab

Preview with #D4787F

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

Preview Lab → · Contrast checker → · Palette generator →

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