#DF7987#DF7987

#DF7987 is a light, vivid red. Relative luminance 0.311; OKLCH L 69.3% C 0.127 H 12.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#DF7987
RGBrgb(223, 121, 135)
HSLhsl(352, 61%, 67%)
HSVhsv(352, 46%, 87%)
CMYKcmyk(0%, 45.7%, 39.5%, 12.5%)
CIE-LABlab(62.61, 40.94, 10.30)
CIE-LCHlch(62.61, 42.22, 14.12°)
OKLaboklab(69.34% 0.1241 0.0269)
OKLCHoklch(69.34% 0.127 12.2)
XYZxyz(41.6442, 31.1158, 26.7297)
Luminance0.3111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7987 #79DFD1
analogous
#DF79BA #DF7987 #DF9E79
triadic
#DF7987 #87DF79 #7987DF
tetradic
#DF7987 #BADF79 #79DFD1 #9E79DF
square
#DF7987 #BADF79 #79DFD1 #9E79DF
split-complementary
#DF7987 #79DF9E #79BADF
monochromatic
#B32B3D #D3485B #DF7987 #EBAAB3 #F7DCDF

Accessibility & contrast

On white

2.91
#DF7987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#DF7987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7987
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7987#FFFFFF#000000##000000
##DF79871.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8B87
Deuteranopia (green-blind)
#A69F85
Tritanopia (blue-blind)
#F06E7E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #df7987;
/* rgb */ color: rgb(223, 121, 135);
/* oklch */ color: oklch(69.3% 0.127 12.2);
Tailwind
colors: {
  custom: {
    50: '#eca2a9',
    500: '#df7987',
    950: '#000000',
  },
}
SCSS
$custom: #df7987;
$custom-light: #eca2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#df7987",
  "rgb": {
    "r": 223,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 351.765,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69344,
    "c": 0.12693,
    "h": 12.2
  },
  "luminance": 0.31112
}

Semantic roles & 50–950 ramp

primary
#DF7987
secondary
#CAEAE5
accent
#C9B11C
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#170F10
muted
#857F7F

Preview Lab

Preview with #DF7987

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

Preview Lab → · Contrast checker → · Palette generator →

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