#DC787B#DC787B

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

Color values

HEX#DC787B
RGBrgb(220, 120, 123)
HSLhsl(358, 59%, 67%)
HSVhsv(358, 45%, 86%)
CMYKcmyk(0%, 45.5%, 44.1%, 13.7%)
CIE-LABlab(61.73, 39.07, 15.86)
CIE-LCHlch(61.73, 42.17, 22.10°)
OKLaboklab(68.5% 0.1178 0.0405)
OKLCHoklch(68.5% 0.125 19)
XYZxyz(39.8092, 30.0825, 22.4450)
Luminance0.3008 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC787B #78DCD9
analogous
#DC78AD #DC787B #DCA778
triadic
#DC787B #7BDC78 #787BDC
tetradic
#DC787B #ADDC78 #78DCD9 #A778DC
square
#DC787B #ADDC78 #78DCD9 #A778DC
split-complementary
#DC787B #78DCA7 #78ADDC
monochromatic
#AD2D31 #CF474B #DC787B #E9A9AB #F5D9DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC787B#FFFFFF#000000##000000
##DC787B1.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)
#8D897B
Deuteranopia (green-blind)
#A69D79
Tritanopia (blue-blind)
#ED6B7A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #dc787b;
/* rgb */ color: rgb(220, 120, 123);
/* oklch */ color: oklch(68.5% 0.125 19.0);
Tailwind
colors: {
  custom: {
    50: '#eaa1a1',
    500: '#dc787b',
    950: '#000000',
  },
}
SCSS
$custom: #dc787b;
$custom-light: #eaa1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc787b",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 358.2,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68503,
    "c": 0.12453,
    "h": 19
  },
  "luminance": 0.30079
}

Semantic roles & 50–950 ramp

primary
#DC787B
secondary
#C8E8E7
accent
#C6C11F
background
#FEFAF9
surface
#FDF3F2
border
#D5CDCC
text
#170F0E
muted
#857F7E

Preview Lab

Preview with #DC787B

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

Preview Lab → · Contrast checker → · Palette generator →

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