#D1797E#D1797E

#D1797E is a light, moderate red. Relative luminance 0.287; OKLCH L 67.3% C 0.110 H 16.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#D1797E
RGBrgb(209, 121, 126)
HSLhsl(357, 49%, 65%)
HSVhsv(357, 42%, 82%)
CMYKcmyk(0%, 42.1%, 39.7%, 18%)
CIE-LABlab(60.55, 34.79, 12.29)
CIE-LCHlch(60.55, 36.90, 19.46°)
OKLaboklab(67.33% 0.1053 0.0318)
OKLCHoklch(67.33% 0.11 16.8)
XYZxyz(36.8996, 28.7396, 23.3385)
Luminance0.2874 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1797E #79D1CC
analogous
#D179AA #D1797E #D1A079
triadic
#D1797E #7ED179 #797ED1
tetradic
#D1797E #AAD179 #79D1CC #A079D1
square
#D1797E #AAD179 #79D1CC #A079D1
split-complementary
#D1797E #79D1A0 #79AAD1
monochromatic
#9B353B #C14B52 #D1797E #E1A7AA #F0D4D6

Accessibility & contrast

On white

3.11
#D1797E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#D1797E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1797E
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1797E#FFFFFF#000000##000000
##D1797E1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A877E
Deuteranopia (green-blind)
#A0997C
Tritanopia (blue-blind)
#E06F7B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d1797e;
/* rgb */ color: rgb(209, 121, 126);
/* oklch */ color: oklch(67.3% 0.110 16.8);
Tailwind
colors: {
  custom: {
    50: '#e2a1a3',
    500: '#d1797e',
    950: '#000000',
  },
}
SCSS
$custom: #d1797e;
$custom-light: #e2a1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d1797e",
  "rgb": {
    "r": 209,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 356.591,
    "s": 48.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67327,
    "c": 0.10994,
    "h": 16.8
  },
  "luminance": 0.28736
}

Semantic roles & 50–950 ramp

primary
#D1797E
secondary
#C4E2E0
accent
#BCB429
background
#FEFAFA
surface
#FCF3F3
border
#D5CDCD
text
#160F0F
muted
#847F7F

Preview Lab

Preview with #D1797E

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

Preview Lab → · Contrast checker → · Palette generator →

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