#DC787C#DC787C

#DC787C is a light, vivid red. Relative luminance 0.301; OKLCH L 68.5% C 0.124 H 18.3°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#DC787C
RGBrgb(220, 120, 124)
HSLhsl(358, 59%, 67%)
HSVhsv(358, 45%, 86%)
CMYKcmyk(0%, 45.5%, 43.6%, 13.7%)
CIE-LABlab(61.75, 39.18, 15.32)
CIE-LCHlch(61.75, 42.07, 21.36°)
OKLaboklab(68.53% 0.1182 0.0392)
OKLCHoklch(68.53% 0.124 18.3)
XYZxyz(39.8721, 30.1076, 22.7764)
Luminance0.3010 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC787C #78DCD8
analogous
#DC78AE #DC787C #DCA678
triadic
#DC787C #7CDC78 #787CDC
tetradic
#DC787C #AEDC78 #78DCD8 #A678DC
square
#DC787C #AEDC78 #78DCD8 #A678DC
split-complementary
#DC787C #78DCA6 #78AEDC
monochromatic
#AD2D32 #CF474D #DC787C #E9A9AB #F5D9DA

Accessibility & contrast

On white

2.99
#DC787C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#DC787C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC787C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC787C#FFFFFF#000000##000000
##DC787C1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D897C
Deuteranopia (green-blind)
#A59D7A
Tritanopia (blue-blind)
#ED6B7A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #dc787c;
/* rgb */ color: rgb(220, 120, 124);
/* oklch */ color: oklch(68.5% 0.124 18.3);
Tailwind
colors: {
  custom: {
    50: '#eaa1a1',
    500: '#dc787c',
    950: '#000000',
  },
}
SCSS
$custom: #dc787c;
$custom-light: #eaa1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc787c",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 357.6,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68526,
    "c": 0.12448,
    "h": 18.3
  },
  "luminance": 0.30104
}

Semantic roles & 50–950 ramp

primary
#DC787C
secondary
#C8E8E7
accent
#C6C01F
background
#FEFAF9
surface
#FDF3F2
border
#D5CDCC
text
#170F0F
muted
#857F7E

Preview Lab

Preview with #DC787C

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

Preview Lab → · Contrast checker → · Palette generator →

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