#DC798D#DC798D

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

Color values

HEX#DC798D
RGBrgb(220, 121, 141)
HSLhsl(348, 59%, 67%)
HSVhsv(348, 45%, 86%)
CMYKcmyk(0%, 45%, 35.9%, 13.7%)
CIE-LABlab(62.35, 40.56, 6.45)
CIE-LCHlch(62.35, 41.07, 9.03°)
OKLaboklab(69.12% 0.1231 0.0172)
OKLCHoklch(69.12% 0.124 7.9)
XYZxyz(41.1622, 30.8171, 28.9746)
Luminance0.3081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC798D #79DCC8
analogous
#DC79BF #DC798D #DC9779
triadic
#DC798D #8DDC79 #798DDC
tetradic
#DC798D #BFDC79 #79DCC8 #9779DC
square
#DC798D #BFDC79 #79DCC8 #9779DC
split-complementary
#DC798D #79DC97 #79BFDC
monochromatic
#AD2D47 #CF4864 #DC798D #E9AAB6 #F5DAE0

Accessibility & contrast

On white

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

On black

7.16
#DC798D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC798D
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC798D#FFFFFF#000000##000000
##DC798D1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8B8D
Deuteranopia (green-blind)
#A39E8B
Tritanopia (blue-blind)
#EC7080
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #dc798d;
/* rgb */ color: rgb(220, 121, 141);
/* oklch */ color: oklch(69.1% 0.124 7.9);
Tailwind
colors: {
  custom: {
    50: '#eaa2ae',
    500: '#dc798d',
    950: '#000000',
  },
}
SCSS
$custom: #dc798d;
$custom-light: #eaa2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dc798d",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 347.879,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69118,
    "c": 0.12426,
    "h": 7.9
  },
  "luminance": 0.30813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC798D

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

Preview Lab → · Contrast checker → · Palette generator →

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