#CD787E#CD787E

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

Color values

HEX#CD787E
RGBrgb(205, 120, 126)
HSLhsl(356, 46%, 64%)
HSVhsv(356, 41%, 80%)
CMYKcmyk(0%, 41.5%, 38.5%, 19.6%)
CIE-LABlab(59.82, 33.82, 11.19)
CIE-LCHlch(59.82, 35.63, 18.30°)
OKLaboklab(66.66% 0.1024 0.029)
OKLCHoklch(66.66% 0.106 15.8)
XYZxyz(35.6609, 27.9215, 23.2458)
Luminance0.2792 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD787E #78CDC7
analogous
#CD78A8 #CD787E #CD9C78
triadic
#CD787E #7ECD78 #787ECD
tetradic
#CD787E #A8CD78 #78CDC7 #9C78CD
square
#CD787E #A8CD78 #78CDC7 #9C78CD
split-complementary
#CD787E #78CD9C #78A8CD
monochromatic
#94373D #BC4B53 #CD787E #DEA5A9 #EED1D3

Accessibility & contrast

On white

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

On black

6.58
#CD787E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD787E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD787E#FFFFFF#000000##000000
##CD787E1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88867E
Deuteranopia (green-blind)
#9D967C
Tritanopia (blue-blind)
#DC6F7A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd787e;
/* rgb */ color: rgb(205, 120, 126);
/* oklch */ color: oklch(66.7% 0.106 15.8);
Tailwind
colors: {
  custom: {
    50: '#dfa0a3',
    500: '#cd787e',
    950: '#000000',
  },
}
SCSS
$custom: #cd787e;
$custom-light: #dfa0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd787e",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 355.765,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66658,
    "c": 0.10644,
    "h": 15.8
  },
  "luminance": 0.27918
}

Semantic roles & 50–950 ramp

primary
#CD787E
secondary
#C1DFDD
accent
#B9AF2C
background
#FEF9FA
surface
#FCF2F3
border
#D5CCCD
text
#150F0F
muted
#847E7F

Preview Lab

Preview with #CD787E

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

Preview Lab → · Contrast checker → · Palette generator →

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