#CD787F#CD787F

#CD787F is a light, moderate red. Relative luminance 0.279; OKLCH L 66.7% C 0.106 H 15.1°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#CD787F
RGBrgb(205, 120, 127)
HSLhsl(355, 46%, 64%)
HSVhsv(355, 41%, 80%)
CMYKcmyk(0%, 41.5%, 38%, 19.6%)
CIE-LABlab(59.84, 33.94, 10.64)
CIE-LCHlch(59.84, 35.57, 17.41°)
OKLaboklab(66.68% 0.1028 0.0277)
OKLCHoklch(66.68% 0.106 15.1)
XYZxyz(35.7257, 27.9474, 23.5874)
Luminance0.2794 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD787F #78CDC6
analogous
#CD78A9 #CD787F #CD9B78
triadic
#CD787F #7FCD78 #787FCD
tetradic
#CD787F #A9CD78 #78CDC6 #9B78CD
square
#CD787F #A9CD78 #78CDC6 #9B78CD
split-complementary
#CD787F #78CD9B #78A9CD
monochromatic
#94373E #BC4B55 #CD787F #DEA5A9 #EED1D4

Accessibility & contrast

On white

3.19
#CD787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#CD787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD787F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD787F#FFFFFF#000000##000000
##CD787F1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88867F
Deuteranopia (green-blind)
#9D977D
Tritanopia (blue-blind)
#DC6F7B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd787f;
/* rgb */ color: rgb(205, 120, 127);
/* oklch */ color: oklch(66.7% 0.106 15.1);
Tailwind
colors: {
  custom: {
    50: '#dfa0a4',
    500: '#cd787f',
    950: '#000000',
  },
}
SCSS
$custom: #cd787f;
$custom-light: #dfa0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd787f",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 355.059,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66684,
    "c": 0.10646,
    "h": 15.1
  },
  "luminance": 0.27944
}

Semantic roles & 50–950 ramp

primary
#CD787F
secondary
#C1DFDD
accent
#B9AE2C
background
#FEF9FA
surface
#FCF2F4
border
#D5CCCE
text
#150F0F
muted
#847E7F

Preview Lab

Preview with #CD787F

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

Preview Lab → · Contrast checker → · Palette generator →

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