#DC787E#DC787E

#DC787E is a light, vivid red. Relative luminance 0.302; OKLCH L 68.6% C 0.124 H 17.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#DC787E
RGBrgb(220, 120, 126)
HSLhsl(356, 59%, 67%)
HSVhsv(356, 45%, 86%)
CMYKcmyk(0%, 45.5%, 42.7%, 13.7%)
CIE-LABlab(61.79, 39.39, 14.24)
CIE-LCHlch(61.79, 41.88, 19.88°)
OKLaboklab(68.57% 0.1189 0.0366)
OKLCHoklch(68.57% 0.124 17.1)
XYZxyz(39.9998, 30.1587, 23.4492)
Luminance0.3015 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC787E #78DCD6
analogous
#DC78B0 #DC787E #DCA478
triadic
#DC787E #7EDC78 #787EDC
tetradic
#DC787E #B0DC78 #78DCD6 #A478DC
square
#DC787E #B0DC78 #78DCD6 #A478DC
split-complementary
#DC787E #78DCA4 #78B0DC
monochromatic
#AD2D34 #CF4750 #DC787E #E9A9AC #F5D9DB

Accessibility & contrast

On white

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

On black

7.03
#DC787E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC787E
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC787E#FFFFFF#000000##000000
##DC787E1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C897E
Deuteranopia (green-blind)
#A59D7C
Tritanopia (blue-blind)
#ED6C7B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #dc787e;
/* rgb */ color: rgb(220, 120, 126);
/* oklch */ color: oklch(68.6% 0.124 17.1);
Tailwind
colors: {
  custom: {
    50: '#eaa1a3',
    500: '#dc787e',
    950: '#000000',
  },
}
SCSS
$custom: #dc787e;
$custom-light: #eaa1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc787e",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 356.4,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68574,
    "c": 0.12443,
    "h": 17.1
  },
  "luminance": 0.30155
}

Semantic roles & 50–950 ramp

primary
#DC787E
secondary
#C8E8E6
accent
#C6BC1F
background
#FEFAFA
surface
#FDF3F3
border
#D5CDCD
text
#170F0F
muted
#857F7F

Preview Lab

Preview with #DC787E

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

Preview Lab → · Contrast checker → · Palette generator →

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