#D17F87#D17F87

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

Color values

HEX#D17F87
RGBrgb(209, 127, 135)
HSLhsl(354, 47%, 66%)
HSVhsv(354, 39%, 82%)
CMYKcmyk(0%, 39.2%, 35.4%, 18%)
CIE-LABlab(62.07, 32.66, 9.29)
CIE-LCHlch(62.07, 33.96, 15.87°)
OKLaboklab(68.56% 0.099 0.0243)
OKLCHoklch(68.56% 0.102 13.8)
XYZxyz(38.2586, 30.4864, 26.7864)
Luminance0.3048 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17F87 #7FD1C9
analogous
#D17FB0 #D17F87 #D1A07F
triadic
#D17F87 #87D17F #7F87D1
tetradic
#D17F87 #B0D17F #7FD1C9 #A07FD1
square
#D17F87 #B0D17F #7FD1C9 #A07FD1
split-complementary
#D17F87 #7FD1A0 #7FB0D1
monochromatic
#9D3842 #C1525D #D17F87 #E1ACB1 #F1D9DB

Accessibility & contrast

On white

2.96
#D17F87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#D17F87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17F87
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17F87#FFFFFF#000000##000000
##D17F871.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8C87
Deuteranopia (green-blind)
#A29C85
Tritanopia (blue-blind)
#DF7782
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d17f87;
/* rgb */ color: rgb(209, 127, 135);
/* oklch */ color: oklch(68.6% 0.102 13.8);
Tailwind
colors: {
  custom: {
    50: '#e1a5a9',
    500: '#d17f87',
    950: '#000000',
  },
}
SCSS
$custom: #d17f87;
$custom-light: #e1a5a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d17f87",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 135
  },
  "hsl": {
    "h": 354.146,
    "s": 47.126,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68557,
    "c": 0.10196,
    "h": 13.8
  },
  "luminance": 0.30483
}

Semantic roles & 50–950 ramp

primary
#D17F87
secondary
#C8E3E1
accent
#BAAC2B
background
#FEFAFA
surface
#FCF4F4
border
#D5CECE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #D17F87

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

Preview Lab → · Contrast checker → · Palette generator →

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