#D4797E#D4797E

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

Color values

HEX#D4797E
RGBrgb(212, 121, 126)
HSLhsl(357, 51%, 65%)
HSVhsv(357, 43%, 83%)
CMYKcmyk(0%, 42.9%, 40.6%, 16.9%)
CIE-LABlab(60.94, 35.91, 12.90)
CIE-LCHlch(60.94, 38.16, 19.75°)
OKLaboklab(67.71% 0.1086 0.0333)
OKLCHoklch(67.71% 0.114 17)
XYZxyz(37.7566, 29.1815, 23.3787)
Luminance0.2918 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4797E #79D4CF
analogous
#D479AC #D4797E #D4A179
triadic
#D4797E #7ED479 #797ED4
tetradic
#D4797E #ACD479 #79D4CF #A179D4
square
#D4797E #ACD479 #79D4CF #A179D4
split-complementary
#D4797E #79D4A1 #79ACD4
monochromatic
#9F3339 #C54B51 #D4797E #E3A7AB #F2D6D7

Accessibility & contrast

On white

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

On black

6.84
#D4797E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D4797E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4797E#FFFFFF#000000##000000
##D4797E1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4797e;
/* rgb */ color: rgb(212, 121, 126);
/* oklch */ color: oklch(67.7% 0.114 17.0);
Tailwind
colors: {
  custom: {
    50: '#e4a1a3',
    500: '#d4797e',
    950: '#000000',
  },
}
SCSS
$custom: #d4797e;
$custom-light: #e4a1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d4797e",
  "rgb": {
    "r": 212,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 356.703,
    "s": 51.412,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67707,
    "c": 0.11355,
    "h": 17
  },
  "luminance": 0.29178
}

Semantic roles & 50–950 ramp

primary
#D4797E
secondary
#C5E4E2
accent
#BFB627
background
#FEFAFA
surface
#FDF3F3
border
#D5CDCD
text
#160F0F
muted
#847F7F

Preview Lab

Preview with #D4797E

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

Preview Lab → · Contrast checker → · Palette generator →

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