#D2787F#D2787F

#D2787F is a light, moderate red. Relative luminance 0.287; OKLCH L 67.3% C 0.112 H 15.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#D2787F
RGBrgb(210, 120, 127)
HSLhsl(355, 50%, 65%)
HSVhsv(355, 43%, 82%)
CMYKcmyk(0%, 42.9%, 39.5%, 17.6%)
CIE-LABlab(60.49, 35.81, 11.65)
CIE-LCHlch(60.49, 37.65, 18.02°)
OKLaboklab(67.32% 0.1084 0.0302)
OKLCHoklch(67.32% 0.112 15.6)
XYZxyz(37.1274, 28.6702, 23.6531)
Luminance0.2867 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2787F #78D2CB
analogous
#D278AC #D2787F #D29E78
triadic
#D2787F #7FD278 #787FD2
tetradic
#D2787F #ACD278 #78D2CB #9E78D2
square
#D2787F #ACD278 #78D2CB #9E78D2
split-complementary
#D2787F #78D29E #78ACD2
monochromatic
#9C343C #C34A53 #D2787F #E1A6AB #F1D4D6

Accessibility & contrast

On white

3.12
#D2787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#D2787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2787F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2787F#FFFFFF#000000##000000
##D2787F1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A877F
Deuteranopia (green-blind)
#A0997D
Tritanopia (blue-blind)
#E26E7B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d2787f;
/* rgb */ color: rgb(210, 120, 127);
/* oklch */ color: oklch(67.3% 0.112 15.6);
Tailwind
colors: {
  custom: {
    50: '#e3a0a4',
    500: '#d2787f',
    950: '#000000',
  },
}
SCSS
$custom: #d2787f;
$custom-light: #e3a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2787f",
  "rgb": {
    "r": 210,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 355.333,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67315,
    "c": 0.11248,
    "h": 15.6
  },
  "luminance": 0.28667
}

Semantic roles & 50–950 ramp

primary
#D2787F
secondary
#C3E2E0
accent
#BDB228
background
#FEFAFA
surface
#FCF3F4
border
#D5CDCE
text
#160F0F
muted
#847F7F

Preview Lab

Preview with #D2787F

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

Preview Lab → · Contrast checker → · Palette generator →

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