#D1817F#D1817F

#D1817F is a light, moderate red. Relative luminance 0.308; OKLCH L 68.7% C 0.100 H 21.5°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#D1817F
RGBrgb(209, 129, 127)
HSLhsl(1, 47%, 66%)
HSVhsv(1, 39%, 82%)
CMYKcmyk(0%, 38.3%, 39.2%, 18%)
CIE-LABlab(62.33, 30.64, 14.21)
CIE-LCHlch(62.33, 33.77, 24.88°)
OKLaboklab(68.69% 0.0926 0.0365)
OKLCHoklch(68.69% 0.1 21.5)
XYZxyz(37.9773, 30.7912, 24.0177)
Luminance0.3079 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1817F #7FCFD1
analogous
#D17FA6 #D1817F #D1AA7F
triadic
#D1817F #7FD181 #817FD1
tetradic
#D1817F #A6D17F #7FCFD1 #AA7FD1
square
#D1817F #A6D17F #7FCFD1 #AA7FD1
split-complementary
#D1817F #7FD1AA #7FA6D1
monochromatic
#9D3B38 #C15552 #D1817F #E1ADAC #F1DAD9

Accessibility & contrast

On white

2.93
#D1817F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#D1817F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1817F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1817F#FFFFFF#000000##000000
##D1817F1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918D7E
Deuteranopia (green-blind)
#A59D7E
Tritanopia (blue-blind)
#E07781
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d1817f;
/* rgb */ color: rgb(209, 129, 127);
/* oklch */ color: oklch(68.7% 0.100 21.5);
Tailwind
colors: {
  custom: {
    50: '#e1a6a4',
    500: '#d1817f',
    950: '#000000',
  },
}
SCSS
$custom: #d1817f;
$custom-light: #e1a6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d1817f",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 127
  },
  "hsl": {
    "h": 1.463,
    "s": 47.126,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68695,
    "c": 0.09956,
    "h": 21.5
  },
  "luminance": 0.30788
}

Semantic roles & 50–950 ramp

primary
#D1817F
secondary
#C8E3E3
accent
#B7BA2B
background
#FEFAFA
surface
#FCF4F4
border
#D5CECE
text
#160F0F
muted
#847F7F

Preview Lab

Preview with #D1817F

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

Preview Lab → · Contrast checker → · Palette generator →

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