#DC797D#DC797D

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

Color values

HEX#DC797D
RGBrgb(220, 121, 125)
HSLhsl(358, 59%, 67%)
HSVhsv(358, 45%, 86%)
CMYKcmyk(0%, 45%, 43.2%, 13.7%)
CIE-LABlab(61.98, 38.77, 15.07)
CIE-LCHlch(61.98, 41.59, 21.24°)
OKLaboklab(68.71% 0.117 0.0386)
OKLCHoklch(68.71% 0.123 18.3)
XYZxyz(40.0565, 30.3748, 23.1514)
Luminance0.3037 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC797D #79DCD8
analogous
#DC79AF #DC797D #DCA779
triadic
#DC797D #7DDC79 #797DDC
tetradic
#DC797D #AFDC79 #79DCD8 #A779DC
square
#DC797D #AFDC79 #79DCD8 #A779DC
split-complementary
#DC797D #79DCA7 #79AFDC
monochromatic
#AD2D32 #CF484E #DC797D #E9AAAC #F5DADB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC797D#FFFFFF#000000##000000
##DC797D1.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)
#8D8A7D
Deuteranopia (green-blind)
#A69D7B
Tritanopia (blue-blind)
#ED6D7B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #dc797d;
/* rgb */ color: rgb(220, 121, 125);
/* oklch */ color: oklch(68.7% 0.123 18.3);
Tailwind
colors: {
  custom: {
    50: '#eaa1a2',
    500: '#dc797d',
    950: '#000000',
  },
}
SCSS
$custom: #dc797d;
$custom-light: #eaa1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc797d",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 357.576,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68708,
    "c": 0.12316,
    "h": 18.3
  },
  "luminance": 0.30371
}

Semantic roles & 50–950 ramp

primary
#DC797D
secondary
#C9E8E7
accent
#C6BF1F
background
#FEFAF9
surface
#FDF4F2
border
#D5CECC
text
#170F0F
muted
#857F7E

Preview Lab

Preview with #DC797D

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

Preview Lab → · Contrast checker → · Palette generator →

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