#DF797E#DF797E

#DF797E is a light, vivid red. Relative luminance 0.309; OKLCH L 69.1% C 0.127 H 17.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#DF797E
RGBrgb(223, 121, 126)
HSLhsl(357, 61%, 67%)
HSVhsv(357, 46%, 87%)
CMYKcmyk(0%, 45.7%, 43.5%, 12.5%)
CIE-LABlab(62.40, 39.97, 15.15)
CIE-LCHlch(62.40, 42.75, 20.76°)
OKLaboklab(69.12% 0.1206 0.0388)
OKLCHoklch(69.12% 0.127 17.8)
XYZxyz(41.0371, 30.8730, 23.5325)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF797E #79DFDA
analogous
#DF79B1 #DF797E #DFA779
triadic
#DF797E #7EDF79 #797EDF
tetradic
#DF797E #B1DF79 #79DFDA #A779DF
square
#DF797E #B1DF79 #79DFDA #A779DF
split-complementary
#DF797E #79DFA7 #79B1DF
monochromatic
#B32B31 #D3484E #DF797E #EBAAAE #F7DCDD

Accessibility & contrast

On white

2.93
#DF797E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#DF797E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF797E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF797E#FFFFFF#000000##000000
##DF797E1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8A7E
Deuteranopia (green-blind)
#A79F7C
Tritanopia (blue-blind)
#F06C7B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #df797e;
/* rgb */ color: rgb(223, 121, 126);
/* oklch */ color: oklch(69.1% 0.127 17.8);
Tailwind
colors: {
  custom: {
    50: '#eca1a3',
    500: '#df797e',
    950: '#000000',
  },
}
SCSS
$custom: #df797e;
$custom-light: #eca1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#df797e",
  "rgb": {
    "r": 223,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 357.059,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69121,
    "c": 0.12668,
    "h": 17.8
  },
  "luminance": 0.30869
}

Semantic roles & 50–950 ramp

primary
#DF797E
secondary
#CAEAE8
accent
#C9C11C
background
#FEFAFA
surface
#FDF4F3
border
#D5CECD
text
#170F0F
muted
#857F7F

Preview Lab

Preview with #DF797E

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

Preview Lab → · Contrast checker → · Palette generator →

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