#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 |
|---|---|
| RGB | rgb(205, 120, 124) |
| HSL | hsl(357, 46%, 64%) |
| HSV | hsv(357, 41%, 80%) |
| CMYK | cmyk(0%, 41.5%, 39.5%, 19.6%) |
| CIE-LAB | lab(59.77, 33.59, 12.27) |
| CIE-LCH | lch(59.77, 35.76, 20.07°) |
| OKLab | oklab(66.61% 0.1016 0.0317) |
| OKLCH | oklch(66.61% 0.106 17.3) |
| XYZ | xyz(35.5331, 27.8704, 22.5730) |
| Luminance | 0.2787 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 1.30
Dusty Rose
#C0737A
ΔE00 3.18
Ugly Pink
#CD7584
ΔE00 3.70
Old Rose
#C87F89
ΔE00 3.80
Old Pink
#C77986
ΔE00 3.86
Brownish Pink
#C27E79
ΔE00 4.13
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 |
|---|---|---|---|---|
| ##CD787C | 1.00 | 3.19 | 6.57 | 6.57 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.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