#DC797C#DC797C

#DC797C is a light, vivid red. Relative luminance 0.303; OKLCH L 68.7% C 0.123 H 18.9°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#DC797C
RGBrgb(220, 121, 124)
HSLhsl(358, 59%, 67%)
HSVhsv(358, 45%, 86%)
CMYKcmyk(0%, 45%, 43.6%, 13.7%)
CIE-LABlab(61.95, 38.66, 15.61)
CIE-LCHlch(61.95, 41.69, 21.99°)
OKLaboklab(68.68% 0.1166 0.0399)
OKLCHoklch(68.68% 0.123 18.9)
XYZxyz(39.9930, 30.3494, 22.8167)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC797C #79DCD9
analogous
#DC79AE #DC797C #DCA879
triadic
#DC797C #7CDC79 #797CDC
tetradic
#DC797C #AEDC79 #79DCD9 #A879DC
square
#DC797C #AEDC79 #79DCD9 #A879DC
split-complementary
#DC797C #79DCA8 #79AEDC
monochromatic
#AD2D31 #CF484D #DC797C #E9AAAB #F5DADB

Accessibility & contrast

On white

2.97
#DC797C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#DC797C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC797C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC797C#FFFFFF#000000##000000
##DC797C1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8A7C
Deuteranopia (green-blind)
#A69D7A
Tritanopia (blue-blind)
#ED6D7B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #dc797c;
/* rgb */ color: rgb(220, 121, 124);
/* oklch */ color: oklch(68.7% 0.123 18.9);
Tailwind
colors: {
  custom: {
    50: '#eaa1a1',
    500: '#dc797c',
    950: '#000000',
  },
}
SCSS
$custom: #dc797c;
$custom-light: #eaa1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc797c",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 358.182,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68684,
    "c": 0.1232,
    "h": 18.9
  },
  "luminance": 0.30346
}

Semantic roles & 50–950 ramp

primary
#DC797C
secondary
#C9E8E7
accent
#C6C11F
background
#FEFAF9
surface
#FDF3F2
border
#D5CDCC
text
#170F0F
muted
#857F7E

Preview Lab

Preview with #DC797C

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

Preview Lab → · Contrast checker → · Palette generator →

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