#DC787D#DC787D

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

Color values

HEX#DC787D
RGBrgb(220, 120, 125)
HSLhsl(357, 59%, 67%)
HSVhsv(357, 45%, 86%)
CMYKcmyk(0%, 45.5%, 43.2%, 13.7%)
CIE-LABlab(61.77, 39.28, 14.78)
CIE-LCHlch(61.77, 41.97, 20.62°)
OKLaboklab(68.55% 0.1186 0.0379)
OKLCHoklch(68.55% 0.124 17.7)
XYZxyz(39.9356, 30.1331, 23.1111)
Luminance0.3013 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC787D #78DCD7
analogous
#DC78AF #DC787D #DCA578
triadic
#DC787D #7DDC78 #787DDC
tetradic
#DC787D #AFDC78 #78DCD7 #A578DC
square
#DC787D #AFDC78 #78DCD7 #A578DC
split-complementary
#DC787D #78DCA5 #78AFDC
monochromatic
#AD2D33 #CF474E #DC787D #E9A9AC #F5D9DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC787D#FFFFFF#000000##000000
##DC787D1.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)
#8D897D
Deuteranopia (green-blind)
#A59D7B
Tritanopia (blue-blind)
#ED6C7A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #dc787d;
/* rgb */ color: rgb(220, 120, 125);
/* oklch */ color: oklch(68.5% 0.124 17.7);
Tailwind
colors: {
  custom: {
    50: '#eaa1a2',
    500: '#dc787d',
    950: '#000000',
  },
}
SCSS
$custom: #dc787d;
$custom-light: #eaa1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc787d",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 357,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6855,
    "c": 0.12445,
    "h": 17.7
  },
  "luminance": 0.30129
}

Semantic roles & 50–950 ramp

primary
#DC787D
secondary
#C8E8E6
accent
#C6BE1F
background
#FEFAF9
surface
#FDF3F2
border
#D5CDCC
text
#170F0F
muted
#857F7E

Preview Lab

Preview with #DC787D

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

Preview Lab → · Contrast checker → · Palette generator →

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