#CD787B#CD787B

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

Color values

HEX#CD787B
RGBrgb(205, 120, 123)
HSLhsl(358, 46%, 64%)
HSVhsv(358, 41%, 80%)
CMYKcmyk(0%, 41.5%, 40%, 19.6%)
CIE-LABlab(59.75, 33.48, 12.81)
CIE-LCHlch(59.75, 35.85, 20.94°)
OKLaboklab(66.58% 0.1012 0.033)
OKLCHoklch(66.58% 0.106 18.1)
XYZxyz(35.4702, 27.8452, 22.2416)
Luminance0.2784 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD787B #78CDCA
analogous
#CD78A5 #CD787B #CD9F78
triadic
#CD787B #7BCD78 #787BCD
tetradic
#CD787B #A5CD78 #78CDCA #9F78CD
square
#CD787B #A5CD78 #78CDCA #9F78CD
split-complementary
#CD787B #78CD9F #78A5CD
monochromatic
#94373A #BC4B4F #CD787B #DEA5A7 #EED1D2

Accessibility & contrast

On white

3.20
#CD787B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD787B#FFFFFF#000000##000000
##CD787B1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd787b;
/* rgb */ color: rgb(205, 120, 123);
/* oklch */ color: oklch(66.6% 0.106 18.1);
Tailwind
colors: {
  custom: {
    50: '#dfa0a1',
    500: '#cd787b',
    950: '#000000',
  },
}
SCSS
$custom: #cd787b;
$custom-light: #dfa0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd787b",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 357.882,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66583,
    "c": 0.10648,
    "h": 18.1
  },
  "luminance": 0.27842
}

Semantic roles & 50–950 ramp

primary
#CD787B
secondary
#C1DFDE
accent
#B9B42C
background
#FEF9F9
surface
#FCF2F2
border
#D5CCCC
text
#160F0E
muted
#847E7E

Preview Lab

Preview with #CD787B

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

Preview Lab → · Contrast checker → · Palette generator →

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