#D1817D#D1817D

#D1817D is a light, moderate red. Relative luminance 0.307; OKLCH L 68.6% C 0.100 H 23.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#D1817D
RGBrgb(209, 129, 125)
HSLhsl(3, 48%, 65%)
HSVhsv(3, 40%, 82%)
CMYKcmyk(0%, 38.3%, 40.2%, 18%)
CIE-LABlab(62.29, 30.41, 15.29)
CIE-LCHlch(62.29, 34.03, 26.69°)
OKLaboklab(68.65% 0.0918 0.0391)
OKLCHoklch(68.65% 0.1 23.1)
XYZxyz(37.8482, 30.7396, 23.3380)
Luminance0.3074 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1817D #7DCDD1
analogous
#D17DA3 #D1817D #D1AB7D
triadic
#D1817D #7DD181 #817DD1
tetradic
#D1817D #A3D17D #7DCDD1 #AB7DD1
square
#D1817D #A3D17D #7DCDD1 #AB7DD1
split-complementary
#D1817D #7DD1AB #7DA3D1
monochromatic
#9C3C37 #C15550 #D1817D #E1ADAA #F1D9D7

Accessibility & contrast

On white

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

On black

7.15
#D1817D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1817D
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1817D#FFFFFF#000000##000000
##D1817D1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928D7C
Deuteranopia (green-blind)
#A59D7C
Tritanopia (blue-blind)
#E07780
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d1817d;
/* rgb */ color: rgb(209, 129, 125);
/* oklch */ color: oklch(68.6% 0.100 23.1);
Tailwind
colors: {
  custom: {
    50: '#e2a6a2',
    500: '#d1817d',
    950: '#000000',
  },
}
SCSS
$custom: #d1817d;
$custom-light: #e2a6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d1817d",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 125
  },
  "hsl": {
    "h": 2.857,
    "s": 47.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68647,
    "c": 0.09982,
    "h": 23.1
  },
  "luminance": 0.30736
}

Semantic roles & 50–950 ramp

primary
#D1817D
secondary
#C7E2E3
accent
#B4BB2B
background
#FEFAF9
surface
#FCF4F2
border
#D5CECC
text
#160F0F
muted
#847F7E

Preview Lab

Preview with #D1817D

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

Preview Lab → · Contrast checker → · Palette generator →

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