#D7817A#D7817A

#D7817A is a light, moderate red. Relative luminance 0.316; OKLCH L 69.3% C 0.108 H 25.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#D7817A
RGBrgb(215, 129, 122)
HSLhsl(5, 54%, 66%)
HSVhsv(5, 43%, 84%)
CMYKcmyk(0%, 40%, 43.3%, 15.7%)
CIE-LABlab(62.97, 32.37, 18.05)
CIE-LCHlch(62.97, 37.07, 29.15°)
OKLaboklab(69.31% 0.0974 0.0458)
OKLCHoklch(69.31% 0.108 25.2)
XYZxyz(39.3895, 31.5561, 22.4250)
Luminance0.3155 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7817A #7AD0D7
analogous
#D77AA1 #D7817A #D7AF7A
triadic
#D7817A #7AD781 #817AD7
tetradic
#D7817A #A1D77A #7AD0D7 #AF7AD7
square
#D7817A #A1D77A #7AD0D7 #AF7AD7
split-complementary
#D7817A #7AD7AF #7AA1D7
monochromatic
#A53A32 #C9544B #D7817A #E5AEA9 #F3DAD8

Accessibility & contrast

On white

2.87
#D7817A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#D7817A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7817A
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7817A#FFFFFF#000000##000000
##D7817A1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948E79
Deuteranopia (green-blind)
#A99F79
Tritanopia (blue-blind)
#E77680
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d7817a;
/* rgb */ color: rgb(215, 129, 122);
/* oklch */ color: oklch(69.3% 0.108 25.2);
Tailwind
colors: {
  custom: {
    50: '#e6a6a0',
    500: '#d7817a',
    950: '#000000',
  },
}
SCSS
$custom: #d7817a;
$custom-light: #e6a6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d7817a",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 122
  },
  "hsl": {
    "h": 4.516,
    "s": 53.757,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69313,
    "c": 0.10761,
    "h": 25.2
  },
  "luminance": 0.31553
}

Semantic roles & 50–950 ramp

primary
#D7817A
secondary
#C7E3E6
accent
#B5C124
background
#FEFAF9
surface
#FDF4F2
border
#D5CECC
text
#160F0E
muted
#847F7E

Preview Lab

Preview with #D7817A

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

Preview Lab → · Contrast checker → · Palette generator →

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