#DC797F#DC797F

#DC797F is a light, vivid red. Relative luminance 0.304; OKLCH L 68.8% C 0.123 H 17.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#DC797F
RGBrgb(220, 121, 127)
HSLhsl(356, 59%, 67%)
HSVhsv(356, 45%, 86%)
CMYKcmyk(0%, 45%, 42.3%, 13.7%)
CIE-LABlab(62.02, 38.98, 13.99)
CIE-LCHlch(62.02, 41.41, 19.74°)
OKLaboklab(68.76% 0.1177 0.036)
OKLCHoklch(68.76% 0.123 17)
XYZxyz(40.1856, 30.4265, 23.8311)
Luminance0.3042 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC797F #79DCD6
analogous
#DC79B1 #DC797F #DCA579
triadic
#DC797F #7FDC79 #797FDC
tetradic
#DC797F #B1DC79 #79DCD6 #A579DC
square
#DC797F #B1DC79 #79DCD6 #A579DC
split-complementary
#DC797F #79DCA5 #79B1DC
monochromatic
#AD2D35 #CF4851 #DC797F #E9AAAD #F5DADC

Accessibility & contrast

On white

2.96
#DC797F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#DC797F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC797F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC797F#FFFFFF#000000##000000
##DC797F1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8A7F
Deuteranopia (green-blind)
#A69D7D
Tritanopia (blue-blind)
#ED6D7C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #dc797f;
/* rgb */ color: rgb(220, 121, 127);
/* oklch */ color: oklch(68.8% 0.123 17.0);
Tailwind
colors: {
  custom: {
    50: '#eaa1a4',
    500: '#dc797f',
    950: '#000000',
  },
}
SCSS
$custom: #dc797f;
$custom-light: #eaa1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc797f",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 356.364,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68756,
    "c": 0.12311,
    "h": 17
  },
  "luminance": 0.30423
}

Semantic roles & 50–950 ramp

primary
#DC797F
secondary
#C9E8E6
accent
#C6BC1F
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#170F0F
muted
#857F7F

Preview Lab

Preview with #DC797F

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

Preview Lab → · Contrast checker → · Palette generator →

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