#D4797D#D4797D

#D4797D is a light, moderate red. Relative luminance 0.292; OKLCH L 67.7% C 0.114 H 17.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#D4797D
RGBrgb(212, 121, 125)
HSLhsl(357, 51%, 65%)
HSVhsv(357, 43%, 83%)
CMYKcmyk(0%, 42.9%, 41%, 16.9%)
CIE-LABlab(60.92, 35.80, 13.44)
CIE-LCHlch(60.92, 38.24, 20.57°)
OKLaboklab(67.68% 0.1082 0.0346)
OKLCHoklch(67.68% 0.114 17.7)
XYZxyz(37.6924, 29.1558, 23.0406)
Luminance0.2915 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4797D #79D4D0
analogous
#D479AA #D4797D #D4A379
triadic
#D4797D #7DD479 #797DD4
tetradic
#D4797D #AAD479 #79D4D0 #A379D4
square
#D4797D #AAD479 #79D4D0 #A379D4
split-complementary
#D4797D #79D4A3 #79AAD4
monochromatic
#9F3338 #C54B50 #D4797D #E3A7AA #F2D6D7

Accessibility & contrast

On white

3.07
#D4797D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#D4797D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D4797D
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4797D#FFFFFF#000000##000000
##D4797D1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B887D
Deuteranopia (green-blind)
#A29A7B
Tritanopia (blue-blind)
#E46E7B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d4797d;
/* rgb */ color: rgb(212, 121, 125);
/* oklch */ color: oklch(67.7% 0.114 17.7);
Tailwind
colors: {
  custom: {
    50: '#e4a1a2',
    500: '#d4797d',
    950: '#000000',
  },
}
SCSS
$custom: #d4797d;
$custom-light: #e4a1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d4797d",
  "rgb": {
    "r": 212,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 357.363,
    "s": 51.412,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67682,
    "c": 0.11357,
    "h": 17.7
  },
  "luminance": 0.29152
}

Semantic roles & 50–950 ramp

primary
#D4797D
secondary
#C5E4E2
accent
#BFB827
background
#FEFAF9
surface
#FDF3F2
border
#D5CDCC
text
#160F0F
muted
#847F7E

Preview Lab

Preview with #D4797D

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

Preview Lab → · Contrast checker → · Palette generator →

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