#D1787F#D1787F

#D1787F is a light, moderate red. Relative luminance 0.285; OKLCH L 67.2% C 0.111 H 15.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#D1787F
RGBrgb(209, 120, 127)
HSLhsl(355, 49%, 65%)
HSVhsv(355, 43%, 82%)
CMYKcmyk(0%, 42.6%, 39.2%, 18%)
CIE-LABlab(60.36, 35.43, 11.45)
CIE-LCHlch(60.36, 37.24, 17.90°)
OKLaboklab(67.19% 0.1073 0.0297)
OKLCHoklch(67.19% 0.111 15.5)
XYZxyz(36.8436, 28.5238, 23.6398)
Luminance0.2852 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1787F #78D1CA
analogous
#D178AC #D1787F #D19E78
triadic
#D1787F #7FD178 #787FD1
tetradic
#D1787F #ACD178 #78D1CA #9E78D1
square
#D1787F #ACD178 #78D1CA #9E78D1
split-complementary
#D1787F #78D19E #78ACD1
monochromatic
#9A353C #C14A54 #D1787F #E1A6AA #F0D3D6

Accessibility & contrast

On white

3.13
#D1787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#D1787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1787F
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1787F#FFFFFF#000000##000000
##D1787F1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89877F
Deuteranopia (green-blind)
#9F987D
Tritanopia (blue-blind)
#E06E7B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d1787f;
/* rgb */ color: rgb(209, 120, 127);
/* oklch */ color: oklch(67.2% 0.111 15.5);
Tailwind
colors: {
  custom: {
    50: '#e2a0a4',
    500: '#d1787f',
    950: '#000000',
  },
}
SCSS
$custom: #d1787f;
$custom-light: #e2a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d1787f",
  "rgb": {
    "r": 209,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 355.281,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67188,
    "c": 0.11129,
    "h": 15.5
  },
  "luminance": 0.28521
}

Semantic roles & 50–950 ramp

primary
#D1787F
secondary
#C3E2DF
accent
#BCB129
background
#FEF9FA
surface
#FCF2F4
border
#D5CCCE
text
#160F0F
muted
#847E7F

Preview Lab

Preview with #D1787F

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

Preview Lab → · Contrast checker → · Palette generator →

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