#DC798E#DC798E

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

Color values

HEX#DC798E
RGBrgb(220, 121, 142)
HSLhsl(347, 59%, 67%)
HSVhsv(347, 45%, 86%)
CMYKcmyk(0%, 45%, 35.5%, 13.7%)
CIE-LABlab(62.38, 40.68, 5.91)
CIE-LCHlch(62.38, 41.11, 8.27°)
OKLaboklab(69.15% 0.1234 0.0158)
OKLCHoklch(69.15% 0.124 7.3)
XYZxyz(41.2369, 30.8470, 29.3682)
Luminance0.3084 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC798E #79DCC7
analogous
#DC79C0 #DC798E #DC9679
triadic
#DC798E #8EDC79 #798EDC
tetradic
#DC798E #C0DC79 #79DCC7 #9679DC
square
#DC798E #C0DC79 #79DCC7 #9679DC
split-complementary
#DC798E #79DC96 #79C0DC
monochromatic
#AD2D48 #CF4865 #DC798E #E9AAB7 #F5DAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC798E#FFFFFF#000000##000000
##DC798E1.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)
#8A8B8F
Deuteranopia (green-blind)
#A39E8C
Tritanopia (blue-blind)
#EC7081
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #dc798e;
/* rgb */ color: rgb(220, 121, 142);
/* oklch */ color: oklch(69.1% 0.124 7.3);
Tailwind
colors: {
  custom: {
    50: '#eaa2af',
    500: '#dc798e',
    950: '#000000',
  },
}
SCSS
$custom: #dc798e;
$custom-light: #eaa2af;
$custom-dark: #000000;
JSON
{
  "hex": "#dc798e",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 347.273,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69146,
    "c": 0.12445,
    "h": 7.3
  },
  "luminance": 0.30843
}

Semantic roles & 50–950 ramp

primary
#DC798E
secondary
#C9E8E2
accent
#C6A31F
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #DC798E

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

Preview Lab → · Contrast checker → · Palette generator →

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