#DC798F#DC798F

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

Color values

HEX#DC798F
RGBrgb(220, 121, 143)
HSLhsl(347, 59%, 67%)
HSVhsv(347, 45%, 86%)
CMYKcmyk(0%, 45%, 35%, 13.7%)
CIE-LABlab(62.40, 40.80, 5.38)
CIE-LCHlch(62.40, 41.15, 7.51°)
OKLaboklab(69.17% 0.1238 0.0145)
OKLCHoklch(69.17% 0.125 6.7)
XYZxyz(41.3124, 30.8772, 29.7654)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC798F #79DCC6
analogous
#DC79C0 #DC798F #DC9579
triadic
#DC798F #8FDC79 #798FDC
tetradic
#DC798F #C0DC79 #79DCC6 #9579DC
square
#DC798F #C0DC79 #79DCC6 #9579DC
split-complementary
#DC798F #79DC95 #79C0DC
monochromatic
#AD2D4A #CF4866 #DC798F #E9AAB8 #F5DAE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC798F#FFFFFF#000000##000000
##DC798F1.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)
#8A8B90
Deuteranopia (green-blind)
#A39E8D
Tritanopia (blue-blind)
#EC7081
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #dc798f;
/* rgb */ color: rgb(220, 121, 143);
/* oklch */ color: oklch(69.2% 0.125 6.7);
Tailwind
colors: {
  custom: {
    50: '#eaa2af',
    500: '#dc798f',
    950: '#000000',
  },
}
SCSS
$custom: #dc798f;
$custom-light: #eaa2af;
$custom-dark: #000000;
JSON
{
  "hex": "#dc798f",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 346.667,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69173,
    "c": 0.12465,
    "h": 6.7
  },
  "luminance": 0.30874
}

Semantic roles & 50–950 ramp

primary
#DC798F
secondary
#C9E8E1
accent
#C6A11F
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #DC798F

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

Preview Lab → · Contrast checker → · Palette generator →

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