#DC787F#DC787F

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

Color values

HEX#DC787F
RGBrgb(220, 120, 127)
HSLhsl(356, 59%, 67%)
HSVhsv(356, 45%, 86%)
CMYKcmyk(0%, 45.5%, 42.3%, 13.7%)
CIE-LABlab(61.81, 39.49, 13.70)
CIE-LCHlch(61.81, 41.80, 19.13°)
OKLaboklab(68.6% 0.1193 0.0352)
OKLCHoklch(68.6% 0.124 16.5)
XYZxyz(40.0647, 30.1847, 23.7908)
Luminance0.3018 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC787F #78DCD5
analogous
#DC78B1 #DC787F #DCA378
triadic
#DC787F #7FDC78 #787FDC
tetradic
#DC787F #B1DC78 #78DCD5 #A378DC
square
#DC787F #B1DC78 #78DCD5 #A378DC
split-complementary
#DC787F #78DCA3 #78B1DC
monochromatic
#AD2D36 #CF4751 #DC787F #E9A9AD #F5D9DB

Accessibility & contrast

On white

2.98
#DC787F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#DC787F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC787F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC787F#FFFFFF#000000##000000
##DC787F1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc787f;
/* rgb */ color: rgb(220, 120, 127);
/* oklch */ color: oklch(68.6% 0.124 16.5);
Tailwind
colors: {
  custom: {
    50: '#eaa1a4',
    500: '#dc787f',
    950: '#000000',
  },
}
SCSS
$custom: #dc787f;
$custom-light: #eaa1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc787f",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 355.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68599,
    "c": 0.12442,
    "h": 16.5
  },
  "luminance": 0.30181
}

Semantic roles & 50–950 ramp

primary
#DC787F
secondary
#C8E8E6
accent
#C6BB1F
background
#FEFAFA
surface
#FDF3F4
border
#D5CDCE
text
#170F0F
muted
#857F7F

Preview Lab

Preview with #DC787F

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

Preview Lab → · Contrast checker → · Palette generator →

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