#D5787F#D5787F

#D5787F is a light, moderate red. Relative luminance 0.291; OKLCH L 67.7% C 0.116 H 15.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#D5787F
RGBrgb(213, 120, 127)
HSLhsl(355, 53%, 65%)
HSVhsv(355, 44%, 84%)
CMYKcmyk(0%, 43.7%, 40.4%, 16.5%)
CIE-LABlab(60.88, 36.92, 12.26)
CIE-LCHlch(60.88, 38.90, 18.37°)
OKLaboklab(67.7% 0.1117 0.0317)
OKLCHoklch(67.7% 0.116 15.8)
XYZxyz(37.9898, 29.1148, 23.6935)
Luminance0.2911 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5787F #78D5CE
analogous
#D578AD #D5787F #D59F78
triadic
#D5787F #7FD578 #787FD5
tetradic
#D5787F #ADD578 #78D5CE #9F78D5
square
#D5787F #ADD578 #78D5CE #9F78D5
split-complementary
#D5787F #78D59F #78ADD5
monochromatic
#A1323A #C64953 #D5787F #E4A7AB #F2D5D8

Accessibility & contrast

On white

3.08
#D5787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#D5787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5787F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5787F#FFFFFF#000000##000000
##D5787F1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A887F
Deuteranopia (green-blind)
#A19A7D
Tritanopia (blue-blind)
#E56D7B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d5787f;
/* rgb */ color: rgb(213, 120, 127);
/* oklch */ color: oklch(67.7% 0.116 15.8);
Tailwind
colors: {
  custom: {
    50: '#e5a0a4',
    500: '#d5787f',
    950: '#000000',
  },
}
SCSS
$custom: #d5787f;
$custom-light: #e5a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d5787f",
  "rgb": {
    "r": 213,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 355.484,
    "s": 52.542,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67697,
    "c": 0.11609,
    "h": 15.8
  },
  "luminance": 0.29111
}

Semantic roles & 50–950 ramp

primary
#D5787F
secondary
#C5E4E2
accent
#C0B426
background
#FEFAFA
surface
#FDF3F4
border
#D5CDCE
text
#160F0F
muted
#847F7F

Preview Lab

Preview with #D5787F

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

Preview Lab → · Contrast checker → · Palette generator →

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