#D17F8D#D17F8D

#D17F8D is a light, moderate red. Relative luminance 0.307; OKLCH L 68.7% C 0.103 H 9.1°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#D17F8D
RGBrgb(209, 127, 141)
HSLhsl(350, 47%, 66%)
HSVhsv(350, 39%, 82%)
CMYKcmyk(0%, 39.2%, 32.5%, 18%)
CIE-LABlab(62.22, 33.41, 6.07)
CIE-LCHlch(62.22, 33.96, 10.30°)
OKLaboklab(68.72% 0.1013 0.0162)
OKLCHoklch(68.72% 0.103 9.1)
XYZxyz(38.6930, 30.6601, 29.0742)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17F8D #7FD1C3
analogous
#D17FB6 #D17F8D #D19A7F
triadic
#D17F8D #8DD17F #7F8DD1
tetradic
#D17F8D #B6D17F #7FD1C3 #9A7FD1
square
#D17F8D #B6D17F #7FD1C3 #9A7FD1
split-complementary
#D17F8D #7FD19A #7FB6D1
monochromatic
#9D384A #C15265 #D17F8D #E1ACB5 #F1D9DD

Accessibility & contrast

On white

2.94
#D17F8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#D17F8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17F8D
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17F8D#FFFFFF#000000##000000
##D17F8D1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8D8D
Deuteranopia (green-blind)
#A19C8B
Tritanopia (blue-blind)
#DF7884
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d17f8d;
/* rgb */ color: rgb(209, 127, 141);
/* oklch */ color: oklch(68.7% 0.103 9.1);
Tailwind
colors: {
  custom: {
    50: '#e1a5ae',
    500: '#d17f8d',
    950: '#000000',
  },
}
SCSS
$custom: #d17f8d;
$custom-light: #e1a5ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d17f8d",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 141
  },
  "hsl": {
    "h": 349.756,
    "s": 47.126,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68719,
    "c": 0.1026,
    "h": 9.1
  },
  "luminance": 0.30657
}

Semantic roles & 50–950 ramp

primary
#D17F8D
secondary
#C8E3DF
accent
#BAA22B
background
#FEFAFA
surface
#FCF4F4
border
#D5CECE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #D17F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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