#CD787C#CD787C

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

Color values

HEX#CD787C
RGBrgb(205, 120, 124)
HSLhsl(357, 46%, 64%)
HSVhsv(357, 41%, 80%)
CMYKcmyk(0%, 41.5%, 39.5%, 19.6%)
CIE-LABlab(59.77, 33.59, 12.27)
CIE-LCHlch(59.77, 35.76, 20.07°)
OKLaboklab(66.61% 0.1016 0.0317)
OKLCHoklch(66.61% 0.106 17.3)
XYZxyz(35.5331, 27.8704, 22.5730)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD787C #78CDC9
analogous
#CD78A6 #CD787C #CD9E78
triadic
#CD787C #7CCD78 #787CCD
tetradic
#CD787C #A6CD78 #78CDC9 #9E78CD
square
#CD787C #A6CD78 #78CDC9 #9E78CD
split-complementary
#CD787C #78CD9E #78A6CD
monochromatic
#94373B #BC4B51 #CD787C #DEA5A7 #EED1D3

Accessibility & contrast

On white

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

On black

6.57
#CD787C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD787C
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD787C#FFFFFF#000000##000000
##CD787C1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867C
Deuteranopia (green-blind)
#9E967A
Tritanopia (blue-blind)
#DC6E7A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd787c;
/* rgb */ color: rgb(205, 120, 124);
/* oklch */ color: oklch(66.6% 0.106 17.3);
Tailwind
colors: {
  custom: {
    50: '#dfa0a1',
    500: '#cd787c',
    950: '#000000',
  },
}
SCSS
$custom: #cd787c;
$custom-light: #dfa0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd787c",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 357.176,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66608,
    "c": 0.10645,
    "h": 17.3
  },
  "luminance": 0.27867
}

Semantic roles & 50–950 ramp

primary
#CD787C
secondary
#C1DFDE
accent
#B9B32C
background
#FEF9F9
surface
#FCF2F2
border
#D5CCCC
text
#160F0F
muted
#847E7E

Preview Lab

Preview with #CD787C

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

Preview Lab → · Contrast checker → · Palette generator →

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