#DC7987#DC7987

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

Color values

HEX#DC7987
RGBrgb(220, 121, 135)
HSLhsl(352, 59%, 67%)
HSVhsv(352, 45%, 86%)
CMYKcmyk(0%, 45%, 38.6%, 13.7%)
CIE-LABlab(62.21, 39.86, 9.67)
CIE-LCHlch(62.21, 41.02, 13.64°)
OKLaboklab(68.96% 0.1208 0.0253)
OKLCHoklch(68.96% 0.123 11.8)
XYZxyz(40.7278, 30.6434, 26.6868)
Luminance0.3064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7987 #79DCCE
analogous
#DC79B9 #DC7987 #DC9D79
triadic
#DC7987 #87DC79 #7987DC
tetradic
#DC7987 #B9DC79 #79DCCE #9D79DC
square
#DC7987 #B9DC79 #79DCCE #9D79DC
split-complementary
#DC7987 #79DC9D #79B9DC
monochromatic
#AD2D3F #CF485C #DC7987 #E9AAB2 #F5DADE

Accessibility & contrast

On white

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

On black

7.13
#DC7987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7987
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7987#FFFFFF#000000##000000
##DC79871.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8B87
Deuteranopia (green-blind)
#A49E85
Tritanopia (blue-blind)
#EC6F7E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #dc7987;
/* rgb */ color: rgb(220, 121, 135);
/* oklch */ color: oklch(69.0% 0.123 11.8);
Tailwind
colors: {
  custom: {
    50: '#eaa1a9',
    500: '#dc7987',
    950: '#000000',
  },
}
SCSS
$custom: #dc7987;
$custom-light: #eaa1a9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7987",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 351.515,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68958,
    "c": 0.12343,
    "h": 11.8
  },
  "luminance": 0.3064
}

Semantic roles & 50–950 ramp

primary
#DC7987
secondary
#C9E8E4
accent
#C6AF1F
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#170F10
muted
#857F7F

Preview Lab

Preview with #DC7987

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

Preview Lab → · Contrast checker → · Palette generator →

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