#DC797E#DC797E

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

Color values

HEX#DC797E
RGBrgb(220, 121, 126)
HSLhsl(357, 59%, 67%)
HSVhsv(357, 45%, 86%)
CMYKcmyk(0%, 45%, 42.7%, 13.7%)
CIE-LABlab(62.00, 38.87, 14.53)
CIE-LCHlch(62.00, 41.50, 20.49°)
OKLaboklab(68.73% 0.1174 0.0373)
OKLCHoklch(68.73% 0.123 17.6)
XYZxyz(40.1207, 30.4005, 23.4895)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC797E #79DCD7
analogous
#DC79B0 #DC797E #DCA679
triadic
#DC797E #7EDC79 #797EDC
tetradic
#DC797E #B0DC79 #79DCD7 #A679DC
square
#DC797E #B0DC79 #79DCD7 #A679DC
split-complementary
#DC797E #79DCA6 #79B0DC
monochromatic
#AD2D34 #CF484F #DC797E #E9AAAD #F5DADB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC797E#FFFFFF#000000##000000
##DC797E1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc797e;
/* rgb */ color: rgb(220, 121, 126);
/* oklch */ color: oklch(68.7% 0.123 17.6);
Tailwind
colors: {
  custom: {
    50: '#eaa1a3',
    500: '#dc797e',
    950: '#000000',
  },
}
SCSS
$custom: #dc797e;
$custom-light: #eaa1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc797e",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 356.97,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68732,
    "c": 0.12312,
    "h": 17.6
  },
  "luminance": 0.30397
}

Semantic roles & 50–950 ramp

primary
#DC797E
secondary
#C9E8E7
accent
#C6BE1F
background
#FEFAFA
surface
#FDF4F3
border
#D5CECD
text
#170F0F
muted
#857F7F

Preview Lab

Preview with #DC797E

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

Preview Lab → · Contrast checker → · Palette generator →

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