#D17F7E#D17F7E

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

Color values

HEX#D17F7E
RGBrgb(209, 127, 126)
HSLhsl(1, 47%, 66%)
HSVhsv(1, 40%, 82%)
CMYKcmyk(0%, 39.2%, 39.7%, 18%)
CIE-LABlab(61.86, 31.59, 14.13)
CIE-LCHlch(61.86, 34.61, 24.09°)
OKLaboklab(68.33% 0.0955 0.0363)
OKLCHoklch(68.33% 0.102 20.8)
XYZxyz(37.6515, 30.2435, 23.5892)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17F7E #7ED0D1
analogous
#D17EA6 #D17F7E #D1A87E
triadic
#D17F7E #7ED17F #7F7ED1
tetradic
#D17F7E #A6D17E #7ED0D1 #A87ED1
square
#D17F7E #A6D17E #7ED0D1 #A87ED1
split-complementary
#D17F7E #7ED1A8 #7EA6D1
monochromatic
#9D3938 #C15251 #D17F7E #E1ACAB #F1D9D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D17F7E#FFFFFF#000000##000000
##D17F7E1.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)
#908C7D
Deuteranopia (green-blind)
#A49C7D
Tritanopia (blue-blind)
#E0757F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d17f7e;
/* rgb */ color: rgb(209, 127, 126);
/* oklch */ color: oklch(68.3% 0.102 20.8);
Tailwind
colors: {
  custom: {
    50: '#e2a5a3',
    500: '#d17f7e',
    950: '#000000',
  },
}
SCSS
$custom: #d17f7e;
$custom-light: #e2a5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d17f7e",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 126
  },
  "hsl": {
    "h": 0.723,
    "s": 47.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6833,
    "c": 0.10216,
    "h": 20.8
  },
  "luminance": 0.3024
}

Semantic roles & 50–950 ramp

primary
#D17F7E
secondary
#C8E3E3
accent
#B9BB2B
background
#FEFAFA
surface
#FCF4F3
border
#D5CECD
text
#160F0F
muted
#847F7F

Preview Lab

Preview with #D17F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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