#DC788E#DC788E

#DC788E is a light, vivid red. Relative luminance 0.306; OKLCH L 69.0% C 0.126 H 6.9°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#DC788E
RGBrgb(220, 120, 142)
HSLhsl(347, 59%, 67%)
HSVhsv(347, 45%, 86%)
CMYKcmyk(0%, 45.5%, 35.5%, 13.7%)
CIE-LABlab(62.17, 41.20, 5.62)
CIE-LCHlch(62.17, 41.58, 7.77°)
OKLaboklab(68.99% 0.125 0.0151)
OKLCHoklch(68.99% 0.126 6.9)
XYZxyz(41.1161, 30.6052, 29.3279)
Luminance0.3060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC788E #78DCC6
analogous
#DC78C0 #DC788E #DC9478
triadic
#DC788E #8EDC78 #788EDC
tetradic
#DC788E #C0DC78 #78DCC6 #9478DC
square
#DC788E #C0DC78 #78DCC6 #9478DC
split-complementary
#DC788E #78DC94 #78C0DC
monochromatic
#AD2D49 #CF4765 #DC788E #E9A9B7 #F5D9DF

Accessibility & contrast

On white

2.95
#DC788E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#DC788E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC788E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC788E#FFFFFF#000000##000000
##DC788E1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#898B8F
Deuteranopia (green-blind)
#A29E8C
Tritanopia (blue-blind)
#EC6F80
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #dc788e;
/* rgb */ color: rgb(220, 120, 142);
/* oklch */ color: oklch(69.0% 0.126 6.9);
Tailwind
colors: {
  custom: {
    50: '#eaa1af',
    500: '#dc788e',
    950: '#000000',
  },
}
SCSS
$custom: #dc788e;
$custom-light: #eaa1af;
$custom-dark: #000000;
JSON
{
  "hex": "#dc788e",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 142
  },
  "hsl": {
    "h": 346.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6899,
    "c": 0.12592,
    "h": 6.9
  },
  "luminance": 0.30602
}

Semantic roles & 50–950 ramp

primary
#DC788E
secondary
#C8E8E1
accent
#C6A21F
background
#FEFAFA
surface
#FDF3F4
border
#D5CDCE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #DC788E

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

Preview Lab → · Contrast checker → · Palette generator →

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