#DF797F#DF797F

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

Color values

HEX#DF797F
RGBrgb(223, 121, 127)
HSLhsl(356, 61%, 67%)
HSVhsv(356, 46%, 87%)
CMYKcmyk(0%, 45.7%, 43%, 12.5%)
CIE-LABlab(62.42, 40.08, 14.61)
CIE-LCHlch(62.42, 42.66, 20.03°)
OKLaboklab(69.15% 0.121 0.0375)
OKLCHoklch(69.15% 0.127 17.2)
XYZxyz(41.1019, 30.8990, 23.8740)
Luminance0.3090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF797F #79DFD9
analogous
#DF79B2 #DF797F #DFA679
triadic
#DF797F #7FDF79 #797FDF
tetradic
#DF797F #B2DF79 #79DFD9 #A679DF
square
#DF797F #B2DF79 #79DFD9 #A679DF
split-complementary
#DF797F #79DFA6 #79B2DF
monochromatic
#B32B33 #D34850 #DF797F #EBAAAE #F7DCDD

Accessibility & contrast

On white

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

On black

7.18
#DF797F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF797F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF797F#FFFFFF#000000##000000
##DF797F1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8A7F
Deuteranopia (green-blind)
#A79F7D
Tritanopia (blue-blind)
#F06C7C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #df797f;
/* rgb */ color: rgb(223, 121, 127);
/* oklch */ color: oklch(69.1% 0.127 17.2);
Tailwind
colors: {
  custom: {
    50: '#eca1a4',
    500: '#df797f',
    950: '#000000',
  },
}
SCSS
$custom: #df797f;
$custom-light: #eca1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#df797f",
  "rgb": {
    "r": 223,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 356.471,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69145,
    "c": 0.12666,
    "h": 17.2
  },
  "luminance": 0.30895
}

Semantic roles & 50–950 ramp

primary
#DF797F
secondary
#CAEAE8
accent
#C9BF1C
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#170F0F
muted
#857F7F

Preview Lab

Preview with #DF797F

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

Preview Lab → · Contrast checker → · Palette generator →

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