#D1817C#D1817C

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

Color values

HEX#D1817C
RGBrgb(209, 129, 124)
HSLhsl(4, 48%, 65%)
HSVhsv(4, 41%, 82%)
CMYKcmyk(0%, 38.3%, 40.7%, 18%)
CIE-LABlab(62.27, 30.29, 15.82)
CIE-LCHlch(62.27, 34.18, 27.58°)
OKLaboklab(68.62% 0.0914 0.0404)
OKLCHoklch(68.62% 0.1 23.9)
XYZxyz(37.7847, 30.7142, 23.0033)
Luminance0.3071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1817C #7CCCD1
analogous
#D17CA2 #D1817C #D1AB7C
triadic
#D1817C #7CD181 #817CD1
tetradic
#D1817C #A2D17C #7CCCD1 #AB7CD1
square
#D1817C #A2D17C #7CCCD1 #AB7CD1
split-complementary
#D1817C #7CD1AB #7CA2D1
monochromatic
#9C3D37 #C1554F #D1817C #E1ADA9 #F1D8D7

Accessibility & contrast

On white

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

On black

7.14
#D1817C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1817C
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1817C#FFFFFF#000000##000000
##D1817C1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928D7B
Deuteranopia (green-blind)
#A59D7B
Tritanopia (blue-blind)
#E07780
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d1817c;
/* rgb */ color: rgb(209, 129, 124);
/* oklch */ color: oklch(68.6% 0.100 23.9);
Tailwind
colors: {
  custom: {
    50: '#e2a6a1',
    500: '#d1817c',
    950: '#000000',
  },
}
SCSS
$custom: #d1817c;
$custom-light: #e2a6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d1817c",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 124
  },
  "hsl": {
    "h": 3.529,
    "s": 48.023,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68624,
    "c": 0.09997,
    "h": 23.9
  },
  "luminance": 0.30711
}

Semantic roles & 50–950 ramp

primary
#D1817C
secondary
#C6E1E3
accent
#B3BB2A
background
#FEFAF9
surface
#FCF4F2
border
#D5CECC
text
#160F0F
muted
#847F7E

Preview Lab

Preview with #D1817C

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

Preview Lab → · Contrast checker → · Palette generator →

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