#D17F8A#D17F8A

#D17F8A is a light, moderate red. Relative luminance 0.306; OKLCH L 68.6% C 0.102 H 11.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#D17F8A
RGBrgb(209, 127, 138)
HSLhsl(352, 47%, 66%)
HSVhsv(352, 39%, 82%)
CMYKcmyk(0%, 39.2%, 34%, 18%)
CIE-LABlab(62.14, 33.03, 7.68)
CIE-LCHlch(62.14, 33.91, 13.09°)
OKLaboklab(68.64% 0.1002 0.0203)
OKLCHoklch(68.64% 0.102 11.4)
XYZxyz(38.4728, 30.5720, 27.9145)
Luminance0.3057 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17F8A #7FD1C6
analogous
#D17FB3 #D17F8A #D19D7F
triadic
#D17F8A #8AD17F #7F8AD1
tetradic
#D17F8A #B3D17F #7FD1C6 #9D7FD1
square
#D17F8A #B3D17F #7FD1C6 #9D7FD1
split-complementary
#D17F8A #7FD19D #7FB3D1
monochromatic
#9D3846 #C15261 #D17F8A #E1ACB3 #F1D9DC

Accessibility & contrast

On white

2.95
#D17F8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#D17F8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17F8A
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17F8A#FFFFFF#000000##000000
##D17F8A1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8D8A
Deuteranopia (green-blind)
#A29C88
Tritanopia (blue-blind)
#DF7783
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d17f8a;
/* rgb */ color: rgb(209, 127, 138);
/* oklch */ color: oklch(68.6% 0.102 11.4);
Tailwind
colors: {
  custom: {
    50: '#e1a5ac',
    500: '#d17f8a',
    950: '#000000',
  },
}
SCSS
$custom: #d17f8a;
$custom-light: #e1a5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d17f8a",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 351.951,
    "s": 47.126,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68637,
    "c": 0.1022,
    "h": 11.4
  },
  "luminance": 0.30569
}

Semantic roles & 50–950 ramp

primary
#D17F8A
secondary
#C8E3E0
accent
#BAA72B
background
#FEFAFA
surface
#FCF4F4
border
#D5CECE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #D17F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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